Last active
July 11, 2020 07:35
-
-
Save nischalshrestha/bce4194085d16ce19427a188f5305c52 to your computer and use it in GitHub Desktop.
Sonic Pi Horror
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
# lfo for sines | |
lfo0 = (range 0, 2, 0.25).mirror | |
lfo1 = (range 0, 1, 0.025).mirror | |
# lfo for panning | |
lfo2 = (range -1, 1, 0.125).mirror | |
# lfos for bd_haus (dark-side of the beat) | |
lfo3 = (range 0.25, 0.5, 0.025).mirror | |
lfo4 = (range 0.5, 3, 0.125).mirror | |
# let's get wonky with it! slow, slow, slow steps | |
lfo5 = (range 1, 8, 0.005).mirror | |
time = 1 | |
# /ᐠ。▿。ᐟ\*ᵖᵘʳʳ* (horror edition) | |
with_fx :reverb, room: 0.8 do | |
live_loop :purr_horror_drum do | |
sample :bd_haus, amp: lfo0.tick, attack: 0, rate: lfo3.look | |
sample :bd_haus, amp: 0, attack: 0.2, rate: lfo4.look | |
sample :drum_cymbal_closed, amp: 0, rate: lfo5.look | |
sample :drum_cymbal_hard, amp: 0, rate: lfo5.look | |
sleep time | |
end | |
live_loop :purr_horror_synth do | |
with_synth :saw do | |
play :c1, amp: lfo0.tick, attack: 0 | |
##|play :c2, amp: lfo1.look, attack: 0 | |
##|play :f4, amp: lfo0.look, pan: lfo2.look, release: 0.1 | |
##|play :c6, amp: lfo0.look, pan: lfo2.look, release: 0.1 | |
end | |
sleep time | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment