Skip to content

Instantly share code, notes, and snippets.

@nischalshrestha
Last active October 24, 2023 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nischalshrestha/304791e370393b72e3706befc1a1f15c to your computer and use it in GitHub Desktop.
Save nischalshrestha/304791e370393b72e3706befc1a1f15c to your computer and use it in GitHub Desktop.
One Eye Signal cover
# Open Eye Signal cover
# Drum sample pack: https://thekount.sellfy.store/p/kount-drums-volume-4/
kicks = "/Users/nischal/Music/Kount Drums Volume 4/One Shot/Kicks"
hh = "/Users/nischal/Music/Kount Drums Volume 4/One Shot/Hihats_Cymbals"
snares = "/Users/nischal/Music/Kount Drums Volume 4/One Shot/Snares"
percs = "/Users/nischal/Music/Kount Drums Volume 4/One Shot/Percussion"
textures = "/Users/nischal/Music/Kount Drums Volume 4/Textures"
# opening distant sounds
with_fx :reverb, room: 0.9, mix: 0.8 do
live_loop :opener do
with_fx :pitch_shift, pitch_dis: 0.0125, mix: 0.8, pre_amp: 0.125 do
with_fx :rlpf, cutoff: 30 do
with_synth :saw do
play :f4, attack: 2, amp: 0.34, release: 2
play :g5, attack: 2, amp: 0.35, release: 2
play :a4, attack: 2, amp: 0.25, release: 2
play :a5, attack: 2, amp: 0.5, release: 2
play :as5, attack: 2, amp: 0.5, release: 2
##| play :g6, attack: 2, amp: 0.25, release: 2
end
sleep 0.5
end
end
end
end
# start with just f
notes = knit(:f1, 16)
# then switch to the progression soon after opener fades off a bit
##| notes = knit(:f1, 24, :gs1, 8, :fs1, 4)
# subbass
live_loop :tri_osc do
with_synth :tri do
in_wave = 0.5
main_note = notes.tick
play note(main_note + 12), amp: 0, attack: in_wave, decay: 0, sustain: 0, release: 0
sleep in_wave
end
end
# pulsing bass osc
with_fx :reverb, room: 0.8 do
live_loop :bass_osc do
sleep 0.25
high_amp = 0.8
low_amp = 0.3
with_fx :wobble, wave: 1, phase: 1, cutoff_min: 40,
cutoff_max: 120, res: 0.5, pulse_width: [0.25, 0.25, 0.5, 0.25, 0.8].tick do
with_fx :distortion, distort: 0.8, mix: 0.3, pre_amp: 0 do
with_synth :saw do
in_wave = [0, 0.08, 0.125].choose
main_note = notes.look
play note(main_note), amp: high_amp, attack: in_wave, release: 0.125
play note(main_note + 12), amp: high_amp, attack: in_wave, release: 0.125
play note(main_note + 12) + 7, amp: high_amp, attack: in_wave, release: 0.125
play note(main_note + 36) + 7, amp: low_amp, attack: in_wave, release: 0.125
play note(main_note + 48) + 2, amp: low_amp, attack: in_wave, release: 0.125
end
end
end
sleep 0.25
end
end
# main synths
with_fx :reverb, room: 0.8 do
live_loop :osc do
in_wave = 0.5
with_fx :wobble, wave: 0, phase: 0.125, cutoff_min: 20, cutoff_max: 30, res: 0.5 do
with_fx :distortion, distort: 0.8, mix: 0.8, pre_amp: 0 do
main_note = notes.tick
with_synth :saw do
play note(main_note), amp: 0.8, attack: in_wave, decay: 0, sustain: 0, release: 0
play note(main_note + 12), amp: 0.8, attack: in_wave, decay: 0, sustain: 0, release: 0
play note(main_note + 24) + 7, amp: 0.5, attack: in_wave, decay: 0, sustain: 0, release: 0
play note(main_note + 36) + 2, amp: 0.125, attack: in_wave, decay: 0, sustain: 0, release: 0
end
with_synth :square do
##| play note(main_note), amp: 0.125, attack: in_wave, decay: 0, sustain: 0, release: 0
##| play note(main_note + 36) + 7, amp: 0.25, attack: in_wave, decay: 0, sustain: 0, release: 0
##| play note(main_note + 48) + 7, amp: 0.25, attack: in_wave, decay: 0, sustain: 0, release: 0
##| play note(main_note + 60) + 2, amp: 0.125, attack: in_wave, decay: 0, sustain: 0, release: 0
end
with_synth :zawa do
##| play note(main_note + 12), amp: 0.25, attack: 0.125, release: 0.125
##| play note(main_note + 24) + 2, amp: 0.125, attack: 0.125, release: 0.25
end
end
end
sleep in_wave
end
end
with_fx :reverb, room: 0.9, mix: 0.8 do
live_loop :swells do
with_fx :pitch_shift, pitch_dis: 0.025, mix: 0.9 do
atk = 2
amp_vol = 0
second_note = :a3
with_synth :saw do
play :f3, attack: atk, amp: amp_vol, release: atk * 2
play :f4, attack: atk, amp: amp_vol, release: atk * 2
play :f5, attack: atk, amp: amp_vol, release: atk * 2
play note(second_note), attack: atk, amp: amp_vol, release: atk * 2
play note(second_note) + 12, attack: atk, amp: amp_vol, release: atk * 2
play note(second_note) + 24, attack: atk, amp: amp_vol, release: atk * 2
end
sleep 1
end
end
end
## Beats
# vary the rates for the kicks for spice
rates = knit(2, 32, 3, 8, 4, 8, 8, 2)
live_loop :bass_drum do
sample "#{kicks}/Cardio Kick.wav", rate: rates.tick
sample "#{kicks}/123 Kick.wav", rate: 1.2, amp: 1
sleep 0.5
end
live_loop :snare do
sleep 0.25
snare_amp = 0.25
sample "#{percs}/Cuban Shaker 2.wav", amp: snare_amp, rate: 1.25
with_synth :noise do
play :f1, amp: snare_amp, cutoff: 125, env_curve: 3, attack: 0.01, release: 0.125, res: 0.8
end
sleep 0.25
end
live_loop :shaker do
sleep 0.5
shaker_amp = 0.8
sample "#{percs}/Thick Shaker 1.wav", amp: shaker_amp
sample "#{percs}/Crump Shaker.wav", amp: shaker_amp
sleep 1.5
end
live_loop :roll do
sleep 0.25 * 6 - 0.125
roll_amp = 0.25
sample "#{textures}/Brush Roll 2.wav", amp: roll_amp
with_synth :noise do
play :f1, amp: roll_amp, cutoff: 120, attack: 0, sustain: 0.2, res: 0.5, release: 0.25
end
sleep 0.5 + 0.125
end
live_loop :hh do
sample "#{hh}/Century Hihat.wav", amp: 0, attack: 0
sleep 0.125
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment