Skip to content

Instantly share code, notes, and snippets.

@ckkashyap
Created Mar 22, 2020
Embed
What would you like to do?
Kinght Rider theme song attempt #1
use_bpm 60
notes = (ring :Cs, :D, :Cs, :Cs, :D, :Cs, :Cs, :D, :Cs, :Cs, :C, :Cs, :Cs, :Cs)
dur = (ring 0.250, 0.125, 0.125, 0.125,0.125, 0.125, 0.125, 0.125,0.125,0.125,0.125,0.125,0.125,0.125)
live_loop :loop1 do
with_fx :reverb ,room: 0.9 do
use_random_seed 1
use_synth :dsaw
2.times do
14.times do
idx = tick
play notes[idx], release: 0.1, cutoff: rrand(70, 120)
sleep dur[idx]
end
sleep 0.125
end
2.times do
14.times do
idx = tick
play notes[idx]-2, release: 0.1, cutoff: rrand(70, 120)
sleep dur[idx]
end
sleep 0.125
end
end
end
live_loop :loop2 do
with_fx :reverb, room: 0.9 do
t = tick
if t > 0
with_fx :slicer, phase: 0.125 do
synth :blade, note: :Fs3, release: 4,
cutoff: 100, amp: 1
end
sleep 4
with_fx :slicer, phase: 0.125 do
synth :blade, note: :E3, release: 4,
cutoff: 100, amp: 1
end
sleep 4
else
sleep 8
end
end
end
live_loop :loop3 do
with_fx :reverb, room: 0.2 do
3.times do
synth :dsaw, note: :Fs2, release: 0.1
sleep 0.1
synth :dsaw, note: :Fs2, release: 0.2
sleep 0.4
end
sleep 0.5
2.times do
synth :dsaw, note: :Fs2, release: 0.1
sleep 0.1
synth :dsaw, note: :Fs2, release: 0.2
sleep 0.9
end
3.times do
synth :dsaw, note: :E2, release: 0.1
sleep 0.1
synth :dsaw, note: :E2, release: 0.2
sleep 0.4
end
sleep 0.5
2.times do
synth :dsaw, note: :E2, release: 0.1
sleep 0.1
synth :dsaw, note: :E2, release: 0.2
sleep 0.9
end
end
end
live_loop :loop4 do
t = tick
if t > 0
3.times do
sample :drum_heavy_kick
sleep 0.5
end
sample :drum_snare_hard
sleep 0.5
2.times do
sample :drum_heavy_kick
sleep 1
end
else
sleep 8
end
end
live_loop :loop5 do
t = tick
if t > 0
sample :drum_cymbal_closed
sleep 0.125
else
sleep 8
end
end
live_loop :loop6 do
t = tick
if t > 0
sample :drum_heavy_kick
sleep 0.5
sample :drum_snare_hard
sleep 0.5
else
sleep 8
end
end
live_loop :loop7 do
with_fx :reverb, room: 0.9 do
t = tick
if t > 0
synth :dsaw, note: :Fs5, release: 0.250
sleep 0.250
synth :dsaw, note: :G5, release: 0.125
sleep 0.125
synth :dsaw, note: :Fs5, release: 0.125
sleep 0.125
synth :dsaw, note: :Cs6, release: 1.5
sleep 1.5
synth :dsaw, note: :Fs6, release: 0.250
sleep 0.250
synth :dsaw, note: :G6, release: 0.125
sleep 0.125
synth :dsaw, note: :Fs6, release: 0.125
sleep 0.125
synth :dsaw, note: :Cs6, release: 1.5
sleep 1.5
synth :dsaw, note: :Fs5, release: 0.250
sleep 0.250
synth :dsaw, note: :G5, release: 0.125
sleep 0.125
synth :dsaw, note: :Fs5, release: 0.125
sleep 0.125
synth :dsaw, note: :Cs6, release: 0.250
sleep 0.250
synth :dsaw, note: :Fs6, release: 0.250
sleep 0.250
synth :dsaw, note: :E6, release: 3
sleep 3
synth :dsaw, note: :Fs5, release: 0.250
sleep 0.250
synth :dsaw, note: :G5, release: 0.125
sleep 0.125
synth :dsaw, note: :Fs5, release: 0.125
sleep 0.125
synth :dsaw, note: :Cs6, release: 1.5
sleep 1.5
synth :dsaw, note: :Fs6, release: 0.250
sleep 0.250
synth :dsaw, note: :G6, release: 0.125
sleep 0.125
synth :dsaw, note: :Fs6, release: 0.125
sleep 0.125
synth :dsaw, note: :Cs6, release: 1.5
sleep 1.5
###### SECOND
synth :dsaw, note: :Fs5, release: 0.250
sleep 0.250
synth :dsaw, note: :G5, release: 0.125
sleep 0.125
synth :dsaw, note: :Fs5, release: 0.125
sleep 0.125
synth :dsaw, note: :Cs6, release: 0.250
sleep 0.250
synth :dsaw, note: :Fs6, release: 0.250
sleep 0.250
synth :dsaw, note: :E6, release: 3
synth :dsaw, note: :G6, release: 3
sleep 3
else
sleep 16
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment