Created
June 7, 2021 02:12
-
-
Save funkymonkeymonk/b1f7e7d3d124a25427263f7bcd8b94bc to your computer and use it in GitHub Desktop.
My First Attempt at Algo Jazz
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
live_loop :jazz_cymbal do | |
sample :drum_cymbal_open, sustain: 0.5, release: 0.1 | |
sleep 0.5 | |
sample :drum_cymbal_open, attack: 0.01, sustain: 0, release: 0.1 | |
sleep 0.3 | |
sample :drum_cymbal_open, attack: 0.01, sustain: 0, release: 0.1 | |
sleep 0.2 | |
end | |
live_loop :baseline do | |
sync :jazz_cymbal | |
progression_251 = (ring | |
chord(:D2, :minor7), | |
chord(:G2, :major), | |
chord(:C2, :major7), | |
chord(:Cb2, :major) | |
) | |
play progression_251.tick(:current_chord) | |
sleep 1 | |
end | |
live_loop :ambient do | |
sync :jazz_cymbal | |
progression_251 = (ring | |
chord(:D3, :minor7), | |
chord(:G3, :major), | |
chord(:C3, :major7), | |
chord(:Cb3, :major) | |
) | |
play choose(choose(progression_251)) | |
sleep 0.5 | |
play choose(choose(progression_251)) | |
sleep 0.5 | |
end | |
live_loop :harmony do | |
sync :jazz_cymbal | |
progression_251 = (ring | |
chord(:D3, :minor7), | |
chord(:G3, :major), | |
chord(:C3, :major7), | |
chord(:Cb3, :major) | |
) | |
play choose(choose(progression_251)) | |
sleep 0.25 | |
play choose(choose(progression_251)) | |
sleep 0.5 | |
play choose(choose(progression_251)) | |
sleep 0.25 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment