/usr/share/sonic-pi/examples/illusionist/jungle.rb is in sonic-pi-server 2.10.0~repack-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # Coded by Sam Aaron
use_bpm 50
with_fx :lpf, cutoff: 90 do
with_fx :reverb, mix: 0.5 do
with_fx :compressor, pre_amp: 40 do
with_fx :distortion, distort: 0.4 do
live_loop :jungle do
use_random_seed 667
4.times do
sample :loop_amen, beat_stretch: 1, rate: [1, 1, 1, -1].choose / 2.0, finish: 0.5, amp: 0.5
sample :loop_amen, beat_stretch: 1
sleep 1
end
end
end
end
end
end
|