Skip to content

Instantly share code, notes, and snippets.

@asci
Created December 23, 2019 20:52
Show Gist options
  • Save asci/869be2bbff2a9ac69389579a5234b692 to your computer and use it in GitHub Desktop.
Save asci/869be2bbff2a9ac69389579a5234b692 to your computer and use it in GitHub Desktop.
PotatoSong01
use_bpm 55
live_loop :snare do
sample :bd_haus, pitch: 12
sleep 0.5
end
live_loop :bam do
sleep 0.5
sample :bd_haus
end
live_loop :hit, sync: :snare do
4.times do
sample :drum_cymbal_closed, amp: 1
sleep 0.25
end
end
live_loop :tom, sync: :snare do
sleep 0.25
sample :sn_zome
sleep 0.5
sample :sn_zome
sleep 0.125
sample :sn_zome, pitch: tick
sleep 0.125
end
# live_loop :bass, sync: :snare do
# use_synth :prophet
# use_synth_defaults attack: 0,
# release: 0.2,
# cutoff: line(70, 150, steps: 16).tick,
# pan: line(-1, 1, steps: 16).tick,
# env_curve: 4
# with_fx :bitcrusher, mix: 0.2 do
# play_pattern_timed %i[bb4 c5 g4 f4], [1.25, 0.75, 1.25, 0.75]
# end
# end
live_loop :bass, sync: :snare do
use_synth :tb303
use_synth_defaults attack: 0,
release: 0.2,
cutoff: line(70, 150, steps: 16).tick,
pan: line(-1, 1, steps: 16).tick,
env_curve: 4
with_fx :bitcrusher, mix: 0.2 do
play_pattern_timed %i[bb4 c5 g4 f4], [1.25, 0.75, 1.25, 0.75]
end
end
# live_loop :hit do
# sync :tom
# sample :drum_cymbal_closed, amp: 2
# sleep 1
# end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment