Skip to content

Instantly share code, notes, and snippets.

@RemyPorter
Created November 6, 2019 21:06
Show Gist options
  • Save RemyPorter/938fed8e9dd67a309057e87793d4eaf4 to your computer and use it in GitHub Desktop.
Save RemyPorter/938fed8e9dd67a309057e87793d4eaf4 to your computer and use it in GitHub Desktop.
The code for intrion. This was edited and modified live/improvisationally, so this is not what it started as, but it is what it ended as
use_bpm 90
prog = (ring
(chord :c3, :m11),
(chord :f3, :M7),
(chord :d3, :m6),
(chord :eb3, :M))
live_loop :bline do
use_synth :mod_sine
use_synth_defaults attack: 0.24, amp: 0.2, mod_wave: 2, mod_phase: 1, mod_range: 5
#chd = prog.tick
set :line, (ring :c3, :c3)
chd = get :line
#cue :chds
cue :meld
with_fx :gverb, room: 4 do
with_fx :tremolo, phase: 2, depth: 0.25 do
with_fx :band_eq, freq: 80, res: 0.8 do
16.times do
play choose(chd)-12 if spread(5,8).tick
play choose(chd)-24 if spread(3,8).tick
sleep 0.25
end
end
end
end
end
uncomment do
live_loop :chords do
use_synth :dtri
use_synth_defaults detune: 0.2
sync :chds
chd = get :line
s = play_chord chd, sustain: 4, release: 2
4.times do
control s, detune: rand(12), detune_slide: 1, pan: rand(-1..1), pan_slide: 1
sleep 1
end
end
end
live_loop :melody do
use_synth :blade
use_synth_defaults vibrato_depth: 0.24, vibrato_rate: 0.25, vibrato_depth: 5, amp: 0.00
sync :meld
chd = get :line
with_fx :gverb, room: 50 do
with_fx :ring_mod, freq: choose(chd)+12 do
play choose(chd)+12, attack: 1, sustain: 3, release: 6
end
end
sleep 0.5
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment