Untitled
# Setting the BPM for the track use_bpm 85 # Define the instruments define :xylophone_melody do use_synth :pluck play_pattern_timed [:e4, :g4, :b4, :d5], [0.5, 0.5, 0.5, 1] end define :guitar_chords do use_synth :fm with_fx :reverb, mix: 0.7 do play_chord [:e3, :g3, :b3], sustain: 2, release: 1 sleep 2 play_chord [:a3, :c4, :e4], sustain: 2, release: 1 sleep 2 end end define :trap_drums do sample :bd_808, amp: 2 sleep 0.5 sample :sn_zome, amp: 1.5 sleep 0.5 sample :perc_snap, amp: 1 sleep 0.5 end define :maracas do sample :drum_cymbal_pedal, amp: 0.5 sleep 0.25 sample :drum_cymbal_pedal, amp: 0.5 sleep 0.25 end # First section: Intro live_loop :intro do sync :main guitar_chords end live_loop :drums do sync :main trap_drums end # Pause for Beat Switch sleep 8 sample :ambi_glass_hum, amp: 0.3, rate: 0.8 sleep 2 # 2-second pause # Beat Switch: Xylophone and Guitar live_loop :beat_switch do sync :main xylophone_melody guitar_chords end # Second section: Light beat with maracas live_loop :maracas_and_snare do sync :main maracas sample :sn_dub, amp: 1 sleep 0.5 end # Launch the main control thread live_loop :main do sleep 16 # Let the intro and beat switch play out end
Leave a Comment