-
... ([204, 400, 201, 502, 300, 200], inf ) ); SinOsc .ar(freq * [1, 1.01]) * 0.1 }.play; ) ( { var freq; freq = Duty .kr( MouseX .kr(0.001, 2, 1), // control rate ugen as durations 0, Dseq ([204, 400, 201, 502, 300, 200], inf ) ); SinOsc .ar(f ...
-
... the original stereo mix; full left (pos of -1) is essentially just left channel playing, full right (pos of 1) just the right. The output of Balance2 remains a stereo signal. left - channel 1 of input stereo signal right - channel 2 of inpu ...
-
... addition BinaryOperator a + b { FSinOsc .ar(800, 0, 0.1) + PinkNoise .ar(0.1) }.play; // DC offset; add: 0.1 would be more efficient { FSinOsc .ar + 0.1 }.play
-
... but repetition is controlled by time rather than number of repeats per item. // play repeated notes with a different rhythmic value per new pitch // using Pstutter p = Pbind ( // making 'n' a separate stream so that degree and dur can share ...
-
... MouseX .kr(0.25, 4, \exponential ) ); Out .ar(out, 0.5 * IFFT (chain).dup); }).play; ) ( SynthDef ( "help-magStretch2" , { arg out=0, soundBufnum=2; var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); c ...
-
... MouseX .kr(0.25, 4, \exponential ) ); Out .ar(out, 0.5 * IFFT (chain).dup); }).play(s,[ \out , 0]); ) ( SynthDef ( "help-binStretch2" , { arg out=0, soundBufnum=2; var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnu ...
-
... re a sine without compensation { SinOsc .ar( MouseX .kr(300, 15000, 1)) * 0.1 }.play; // with one that uses amplitude compensation ( { var freq; freq = MouseX .kr(300, 15000, 1); SinOsc .ar(freq) * 0.3 * AmpCompA .kr(freq) }.play; ) // adju ...
-
... ich reads a sound file into memory, and returns a Buffer object. Using the UGen PlayBuf, we can play the file. // read a soundfile b = Buffer .read(s, "sounds/a11wlk01.wav" ); // now play it ( x = SynthDef ( "tutorial-PlayBuf" ,{ arg out = ...
-
... [0.2, 0.4], inf )), Pbind ( \degree , Pseq ([1, 2, 3], inf ), \dur , 1) ).trace.play; ) // also events can be used directly: ( Pchain ( Pbind ( \degree , Pseq ([1, 2, 3], inf )), (detune: [0, 4]) ).trace.play; ) // compose some more complic ...
-
... alternating signals. freq - frequency in Hertz { FSinOsc .ar(800, 0.0, 0.25) }.play; { FSinOsc .ar( XLine .kr(200,4000,1),0.0, 0.25) }.play; // loses amplitude towards the end { FSinOsc .ar( FSinOsc .ar( XLine .kr(4,401,8),0.0, 200,800),0. ...