-
-
Save shivioua/7965854d2e4f32f2670debef5f1be330 to your computer and use it in GitHub Desktop.
Count on me supersaw
This file contains 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
# :saws live loop written by @pjagielski, | |
# but I couldn't hold back to play with it! | |
# soundcloud: https://soundcloud.com/hopbit/live-coding-session-2016-05-14-count-on-me | |
use_bpm 130 | |
set_volume! 1 | |
ch1 = [62,65,69] | |
ch2 = [63,67,70] | |
ch3 = [65,69,72] | |
ch4 = [67,70,74] | |
live_loop :saws do | |
use_synth :supersaw | |
##| with_fx :wobble, phase: 0.75 do | |
with_synth_defaults sustain_level: 0.75, release: 1.25, cutoff: 130, amp: 1.5 do | |
play_pattern_timed [ch1, ch1, ch2, ch2, ch2, ch2, ch2, ch3, ch3, ch4, ch4], | |
[1, 0.75, 0.75, 1, 0.5, 1, 0.75, 0.75, 0.5, 0.5, 0.5] | |
end | |
##| end | |
end | |
live_loop :beats do | |
stop | |
sync :saws | |
stretch_val = 4 | |
##| with_fx :ixi_techno, phase: 0.25, mix: 0.35 do | |
2.times do | |
sample :loop_amen, beat_stretch: stretch_val | |
sleep stretch_val | |
end | |
##| end | |
end | |
notes = ch1 + ch2 + ch3 + ch4 | |
live_loop :background do | |
stop | |
sync :saws | |
use_synth :chiplead | |
with_fx :echo, phase: 0.25 do | |
32.times do | |
play notes.choose, release: 0.125, amp: 0.35, cutoff: 70 | |
sleep 0.25 | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment