-
... //////////////////// // Note: This SynthDef used throughout this document ( s = Server .local; SynthDef ( \help_SPE3_SimpleSine , { arg freq, sustain=1.0; var osc; osc = SinOsc .ar( [freq,freq+0.05.rand] ) * EnvGen .ar( Env .perc, doneActio ...
-
... nds.moveBy(100, -150); g.window.name = "Freq"; ); ) // Sound example ( // start server s.waitForBoot({ var w, startButton, noteControl, cutoffControl, resonControl; var balanceControl, ampControl; var node, cmdPeriodFunc; // define a synth ...
-
... ockSize , where blockSize is the number of samples in one control period of the Server in use. The imag output is offset by -pi/2 radians with respect to real . [ 1 ] - Weaver, Donald. “A Third Method of Generation and Detection of Single-S ...
-
... en( 1103, 53251 ); // open the Run'N' Drive game controller s.boot; // boot the server Ndef( \sinewave, { |freq=500, amp=0.1| SinOsc.ar( freq, 0, amp * 0.2 ) } ); Ndef( \sinewave ).play; ~freqRange = [500, 5000, \exponential].asSpec; // cre ...
-
... y Marty Carlton ( ///////////////////////////////////////////////////////GUI Server.default.waitForBoot({ var fx; var fxSynth = { SynthDef.new(\masterFX, { arg input, pos = 0, delayTime = 0, decayTime = 0, level = 1; var ...
-
... oherent. m = MixerChannel .new( "lead" , s, 1, 2, level:0.4); // allow time for server to boot if needed // execute all of the following ( var sens; sens = { arg scaler, value, sense; // for building the instrument (scaler == 0).if({ 1 }, { ...
-
... oherent. m = MixerChannel .new( "lead" , s, 1, 2, level:0.4); // allow time for server to boot if needed // execute all of the following ( var sens; sens = { arg scaler, value, sense; // for building the instrument (scaler == 0).if({ 1 }, { ...
-
... h + 2),bounds.height) ) .applySmoothSkin .action_({ |vw| var sampleRate; if( useServerSampleRate ) { sampleRate = ULib.servers.first !? _.sampleRate ? 44100; } { sampleRate = vws[ \val ].sampleRate; }; vws[ \val ].numFrames = (vw.value * sa ...
-
... might be tempting to loop a PlayBuf so that the loop runs automatically on the server, but it can easily drift out of sync with the client (because of slight deviations in the actual sample rate). Instead, it is better to define a SynthDef ...
-
... lue; // fire action at least once ^target; // return array of actually prepared servers } prepareAndStart{ |target, startPos = 0| var task, cond; cond = Condition(false); task = fork { var action; action = { cond.test = true; cond.signal }; ...