-
... hDef ( "help-AudioIn" ,{ arg out=0; Out .ar(out, AudioIn .ar(1) ) }).play; ) // stereo through patching from input to output ( SynthDef ( "help-AudioIn" ,{ arg out=0; Out .ar(out, AudioIn .ar([1,2]) ) }).play; ) // simpler: { AudioIn .ar([1 ...
-
... .5, 4.5, 3.5].plot( "Some data" ) [5, 6, 7, 6.5, 4.5, 3.5].plot( "Some data, in stereo" , numChannels:2) [5, 6, 7, 6.5, 4.5, 3.5].plot( "Some data, in stereo" , numChannels:2, discrete: true ) { |i| { |j| j + 1 * i % 6 }.dup(5) }.dup(200).p ...
-
... ightFront, LeftBack, RightBack. // You'll only hear the front two channels on a stereo setup. ( SynthDef ("help-Pan4", { Out .ar(0, Pan4 .ar( PinkNoise .ar, FSinOsc .kr(2), FSinOsc .kr(1.2), 0.3)) }).play; ) play({ Pan4 .ar( PinkNoise .ar, ...
-
... ensive patchcord (use headphones to avoid feedback) { SoundIn .ar(0) }.play; // stereo version { SoundIn .ar([0, 1]) }.play; // scope input; silent output Server .internal.boot; { Amplitude .kr( SoundIn .ar(0)); }.scope;
-
... wo channels at opposite poles of a 2D ambisonic field. This is one way to map a stereo sound onto a soundfield. It is equivalent to: PanB2(inA, azimuth, gain) + PanB2(inB, azimuth + 1, gain) inA - input signal A inB - input signal B azimuth ...
-
... 0; var inA, chainA, inB, chainB, chain; inA = LFSaw .ar([100, 150], 0, 0.2); // stereo signal ... inB = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chainA = FFT ({ LocalBuf (2048) }.dup, inA); // ... needs two buffe ...
-
... = 1 72 // offset by 72 notes ) + LFNoise1 .kr([3,3], 0.04) // add some low freq stereo detuning ).midicps, // convert midi notes to hertz 0, 0.1) // drone 5ths + RLPF .ar( LFPulse .ar([48,55].midicps, 0.15), SinOsc .kr(0.1, 0, 10, 72).midic ...
-
... sc .ar(1), SinOsc .ar(1.3), Rect (0,0.5,0.5,0.5))* LFSaw .ar(44,0,0.1) }.play //stereo effect {( InRect .ar( LFNoise0 .ar([140,141]), LFNoise0 .ar(143), Rect (0,0,0.5,1)).lag(0.1))* LFSaw .ar( SinOsc .ar(10,0,5,400),0,0.1) }.play //for the ...
-
... ), inB); chain = PV_Mul (chainA, chainB); 0.03 * IFFT (chain).dup; }.play ); // stereo version: ( { var inA, chainA, inB, chainB, chain ; inA = Saw .ar( LFNoise1 .kr(2).exprange(10, 1000)); // same saw through different pulses inB = Pulse . ...
-
... E HEADPHONES to prevent feedback. play({ PitchShift .ar( SoundIn .ar([0,1]), // stereo audio input 0.1, // grain size MouseX .kr(0,2), // mouse x controls pitch shift ratio 0, // pitch dispersion 0.004 // time dispersion ) })) ( // use Pitc ...