-
... fore/after amp: 1 amplitude instrument: nil if nil SoundFile:cue determines the SynthDef (one of diskIn1, diskIn2, ...diskIn16) Where bufferSize , firstFrame , lastFrame are for buffer and playback position, and out , server , group , addAc ...
-
... po = 1.0; // timing test: // parallel streams ( var a, b, x; var times, levels; SynthDef(\pgrain, { |out = 0, freq = 800, sustain = 0.001, amp = 0.5, pan = 0| var window; window = Env.sine(sustain, amp); Out.ar(out, Pan2.ar( SinOsc.ar(freq) ...
-
... rol; var balanceControl, ampControl; var node, cmdPeriodFunc; // define a synth SynthDef("window-test", { arg note = 36, fc = 1000, rq = 0.25, bal=0, amp=0.4, gate = 1; var x; x = Mix.fill(4, { LFSaw.ar((note + {0.1.rand2}.dup).midicps, 0, ...
-
... whatever, we can slide over it // prepare some rhythms in order // use them for SynthDef ( ~rhythmBase = [ [1, 1], [2, 1, 1], [1, 1, 2], ].collect(_.normalizeSum); ~rhythms = ~rhythmBase *.x [1, 2]; ~rhythmNum = ~rhythms.size; ~rhythms = ~r ...
-
... ion; ⧉ ✔ Controlling a very simple sound process s.boot; // using a very simple SynthDef and Synth: ( SynthDef(\blippy, { var snd = Blip.ar( \freq.kr(440).lag(0.1), \numHarmonics.kr(100), \amp.kr(1.0).lag(0.1) ) * 0.5; Out.ar(0, Pan2.ar(snd ...
-
... tening to data from the server // example from SendTrig ( s.boot; s.notify; ) ( SynthDef("help-SendTrig", { SendTrig.kr(Dust.kr(1.0), 0, 0.9); }).add; // register to receive this message a = OSCresponderNode(s.addr, '/tr', { |time, responde ...
-
... default is 1024 o.blockSize = 512; o.numWireBufs = 64 * 16; // for more complex SynthDefs o.memSize = 2.pow(16); // default 2.pow(13) o.sampleRate = 48000; s.makeWindow; s.boot; ) ⧉ ✔ Start the oscilloscope showing all the channels for the ...
-
... ee(OtherClass); .. // use OtherClass .. } .. } ⧉ ✔ Pre-initialized data such as SynthDef s should be deferred to StartUp YourClass { *initClass { StartUp.add { .. } } .. } ⧉ ✔ Inherited class methods Undocumented class methods Class. classe ...
-
... r all. ⧉ ✔ sequence of events When inserting a new function into the proxy, the synthdef is built, sent to the server who sends back a message when it has completed. Then the proxy waits for the next beat to start the synth. When using node ...
-
... MOSCion.showComputerIP; MOSCion.dumpAllOSC; MOSCion.dumpAllOSC(false); s.boot; SynthDef(\test, {arg freq, offset; var out; out = Pluck.ar(PinkNoise.ar.dup, Impulse.kr(0), 0.2, (freq * Lag2.kr(offset, 0.4)).reciprocal, 4, 0.03); DetectSilen ...