-
... . In the most general sense, Pbind is just a way to give names to values coming out of the types of patterns we just saw. When you ask a Pbind stream for its next value, the result is an object called an Event . Like a Dictionary (which is ...
-
... he difference. ( { var in; in = SinOsc .ar( SinOsc .kr(0.2,0,400,500), 0, 0.4); Out .ar(0, in - MantissaMask .ar(in, 3)); }.play ) // preserve 7 bits of mantissa. // This makes the lower 16 bits of the floating point number become zero. { M ...
-
... ve to know how a graph works or that it even exists. If you wish to know more about graphs, visit the Wikipedia at http://en.wikipedia.org/wiki/Graph_(data_structure). Or, go to http://www.nist.gov/dads/HTML/graph.html ///////////////////// ...
-
... ar trig, index; trig = Impulse .kr(6); index = TWindex .kr(trig, [w1, w2, w3]); Out .ar(0, SinOsc .ar( Select .kr(index,[400, 500, 600]), 0, 0.2 ) ) }).play; ) a.setn(0, [0,0,1].normalizeSum); a.setn(0, [1,1,1].normalizeSum); a.setn(0, [1,0 ...
-
... of two envelopes with modulated times. // example ( SynthDef ( \env_help , { | out, gate = 0 | var z; z = EnvGen .kr( Env .adsr, gate) * SinOsc .ar(440, 0, 0.1); Out .ar(out, z) }).send(s); ) a = Synth( \env_help); // turn on a.set( \gate ...
-
... tz of the three oscillators phase - phase offset or modulator in radians note about wavetables: VOsc3 requires the b_gen sine1 wavetable flag to be ON. ( s = Server .local; // allocate and fill tables 0 to 7 8.do({ arg i; var n, a; // alloc ...
-
... // start the server s.boot; // define a synthesis engine SynthDef ( "sine" , { Out .ar(0, SinOsc .ar(440, 0, 0.2)) }).send(s); // schedule (run) synthesis s.sendMsg( "s_new" , "sine" , n = s.nextNodeID, 0, 1); // stop the synth (delete it) ...
-
... トが関数です。 ( SynthDef ( "aSynthDef" , // SynthDef の名前 { // ugenGraphFunc arg freq; Out .ar( 0, SinOsc .ar(freq, 0, 0.1) ) } ).load(s); ) //////////////////////////////////////////////////////////////////////////////////////////////////// Synth ...
-
... 520, 380), parent: w); ) // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( var a ...
-
... only SynthDef ( "aMonoSamplePlayer" , { arg bus = 0, bufnum = 0, rateScale = 1; Out .ar( bus, PlayBuf .ar( 1, bufnum, BufRateScale .kr(bufnum) * rateScale ) * EnvGen .kr( Env .sine( BufDur .kr(bufnum))) ) }).load(s); ) ( // test the synthde ...