Created
February 27, 2023 14:35
-
-
Save dirkmueller/bb74ec6292cf62f17283dd1829de73b9 to your computer and use it in GitHub Desktop.
Frankenclaps
This file contains hidden or 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
# Welcome to Sonic Pi | |
path = "/home/dirk/src/tmp/sounds/samples/frankencampus/" | |
use_bpm 84 | |
if true then | |
sample "#{path}/door_bikeshed_close.wav", pan: 1 | |
sleep 3 | |
sample "#{path}/door_bikeshed_lock.wav", pan: 0 | |
sleep 2 | |
sample "#{path}/door_elevator_open.wav", pan: 0 | |
sleep 2 | |
sample "#{path}/door_elevator_close.wav", pan: 0 | |
sleep 7 | |
end | |
sample "#{path}/door_main_area_close.wav", pan: 0 | |
sleep 2 | |
sample "#{path}/door_opener_triple.wav", pan: 0 | |
if true then | |
live_loop :hats do | |
with_fx :reverb, room: rrand(0.1, 0.3) do | |
sample "#{path}/door_opener_triple.wav", amp: 0.8 | |
sleep 0.5 | |
sample "#{path}/door_opener_single.wav", amp: 0.8 | |
sleep 0.5 | |
sample "#{path}/door_opener_single.wav", amp: 0.8 | |
sleep 0.5 | |
sample "#{path}/door_opener_single.wav", amp: 0.8 | |
sleep 0.5 | |
end | |
end | |
end | |
define :snare do | |
sample "#{path}/door_main_area_open.wav", amp: 1 | |
end | |
define :kick do | |
sample "#{path}/door_main_area_close.wav", amp: 1 | |
end | |
live_loop :drums do | |
with_fx :reverb, room: rrand(0.5, 0.8) do | |
kick | |
sleep 1 | |
snare | |
sleep 1 | |
sleep 0.05 | |
sample :drum_heavy_kick, amp: 0.5 | |
sleep 0.2 | |
kick | |
sleep 0.75 | |
snare | |
sleep 1 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment