// title: batuhan's buzzer parametrized // author: iani // description: // A beautiful sc140 tweet by Batuhan Bozkurt, parametrized for real-time changes. To do: Add gui widgets for easier interactive control. // code: // 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);