Created
May 8, 2020 19:02
-
-
Save technicalpickles/3c3551ea472ab0ecee7258e3d6844f12 to your computer and use it in GitHub Desktop.
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
# Using Sonic-Pi | |
samps = "/Users/technicalpickles/Dropbox/sonicpi-samples/" | |
##| use_bpm 120 | |
define :mario_waha do |options={}| | |
options ||= {} | |
sample samps, "mlpit_mario_waha.wav", options | |
end | |
live_loop :mhmm do | |
sample samps, "fart-2.wav", rate: 1 | |
sleep 0.25 | |
sample samps, "fart-2.wav", rate: 1 | |
sleep 0.25 | |
##| sample samps, "fart-2.wav", rate: 2 | |
##| sleep 0.25 | |
# 0.415 | |
sample samps, "fart-2.wav", rate: 0.5 | |
sleep 0.5 | |
# sleep 2-sample_duration(samps, fart05)*2 | |
end | |
live_loop :mario do | |
mario = choose(%w(sm64_boo.wav mlpit_mario_mhmm.wav sm64_mario_hurt.wav)) | |
sample "#{samps}/#{mario}", rate: choose([0.5, 1.5, 1]) | |
##| mario_waha rate: choose([0.5, 1.5, 1]) | |
##| sample samps, "mlpit_mario_waha.wav", rate: choose([0.5, 1.5, 1]) | |
sleep 3 | |
end | |
live_loop :yoshi do | |
sync :mario | |
sleep 1 | |
sample "#{samps}/sm64_yoshi.wav" | |
sleep 2 | |
end | |
live_loop :boo_laugh do | |
sample "#{samps}/sm64_boo.wav", rate: choose([0.5, 1]) | |
sleep 1 | |
end | |
live_loop :hihat do | |
sleep 0.25 | |
sample :drum_cymbal_closed | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment