-
... .9, release = 0.1, curve = -4| var env = Env.asr(attack, susL, release, curve); SoundIn.ar(bus, EnvGen.kr(env, gate)); }
-
... ispersion=0.0001, lag=0.1, winSize=0.02; var freq, hasFreq, input, amp; input = SoundIn.ar(bus.round(1)); amp = Amplitude.kr(input, 0.05, 0.05); # freq, hasFreq = Pitch.kr(input, ampThreshold: 0.0, median: 7); PitchShift.ar(Ndef.ar('inTrack ...
-
... (220),2200,[1,0])}.play // Scramble the syllables in a speech: {PermModArray.ar(SoundIn.ar(0), 5, [4,3,2,1,0])}.play // Distort any input with an Electronic Telephone Ring effect: {PermModArray.ar(SoundIn.ar(0),Pulse.kr(10,0.5,1000,2000),[0 ...
-
... ple b = Buffer .read(s, "sounds/a11wlk01.wav" ); ( { var input, kernel; input = SoundIn .ar(0); // must have power of two framesize Out .ar(0, Convolution2 .ar(input, b, 0, 512, 0.5)); }.play; ) // another example ( // must have power of tw ...
-
... rom < 0.2 // to > 0.2 SynthDef ( "help-> trig" , { SendTrig .kr( Amplitude .kr( SoundIn .ar(0)) > 0.2); }).play(s); // responder to trigger synth OSCresponderNode (s.addr, '/tr' ,{ "triggered" .postln; Synth .new( "help-EnvGen" ) }).add; )
-
... rom > 0.2 // to < 0.2 SynthDef ( "help-< trig" , { SendTrig .kr( Amplitude .kr( SoundIn .ar(0)) <= 0.2); }).play(s); // responder to trigger synth OSCresponderNode (s.addr, '/tr' ,{ "triggered" .postln; Synth .new( "help-EnvGen" ) }).add; )
-
... om < 0.2 // to > 0.2 SynthDef ( "help->= trig" , { SendTrig .kr( Amplitude .kr( SoundIn .ar(0)) >= 0.2); }).play(s); // responder to trigger synth OSCresponderNode (s.addr, '/tr' ,{ "triggered" .postln; Synth .new( "help-EnvGen" ) }).add; )
-
... om > 0.2 // to < 0.2 SynthDef ( "help-<= trig" , { SendTrig .kr( Amplitude .kr( SoundIn .ar(0)) <= 0.2); }).play(s); // responder to trigger synth OSCresponderNode (s.addr, '/tr' ,{ "triggered" .postln; Synth .new( "help-EnvGen" ) }).add; )
-
... 1wlk01.wav"); d= Buffer .read(s, "sounds/break" ); ( { var in, fft, output; in= SoundIn .ar(0); //PlayBuf.ar(1,d,BufRateScale.kr(d),1,0,1); fft = FFT (b, in, wintype:1); output= TPV .ar(fft, 1024, 512, 70, MouseX .kr(1,70), MouseY .kr(0.25, ...
-
... hods Instance Methods Inherited instance methods Examples s.boot a= {RedComb.ar(SoundIn.ar, 0.5, LFNoise0.ar(0.5, 0.25, 0.25))}.play a.set(\lag, 0.9) //long crossfade when delaytime changes a.set(\lag, 0.1) //default a.set(\lag, 0) //will c ...