Tune ohne GPS Satteliten verändert.

This commit is contained in:
Michael 2019-09-04 22:55:40 +02:00
parent ff1301b9ee
commit c892f67415
2 changed files with 25 additions and 16 deletions

Binary file not shown.

View File

@ -116,23 +116,32 @@ load_sample :bd_haus
define :playSatelliteCount do
# More satellites, more thumps, so we can hear the process of acquisition
i = 0
print ":playSatelliteCount"
4.times do
c = gpsSatelliteCount()
if i == 0
sample :bd_boom, amp:10
else
if i <= c
sample :bd_fat, amp: 6
else
sample :bd_haus, amp: 1
end
end
sleep 0.5
i = i+1
use_synth :noise
i = 0
print ":playSatelliteCount"
sample "~/world-o-techno/custom_wav/acquiring_signal.wav"
16.times do
c = gpsSatelliteCount()
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
else
if i <= c
sample :bd_fat, amp: 6
else
sample :bd_haus, amp: 1
end
end
sleep 0.5
i = i+1
end
end