-
... has two ways to define a spec for a given parameter name: // implicitly in the synth function(s), as in Ndef(\x, { Pulse.ar(\freqx.kr(200, spec: [3, 300, \exp])) }); // which one can access with Ndef(\x).specs; Ndef(\x).specs[\freqx]; // a ...
-
// Andrea Valle jan 2010 // Extensions fo SynthDef and Synth, see SynthDefAutogui help + SynthDef { autogui { arg aSynth, rate = \audio, target, args, addAction=\addToTail, closeOnCmdPeriod = true, freeOnClose = true, window, step = 50, hOf ...
-
... up,bundle,bus: bus); this.assert(bundle.preparationMessages.notNil,"should have synth defs of envdSource"); } test_release { var p; p = EnvelopedPlayer( Patch({ SinOsc.ar * 0.1 }), Env.adsr(releaseTime: 1.0), 1 ); p.play; 0.5.wait; p.releas ...
-
... x r.remove; // stop receiving (or cmd-.) // example 3: as a method for Node or Synth y = { SendTrig.kr( Impulse.kr(1), 10, WhiteNoise.kr ) }.play; y.onTrig_( _.postln ); // adds a ReceiveTrig to the Synth y.free; // also removes the Receiv ...
-
... var sl; sl = this.forServer(server); if(sl.notNil,{ func.value(sl) }) } filterBySynthDef { arg defName; ^this.matchMsgs({ arg m; m.matchSynthDef(defName) }) } filterBySynth { arg nodeID; ^this.matchMsgs({arg m; m.matchSynth(nodeID) }) } fil ...
-
... ntrol of data. // You can also work with a single slot of a node, and control a synth: // get a reference to a DataSlot in a variable: a = y.nodes[102].slots[0]; // if the slot has a label, you acces it by its label: a = y[\minibee102_slot0 ...
-
... ent for the Object oriented Classes in the standard SuperCollider distribution (Synth, Buffer, Group, and Bus). The main difference is that these classes can easily be used to populate a CtkScore for NRT synthesis. Disadvantages to the stan ...
-
( SynthDef(\defaultP, { arg out=0, freqBuffersIndex=0, freqBuffers=0, amp=0.1, pan=0, time = 2; var z; var freq = BufRd.kr(1, freqBuffers, freqBuffersIndex, 0, 0); z = LPF.ar( Mix.new(VarSaw.ar(freq + [0, Rand(-0.4,0.0), Rand(0.0,0.4)], 0, ...
-
( s.waitForBoot({ SynthDef(\sinePerc, { var x = SinOsc.ar(\freq.kr([440, 441])); var env = EnvGen.ar(Env.perc(releaseTime: \dur.kr(1)), \trig.kr(0), doneAction: Done.pauseSelf); OffsetOut.ar(\out.ir(0), x * env * \amp.kr(0.5)); }).add; //Wr ...
-
/* GameOfLife WFSCollider - Wave Field Synthesis spatialization for SuperCollider. The Game Of Life Foundation. http://gameoflife.nl Copyright 2006-2010 Wouter Snoei. GameOfLife WFSCollider software: you can redistribute it and/or modify it ...