caa-game/res/sounds/ruby/obtain.rb

24 lines
421 B
Ruby
Raw Normal View History

# Welcome to Sonic Pi
use_synth :subpulse
s = 60
with_fx :reverb do
with_fx :echo, mix: 0.5, phase: 0.05, decay: 0.2 do
with_fx :sound_out_stereo do
5.times do
play s, release: 0.2
sample :elec_ping, release: 0.3
sample :tabla_tun1, finish: 0.1, release: 0.1, amp: 0.25
s = s + 5
sleep 0.2
end
end
end
end