PingPongT


beat/tempo based ping pong delay with wobble




(

s = Server.local;

b = Buffer.alloc(s,44100,2);


{


var input;

input = Decay2.ar(Impulse.ar([0.6,0.5], 0.25), 0.01, 0.25, 

[

SinOsc.ar(SinOsc.kr(3.7,0,200,500)),

Resonz.ar(PinkNoise.ar(4), SinOsc.kr(2.7,0,1000,2500), 0.2)

]);

PingPongT.ar(b.bufnum, input, 0.5, 0.8,0.1,1,Tempo.tempo)


}.play


)



bug: the tempo and beats aren't changing ?


(


b = Buffer.alloc(s,44100,2);


Patch({ arg bufnum=0, tempo=1.0,beats=0.5,feedback=0.8,wobble=0.1;


var input;

input = Decay2.ar(Impulse.ar([0.6,0.5], 0.25), 0.01, 0.25, 

[

SinOsc.ar(SinOsc.kr(3.7,0,200,500)),

Resonz.ar(PinkNoise.ar(4), SinOsc.kr(2.7,0,1000,2500), 0.2)

]);

PingPongT.ar(bufnum, input, beats, feedback,wobble,1,tempo)


},[

b.bufnum,

TempoPlayer.new

]).topGui


)