Last active
February 26, 2023 22:19
-
-
Save dirkmueller/534e201d54d322a9a742ca9adfe14e7d to your computer and use it in GitHub Desktop.
crazy melodia - sonic pi
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
use_bpm 92 | |
if true then | |
live_loop :kick do | |
sample :bd_haus | |
sleep 1 | |
end | |
end | |
if true then | |
live_loop :hihats do | |
sleep 0.5 | |
with_fx :reverb, mix: 0.3 do | |
3.times do | |
sample :drum_cymbal_closed, rate: 1.5, vol: rrand(0.3, 0.7) | |
sleep 0.5 | |
end | |
sample :perc_snap , rate: 2, vol: rrand(0.1, 0.3) | |
end | |
end | |
end | |
if true then | |
live_loop :melodia do | |
with_fx :reverb, mix: 0.4, room: 0.3 do | |
# use_synth :tb303 | |
# play chord(:E4, :minor7), release: 3, amp: 1.5 | |
use_synth :tech_saws | |
play_pattern_timed chord(:E3, :minor7), 0.25, pan: rrand(-1, 0), release: 0.1 | |
play_pattern_timed chord(:C4, :major7), 0.25, pan: rrand(0, 1), release: 0.1 | |
play_pattern_timed chord(:E5, :minor7), 0.25, pan: rrand(-1, 0), release: 0.5 | |
play_pattern_timed chord(:C6, :major7), 0.25, pan: rrand(-0.5, 0.5), release: 0.5 | |
# use_synth :tb303 | |
# play chord(:C4, :major7), release: 3, amp: 1.5 | |
use_synth :supersaw | |
play_pattern_timed chord(:C3, :major7), 0.25, pan: rrand(0, 1), release: 0.1 | |
play_pattern_timed chord(:E4, :minor7), 0.25, pan: rrand(-1, 0), release: 0.1 | |
play_pattern_timed chord(:C5, :major7), 0.25, pan: rrand(0, 1), release: 0.5 | |
play_pattern_timed chord(:E6, :minor7), 0.25, pan: rrand(-0.5, 0.5), release: 0.5 | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment