-
I just saw this controller https://gaojiafeng.wordpress.com/2014/02/11/tri-o-2014/, not a bad idea, but no need to have real rotating discs ;) Adapting this code for use with a regular midi controller should be fairly easy ( var w, h = 700 ...
-
~bus = Bus.audio(s,2); ( ~name = \kickfb; SynthDef(~name, { |out=0, amp=0.1, pan=0, release=0.26, fratio=1.5, freqpan=0.01, spread=0.8, timeScale=1| var env0, env1, env1m, son; //freqpan = [-1,0,1] * freqpan; freqpan = [1,0, ...
-
Sometime you want to play a certain part of a sound file, but you must provide the Synthdef with the starting and ending buffer frame number. It's nice to be able to select it graphically. <Space> play the selected part (or till the end if ...
-
( // init busses (change ?? to !? to init again) ~busses = ~busses ?? { ~matrix_in_count = 8; ~matrix_out_count = 4; ~matrix_ins = ~matrix_in_count.collect({ arg idx; var bus = Bus.audio(s,2); Ndef(\matrix).set(( \in++idx ).a ...
-
( SynthDef(\wobble, { arg out=0, amp=0.1, gate=1, pan=0, spread=0.8, freq=200, doneAction=2; var sig, sig1, sig2, sig3; sig1 = LFSaw.ar(freq * 1 + (0.04 * [1,-1])); sig2 = LFSaw.ar(freq * 0.99 ); sig3 = LFSaw.ar(freq * 1 ); si ...
-
( Ndef(\stutter).quant = 1; //~bus = BusDef(\stutter, \audio); ~bus = Bus.audio(s, 2); ); ( ~bufsize = 2; // in seconds Ndef(\stutter, { arg choose=0, time=2, tapetime=2, stutter=4, attack=0.001, decay=0.001, tapelevel=0.7; var ...
-
( ~t = ~t ? 1; Ndef(\fx).put(0, { arg amp=0.1; var sig; var freq; var freq2; var pan; var sig1, sig2, sig3, sig4, sig5, sig6, sig7, sig8; var cond = Line.kr(-1,1,64); var mix, index; var env1; env1 = EnvGen.kr(Env([0,2 ...
-
A simple parser for the (simplified) abc score notation. http://abcnotation.com/wiki/abc:standard:v2.0#the_tune_body Features: - 4 octaves : C, C c c' - note dur: c2 c/ c/2 - rest: can use _ in addition to z and x - chords: [ceg] - ...
-
( SynthDef(\scagrain, { arg out=0, amp=0.1, gate=1, pan=0, freq=200, fspread=0.1; var sig; var sig1, sig2, sig3, sig4, sig5, sig6, sig7, sig8; var xfreq = freq * ((0..7)/7 - 0.5 * fspread + 1); xfreq = xfreq * XLine.kr(1,2,2); s ...
-
I'm sure it's a well known technique, but I found this by accident and I'm amazed by the cool jazzy basslines generated from nowhere // base concept { arg freq = 74; SinOsc.ar(freq * [1,1.000001] * ( 1 + ( SinOsc.ar(freq * LFPulse.kr(2, ...