-
... post == Ndef('mod1', {arg thresh=0.1, in=1, mul=1, add=0; var sig, chain; sig = SoundIn.ar( (in-1).max(0) ); chain = FFT(LocalBuf(512), sig); ((Onsets.kr(chain, thresh, \rcomplex) * 2 - 1 ) * mul).range(0.0, 1.0) + add;}); Ndef('block1').xs ...
-
... ions; collectRoutines.do (_.play(SystemClock)); record = { arg running = 1; var soundin, trig = 1, pos = 0, amp, freq, hasFreq, bufLength, cycle; soundin = if (in.isInteger) {SoundIn.ar(in)} {In.ar(in)}; //pos = Phasor.ar(0, BufRateScale.kr ...
-
... tudes ! To reduce feedback I've built in tanh, LPF and delay into examples with SoundIn, though better use headphones to avoid feedback at all. For tips on reducing feedback or creative use of feedback see Nathaniel Virgo's Feedback quark. ...
-
... |bus = 0| var input; input = ((..Udef.numChannels - 1) + bus).collect({ |item| SoundIn.ar( item ) }); input = input.collect({ |input| input * if( bus > (NumInputBuses.ir - 1), 0, 1 ); }); UOut.ar( 0, input ); } ).setSpec( \bus, PositiveInt ...
-
... nnecting to the world: ///// 1 - Microphone - use headphones or get feedback! { SoundIn.ar * 0.2 }.play; // or more flexible with JITLib-style object, Ndef Ndef(\mic).clear; Ndef(\mic, { SoundIn.ar * 0.2 ! 2 }).play; Ndef(\mic).gui; // comb ...
-
... putBusChannels; }; def = MultiChannelUdef( \wfsServerIn, { |bus = 0| // same as soundIn, but only plays on servers var input; input = ((..Udef.numChannels - 1) + bus).collect({ |item| SoundIn.ar( item ) }); input = input.collect({ |input| i ...
-
... l' mode the auxIn receives audio from an external input. This is similar to the soundIn Udef. bus: the aux bus to read from (0-31) type: \internal or \external -- this is an Udef definition file part of the Unit lib default Udefs set */ ( v ...
-
... == Ndef('recblock1', {arg recLevel=1 , preLevel=0 , fade=0.01 ; var sig; sig = SoundIn.ar(0); sig = sig * Env.linen(fade, (30.0-(fade*2)), fade, 1, 'sin').kr; RecordBuf.ar(sig, ~buffer0.bufnum, 0, recLevel, preLevel, loop: 0); }); == radpo ...
-
... itudeTracker] = Ndef(\amplitudeTracker); Ndef(\amplitudeTracker, { Amplitude.ar(SoundIn.ar(0)); }); Ndef(\amplitudeTracker); // return value
-
>> in 1 1 == radpost == Ndef('block1', {arg bus=1 , mul= 1 ; SoundIn.ar((bus.round(1)-1).max(0), mul);}); Ndef('block1').xset('bus', 1); == radpostcont == (none) >> st 1 == radpost == Ndef('block1').source = nil; == radpostcont == (none)