-
... h low threshold // external sound in ( { var source1, signal, detect; source1 = SoundIn .ar(0); detect = PV_HainsworthFoote .ar( FFT ( LocalBuf (2048), source1), 1.0, 0.0); signal = SinOsc .ar([440,445], 0, Decay .ar(0.1 * detect, 0.1)); si ...
-
... mple b = Buffer .read(s, "sounds/a11wlk01.wav" ); ( { var input, kernel; input= SoundIn .ar(0); // must have power of two framesize Convolution2L .ar(input, b, 0, 512, 1, 0.5); }.play; ) // another example ( // must have power of two frames ...
-
... 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; )
-
... e for each ear! ( SynthDef ( \helpTap , { |bufnum| var source, capture; source= SoundIn .ar(0); //use headphones to avoid feedback capture= BufWr .ar(source, bufnum, Phasor .ar(0,1, 0, BufFrames .ir(bufnum),1)); Out .ar(0, Tap .ar(bufnum, 1 ...
-
... f , BHiShelf , BBandPass , BBandStop , BAllPass . s.boot; ( z = { BLowPass .ar( SoundIn .ar([0,1]), MouseX .kr(10,20000, \exponential ), // cutoff freq. MouseY .kr(0.0, 1.0, \linear ), // rq 0.5); // mul }.play ) z.release;
-
... lf , BHiShelf , BBandPass , BBandStop , BAllPass . s.boot; ( z = { BHiPass .ar( SoundIn .ar([0,1]), MouseX .kr(10,20000, \exponential ), // cutoff freq. MouseY .kr(0.0, 1.0, \linear ), // rq 0.5); // mul }.play ) z.release;