-
... / task.play (clock) pattern.play (clock, protoEvent) Playing single Synths from SynthDefs on the server function.play (target, outbus, fadeTime, addAction, args) synthDef.play (target, args, addAction) Reference | Common methods play Start ...
-
One answer to the question "how to use the SynthDef's default argument in an Event?" // This question comes up sometimes. // one way to do it is to define an event type: ( Event.addEventType(\dnote, { |server| var instrument = ~ ...
-
... { ~b1.free; ~b2.free; }); ~b1 = Bus.audio(s, 2); ~b2 = Bus.audio(s, 2); SynthDef(\sound1, { | out=0 | var sig = SinOsc.ar(LFNoise0.ar(4, 400, 450), 0, 0.2); Out.ar(out, sig!2); }).add; SynthDef(\sound2, { | out = 0 ...
-
... gInstr { *new { ^super.new.initXiiLoadXiiLangInstr; } initXiiLoadXiiLangInstr { SynthDef(\xlang_shake, {arg out=0, amp=1; var buffer, player, env, signal; buffer = Buffer.read(Server.default, "/Users/thor/Library/Application Support/SuperCo ...
-
... with a running Synth . Typically, Controls are created from the arguments of a SynthDef function. related subclasses are: TrigControl, LagControl. For a more concise combination of name, default value and lag, see NamedControl The rate may ...
-
... SuperCollider/SCClassLibrary/Common/Audio/canFreeSynth.sc Examples // trigged ( SynthDef("help-Linen", { |out = 0| Out.ar(out, Linen.kr(Impulse.kr(2), 0.01, 0.6, 1.0, doneAction: Done.none) * SinOsc.ar(440, 0, 0.1) ) }).play; ) // play once ...
-
... ys to synths with patterns. Examples 1.) Alternative writing of arrayed args in SynthDefs ( s = Server .local; Server .default = s; s.boot; ) // SynthDef with array of overtone weights, // weights can additionally be influenced with a dampE ...
-
... f(i != last,{ stream << "," }); }); stream << "]," <<< deltaPattern << ")"; } asSynthDef { var initArgs; ^synthDef ?? { initArgs = args.collect({ arg a,i; var spec; if(a.rate == \stream,{ // use an Ir to reserve an input into the synth. // ...
-
... != last, { stream << ", " }); }); stream << "], " <<< deltaPattern << ")"; } asSynthDef { var initArgs; ^synthDef ?? { initArgs = args.collect({ arg a, i; var spec; if(a.rate == \stream, { // use an Ir to reserve an input into the synth. / ...
-
... input is CPU-expensive. Note that the array is fixed at the time of writing the SynthDef, and the whole array is embedded in the SynthDef file itself. For small arrays this is more efficient than reading from a buffer. Class Methods Select. ...