Skip to content

Instantly share code, notes, and snippets.

use_bpm 120
live_loop :lead do
use_synth :pretty_bell
play :c4
sleep 0.5 + 0.25
play :f4
sleep 0.25 + 0.5
play :f4
sleep 0.25 + 0.25
use_bpm 120
live_loop :harmony do
use_synth :prophet
pluck_amp=1
with_fx :reverb, mix: 0.9 do
play :c4, amp: pluck_amp
sleep 0.5 + 0.25
play :f4, amp: pluck_amp
#root = 'C:/samples'
root = '/home/pi/Google Drive/samples'
s = 0.25#Sixteenth note (semiquaver)
q = 0.5#Eight note (quaver)
c = 1 #Quarter note (crotchet)
m = 2 #Half note (minim)
sm = 4 #Whole note (semibreve)
guitar_part = 1
bridge_part = 1
bells_part=1
s = 0.25#Sixteenth note (semiquaver)
q = 0.5 #Eight note (quaver)
c = 1 #Quarter note (crotchet)
m = 2 #Half note (minim)
sm = 4 #Whole note (semibreve)
f = false
t = true
use_bpm 140
live_loop :drums do
## Edit BPM and Time Signature ##
use_bpm 120
timesignature = [4,4]
#################################
ts = timesignature[0].to_f/timesignature[1].to_f
if ts == 1