Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
use_bpm 90
use_synth :piano
live_loop :beat1 do
sample :drum_cymbal_closed, amp: 0.1
sleep 0.5
end
live_loop :beat2 do
sample :drum_heavy_kick
sleep 1
sample :drum_bass_hard
sleep 1
end
live_loop :foo2 do
use_synth :piano
play chord(:C4, :M7),release: 1,sustain: 2
sleep 4
play chord(:Eb4, :major),release: 0.5,sustain: 1
sleep 2
play chord(:F4, :major7),release: 0.5,sustain: 1
sleep 2
play chord(:Bb4, :M7),release: 1,sustain: 2
sleep 4
play chord(:G4, :m7),release: 0.5,sustain: 1
sleep 2
play chord(:A4, :m7),release: 0.5,sustain: 1
sleep 2
play chord(:G4, :minor7),release: 1,sustain: 2
sleep 4
play chord(:Bb4, :M7),release: 0.5,sustain: 1
sleep 2
play chord(:C4, :major7),release: 0.5,sustain: 1
sleep 2
play chord(:Ab4,:minor7),release: 1,sustain: 2
sleep 4
play chord(:Eb4, :minor7),release: 0.5,sustain: 1
sleep 2
play chord(:F4, :M7),release: 0.5, sustain: 1
sleep 2
end
live_loop :foo3 do
use_synth :hollow
play chord(:C3, :M7),attack: 1, release: 1,sustain: 2
sleep 4
play chord(:Eb3, :major),attack: 0.5,release: 0.5,sustain: 1
sleep 2
play chord(:F3, :major7),attack: 0.5,release: 0.5,sustain: 1
sleep 2
play chord(:Bb3, :M7),attack: 1,release: 1,sustain: 2
sleep 4
play chord(:G3, :m7),attack: 0.5,release: 0.5,sustain: 1
sleep 2
play chord(:A3, :m7),attack: 0.5,release: 0.5,sustain: 1
sleep 2
play chord(:G3, :minor7),attack: 1,release: 1,sustain: 2
sleep 4
play chord(:Bb3, :M7),attack: 0.5,release: 0.5,sustain: 1
sleep 2
play chord(:C3, :major7),attack: 0.5,release: 0.5,sustain: 1
sleep 2
play chord(:Ab3,:minor7),attack: 1,release: 1,sustain: 2
sleep 4
play chord(:Eb3, :minor7),attack: 0.5,release: 0.5,sustain: 1
sleep 2
play chord(:F3, :M7),attack: 0.5,release: 0.5, sustain: 1
sleep 2
end
live_loop :foo4 do
use_synth :piano
#play chord(:C4, :M7),release: 1,sustain: 2
#sleep 4
play :G5, sustain:5
sleep 6
#play chord(:F4, :major7),release: 0.5,sustain: 1
#sleep 2
play :F5,sustain: 5
sleep 6
#play chord(:Bb4, :M7),release: 1,sustain: 2
#sleep 4
#play chord(:G4, :m7),release: 0.5,sustain: 1
#sleep 2
play :G5,sustain: 5
sleep 6
#play chord(:A4, :m7),release: 0.5,sustain: 1
#sleep 2
#play chord(:G4, :minor7),release: 1,sustain: 2
#sleep 4
#play chord(:Bb4, :M7),release: 0.5,sustain: 1
#sleep 2
play :Bb5,sustain: 3
sleep 4
#play chord(:C4, :major7),release: 0.5,sustain: 1
#sleep 2
#play chord(:Ab4,:minor7),release: 1,sustain: 2
#sleep 4
play :Gb5,sustain: 5
sleep 6
#play chord(:Eb4, :minor7),release: 0.5,sustain: 1
#sleep 2
#play chord(:F4, :M7),release: 0.5, sustain: 1
#sleep 2
2.times do
play [:F5, :A5, :C5, :E5].choose
sleep 0.5
end
4.times do
play [:F5, :A5, :C5, :E5].choose
sleep 0.25
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment