-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
205 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+2.34 MB
291/Polish Spy Numbers Station 10.33Mhz ~ 03⧸10⧸2019 ~ Shortwave Radio [TRVVNBIYcAc].opus
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
This font is made by APlaPi. | ||
You MUST NOT sell, rent, license or redistribute the font without my explicit permission. | ||
If you need a license feel free to ask. For any other information e-mail me at [email protected] | ||
|
||
- -- Donations will be welcome and very much appreciated. -- - | ||
|
||
Thank you | ||
APlaPi |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>catskills radio</title> | ||
<script src="../lib/p5.min.js"></script> | ||
<script src="../lib/addons/p5.sound.min.js"></script> | ||
<script src="../lib/addons/p5.play.js"></script> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
<body> | ||
|
||
|
||
<script src="sketch.js"></script> | ||
<img id='tuner1' src='snd/knob.png' alt='radio power button'> | ||
<img id='tuner2' src='snd/knob.png' alt='radio power button'> | ||
<img id='tuner3' src='snd/knob.png' alt='radio power button'> | ||
<img id='autoplay' src='snd/button-off.png' alt='autoplay button'> | ||
<p id='channel1'>Chants Yiddish de Russie - Melodia / Le Chant Du Monde</p> | ||
<p id='channel2'>Polish numbers station 10.33Mhz 03/10/2019</p> | ||
<p id='channel3'>Polish Farm - Konarzyce, Powiat Śremski, Greater Poland Voivodeship, Poland </p> | ||
<p></p> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
let crackle, radio_static, songs, polish, farm | ||
let started = false | ||
let radio_image | ||
let depressed = false | ||
function preload() { | ||
crackle=loadSound("crackle.mp3") | ||
radio_static=loadSound("static.mp3") | ||
songs=loadSound("yiddish-songs.mp3") | ||
polish=loadSound("polish.mp3") | ||
farm=loadSound("farm.mp3") | ||
} | ||
|
||
function setup() { | ||
createCanvas(windowWidth, windowHeight) | ||
textFont('serif') | ||
songs.playMode('restart'); | ||
polish.playMode('restart'); | ||
farm.playMode('restart'); | ||
|
||
select('#autoplay').mouseClicked(selfPlay) | ||
select('#tuner1').mouseClicked(dial1) | ||
select('#tuner2').mouseClicked(dial2) | ||
select('#tuner3').mouseClicked(dial3) | ||
} | ||
|
||
function draw() { | ||
if (!started){ | ||
fill(255,20) | ||
} else { | ||
background(0); | ||
} | ||
|
||
} | ||
|
||
function changeAll() { | ||
crackle.loop() | ||
radio_static.loop() | ||
songs.play() | ||
polish.play() | ||
farm.play() | ||
let songsvol = random() | ||
songs.setVolume(songsvol) | ||
let polvol = random() | ||
polish.setVolume(polvol) | ||
let farmvol = random() | ||
farm.setVolume(farmvol) | ||
|
||
let startpoint = random(songs.duration()) | ||
let songlength = songs.duration() - startpoint | ||
songs.jump(startpoint,songlength) | ||
|
||
let polishstart=random(polish.duration()) | ||
let polishlength=polish.duration() - polishstart | ||
polish.jump(polishstart,polishlength) | ||
|
||
let farmstart=random(farm.duration()) | ||
let farmlength = farm.duration() - farmstart | ||
farm.jump(farmstart,farmlength) | ||
|
||
started = true | ||
|
||
select('#tuner1').attribute('src','snd/knob.png').style('transform', 'rotate('+random(-75,75)+'deg'); | ||
select('#tuner2').attribute('src','snd/knob.png').style('transform', 'rotate('+random(-75,75)+'deg'); | ||
select('#tuner3').attribute('src','snd/knob.png').style('transform', 'rotate('+random(-75,75)+'deg'); | ||
|
||
select('#channel1').style('opacity',songsvol) | ||
select('#channel2').style('opacity',polvol) | ||
select('#channel3').style('opacity',farmvol) | ||
} | ||
|
||
function dial1(){ | ||
songs.play() | ||
let songsvol = random() | ||
songs.setVolume(songsvol) | ||
|
||
let startpoint = random(songs.duration()) | ||
let songlength = songs.duration() - startpoint | ||
songs.jump(startpoint,songlength) | ||
|
||
select('#tuner1').attribute('src','snd/knob.png').style('transform', 'rotate('+random(-75,75)+'deg'); | ||
select('#channel1').style('opacity',songsvol) | ||
} | ||
function dial2(){ | ||
polish.play() | ||
let polvol = random() | ||
polish.setVolume(polvol) | ||
|
||
let polishstart=random(polish.duration()) | ||
let polishlength=polish.duration() - polishstart | ||
polish.jump(polishstart,polishlength) | ||
|
||
select('#tuner2').attribute('src','snd/knob.png').style('transform', 'rotate('+random(-75,75)+'deg'); | ||
select('#channel2').style('opacity',polvol) | ||
} | ||
function dial3(){ | ||
farm.play() | ||
let farmvol = random() | ||
farm.setVolume(farmvol) | ||
|
||
let farmstart=random(farm.duration()) | ||
let farmlength = farm.duration() - farmstart | ||
farm.jump(farmstart,farmlength) | ||
|
||
select('#tuner3').attribute('src','snd/knob.png').style('transform', 'rotate('+random(-75,75)+'deg'); | ||
select('#channel3').style('opacity',farmvol) | ||
} | ||
|
||
function selfPlay(){ | ||
if (!(depressed)){ | ||
select('#autoplay').attribute('src','snd/button-on.png') | ||
dial1() | ||
dial2() | ||
dial3() | ||
} else { | ||
select('#autoplay').attribute('src','snd/button-off.png') | ||
songs.stop() | ||
polish.stop() | ||
farm.stop() | ||
songsvol = 0; | ||
polvol = 0; | ||
farmvol = 0; | ||
|
||
select('#channel1').style('opacity',farmvol) | ||
select('#channel2').style('opacity',farmvol) | ||
select('#channel3').style('opacity',farmvol) | ||
} | ||
depressed=!depressed | ||
} | ||
|
||
function windowResized() { | ||
resizeCanvas(windowWidth, windowHeight) | ||
} | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Konarzyce, Powiat Śremski, Greater Poland Voivodeship, Poland 495543__be_a_hero_not_a_patriot__farm-ext-footsteps-in-bg-chicken-hen-birds-sparrow-pigeon-cuckoo-flies-medium-wind-late-spring-poland.wav from freesound https://freesound.org/people/be_a_hero_not_a_patriot/sounds/495543/ CC0 | ||
|
||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
@font-face { | ||
font-family: avalanche; | ||
src: url(fonts/avalanche.otf); | ||
} | ||
p { | ||
font-family: avalanche; | ||
font-size: large; | ||
} | ||
html, body { | ||
margin: 0; | ||
padding: 0; | ||
background-color: black; | ||
} | ||
p,h1,h2,h3 { | ||
color: lightgrey; | ||
opacity: 0.2; | ||
margin: 2em; | ||
} | ||
canvas { | ||
z-index: -10; | ||
display: block; | ||
position: absolute; | ||
top: 0px; | ||
left: 0px; | ||
} | ||
#player { | ||
opacity: 0.01; | ||
width: 100vw; | ||
height: 100vh; | ||
} | ||
#tuner1, #tuner2, #tuner3 { | ||
z-index: 10; | ||
min-width: 200px; | ||
min-height: 200px; | ||
width: 10vmin; | ||
height: 10vmin; | ||
} |
Binary file not shown.