Skip to content

Instantly share code, notes, and snippets.

@alistairstead3408
Created December 12, 2014 13:37
Show Gist options
  • Save alistairstead3408/e83a38ef656ceb0369f7 to your computer and use it in GitHub Desktop.
Save alistairstead3408/e83a38ef656ceb0369f7 to your computer and use it in GitHub Desktop.
with_bpm 96 do
#Thread to do bass synth
in_thread do
play_pattern_timed [68, 68, 68], [0.6, 0.6, 0.4], release: 0.3
play_pattern_timed [66], [1.6], release: 0.3
play_pattern_timed [64, 64, 64], [0.6, 0.6, 0.4], release: 0.3
play_pattern_timed [63, 66],[0.8, 0.4], release: 0.3
end
#Main melody thread
in_thread do
use_synth :pretty_bell
play_pattern_timed [71, 75, 78], [0.2]
play 83
sleep 0.6
play 85
sleep 0.4
play 82
sleep 1.0
play_pattern_timed [78, 75, 71], [0.2]
play_pattern_timed [68, 71, 75], [0.2]
play 80
sleep 0.6
play 78
sleep 0.4
play 75
sleep 0.8
play 78
sleep 0.4
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment