«batuhan's buzzer parametrized» by iani
on 10 Dec'12 17:36 inA beautiful sc140 tweet by Batuhan Bozkurt, parametrized for real-time changes. To do: Add gui widgets for easier interactive control.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
// A beautiful sc140 tweet by Batuhan Bozkurt, parametrized for real-time changes ( // Start sound here a = { | rateL = 5, rateR = 6, blipMul = 100, blipAdd = 50, fMul = 50, kMul = 1 | f = LocalIn.ar(2).tanh; k = Latch.kr(f[0].abs,Impulse.kr(1/4)) * kMul; LocalOut.ar( f + CombC.ar(Blip.ar([rateL, rateR], blipMul * k + blipAdd, 0.9), 1, k*0.3, fMul * f));f }.play ) // Set parameters for changing sound here: a.set(\rateL, 10); a.set(\rateR, 8); a.set(\blipMul, 25); a.set(\blipAdd, 70); a.set(\fMul, 30); a.set(\kMul, 0.01);
comments