Tune ohne GPS Satteliten verändert.
This commit is contained in:
parent
ff1301b9ee
commit
c892f67415
2 changed files with 25 additions and 16 deletions
BIN
custom_wav/acquiring_signal.wav
Normal file
BIN
custom_wav/acquiring_signal.wav
Normal file
Binary file not shown.
|
@ -116,23 +116,32 @@ load_sample :bd_haus
|
||||||
|
|
||||||
define :playSatelliteCount do
|
define :playSatelliteCount do
|
||||||
# More satellites, more thumps, so we can hear the process of acquisition
|
# More satellites, more thumps, so we can hear the process of acquisition
|
||||||
|
use_synth :noise
|
||||||
i = 0
|
i = 0
|
||||||
print ":playSatelliteCount"
|
print ":playSatelliteCount"
|
||||||
4.times do
|
sample "~/world-o-techno/custom_wav/acquiring_signal.wav"
|
||||||
|
16.times do
|
||||||
c = gpsSatelliteCount()
|
c = gpsSatelliteCount()
|
||||||
if i == 0
|
if i == 8
|
||||||
|
sample "~/world-o-techno/custom_wav/acquiring_signal.wav", start: 0.6
|
||||||
|
end
|
||||||
|
if [4,6,10,12].include? i
|
||||||
|
sample "~/world-o-techno/custom_wav/acquiring_signal.wav", start: 0.6, end: 0.61, attack: 0, release: 0, sustain: 0.18
|
||||||
|
end
|
||||||
|
if i % 4 == 0
|
||||||
sample :bd_boom, amp:10
|
sample :bd_boom, amp:10
|
||||||
else
|
else
|
||||||
if i <= c
|
if i <= c
|
||||||
sample :bd_fat, amp: 6
|
sample :bd_fat, amp: 6
|
||||||
else
|
else
|
||||||
sample :bd_haus, amp: 1
|
sample :bd_haus, amp: 1
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
i = i+1
|
i = i+1
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue