Skip to content

Instantly share code, notes, and snippets.

@hopbit
Last active January 10, 2023 22:12
Show Gist options
  • Save hopbit/87b86e94e04698a0fb440689f7dd1c64 to your computer and use it in GitHub Desktop.
Save hopbit/87b86e94e04698a0fb440689f7dd1c64 to your computer and use it in GitHub Desktop.
mr. president - coco jumbo (fdm spi short mix)
# mr presidend - coco jumbo (8 beats)
# http://latwenuty.blogspot.com/2012/07/mr-president-coco-jambo.html
# you can listen below track on soundcloud:
# https://soundcloud.com/hopbit/mr-president-coco-jumbo-fdm-spi-short-rmx
use_bpm 129
notes = [:gs4,:cs5,:gs5,:g4,:cs5] # 1 tact
notes += [nil,:gs5,:e5,:ds5,:cs5]
notes += [:a4,:cs5,:e5,:b4,:ds5] # 2 tact
notes += [nil,:fs5,:e5,:ds5,:cs5]
#otes += [:d5, :ds5, nil, nil, nil, nil, nil, nil]
notes_sleeps = [0.5, 0.5, 0.25, 0.25]
notes_sleeps += [0.25, 0.25, 0.5, 0.5, 0.5, 0.5]
notes_sleeps = notes_sleeps * 2
##| puts "sum: #{notes_sleeps.inject(0, :+)}" # debug
live_loop :foo1 do
sync :beats
use_synth :chiplead
with_fx :wobble, phase: 0.125 do
notes.size.times do |n|
notes.size.times do |n|
play notes[n], release: notes_sleeps[n], amp: 1
sleep notes_sleeps[n]
end
end
end
end
live_loop :beats do
sample :loop_industrial, beat_stretch: 2
sleep 2
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment