I just saw a video of doctor mix creating this iconic baseline and I decided to give it a go:
# Live version
use_bpm 125
notes = [:c2, :c2, :c3, :c3, :g2, :g2, :as2, :as2]
pitch = 0
live_loop :tb do
beat = tick
triggers = [16,24, 32,42,44,46]
if triggers.include?(beat)
pitch += 3
elsif beat == 40
pitch = 0
elsif beat == 48
pitch = 0
tick_set 0
end
use_synth :tb303
play_pattern_timed(notes, [0.25], attack: 0, release: 0.125, pitch: pitch)
end
# Not live version
use_bpm 125
notes = [:c2, :c2, :c3, :c3, :g2, :g2, :as2, :as2]
use_synth :tb303
16.times do
play_pattern_timed(notes, [0.25], attack: 0, release: 0.125, pitch: 0)
end
4.times do
play_pattern_timed(notes, [0.25], attack: 0, release: 0.125, pitch: 2)
end
4.times do
play_pattern_timed(notes, [0.25], attack: 0, release: 0.125, pitch: 4)
end
2.times do
play_pattern_timed(notes, [0.25], attack: 0, release: 0.125, pitch: 0)
end
2.times do
play_pattern_timed(notes, [0.25], attack: 0, release: 0.125, pitch: 2)
end
2.times do
play_pattern_timed(notes, [0.25], attack: 0, release: 0.125, pitch: 4)
end
2.times do
play_pattern_timed(notes, [0.25], attack: 0, release: 0.125, pitch: 6)
end
happy Holidays!!!
I share the video of it on https://www.instagram.com/reel/DSoLT_1AcYc/?igsh=MTdzZXd4MnMybTRoMw==