-
... .kr(5.reciprocal).abs ); car = SinOsc .ar( (freq * carPartial) + mod, 0, mul ); Out .ar( bus, car ) }).load(s); ) ( Synth ( "fm1" , [ \bus , 0, \freq , 440, \carPartial , 1, \modPartial , 2.4]); Synth ( "fm1" , [ \bus , 1, \freq , 442, \car ...
-
... set the values s.listSendMsg( b.allocMsg( b.setnMsg(0, t) ) ); { var index, in, out, f0, fdiff; var bufnum = b; var input; input = MouseX .kr(0, max).round(1); // round to precision index = DetectIndex .kr(bufnum, input); index.poll; SinOsc ...
-
... 0.5) }.play; x.free; // what this example does ( x = SynthDef(\helpSomeUGen, { Out.ar(0, SomeUGen .ar( SinOsc .ar( XLine .kr(1, 1000, 9), 0, 200, 800), 0, 0.25)); }).play; ) x.free;
-
... , { var freq,snd; freq= LFNoise0 .ar(2, 400, 650); snd= SinOsc .ar(freq,0,0.2); Out .ar(0,snd); Out .kr(b.index,freq); // output the frequency to a control bus }).play; r= Routine { { // Set the value of the StaticText to the value in the c ...
-
... ges from nonpositive to positive values ( SynthDef ( "help-TRand" , { var trig, outBus; trig = Dust .kr(10); outBus = TIRand .kr(0, 1, trig); //play on random channel between 0 and 1 Out .ar(outBus, PinkNoise .ar(0.2)) }).play; ) ( { var tr ...
-
... channels { [ Blip .ar(800,4,0.1), WhiteNoise .ar(0.1) ] }.play; Each channel of output will go out a different speaker, so your limit here is two for a stereo output. If you have a supported multi channel audio interface or card then you ca ...
-
... nd minor scales in all transpositions. It assumes a 440 Hz concert A reference. Output is 0-11 C major to B major, 12-23 C minor to B minor //The following files are test materials on my machine; you will subsitute your own filenames here / ...
-
LastValue LastValue.ar(in, diff) LastValue.kr(in, diff) output the last value before the input changed more than a threshhold in input diff difference threshhold d = { arg freq=440; SinOsc .ar( LastValue .ar(freq, 20), 0, 0.2) }.play; d.set ...
-
... er the order of event preparation between different patterns in the client, without desynchronizing sonic events that should play together. PG_06g_Data_Sharing has an example of its use to pass data from a bass pattern to a chord pattern. \ ...
-
DiskOut DiskOut.ar(bufnum, channelsArray) Record to a soundfile to disk. Uses a Buffer . bufnum - the number of the buffer to write to (prepared with /b-write or Buffer.write) channelsArray - the Array of channels to write to the file. The ...