-
... it(); } init { section = 0; wait = 0; rate = 1; position = 0; expand = nil; } //SynthDef env controls are fixed-size; oversized arrays make scsynth read //garbage ("envelope went past end of inputs") — resample on the way in. ampenv_ {|envA ...
-
... \test).play; // the playInside function // example: start a synth explicitly ( SynthDef(\plick, { |out, freq = 220, amp = 0.1, sustain = 1| var sig, env; env = EnvGen.ar(Env([0, amp, 0], [0.001, sustain]), doneAction:2); sig = SinOsc.ar(fr ...
-
... x] }); ^Synth(this, args, (target ?? { gc.server }).asTarget, addAction); } } + SynthDef { playInMixerGroup { |mixer, target, patchType, args| var result; (args.notNil and: { args.includes(\outbus) }).not.if({ args = args ++ [\outbus, mixer ...
-
... ; }); } ) }!numVoices) )); }; clock= TempoClock(1, queueSize:8192); //--audio { SynthDef(\sStream, {|outBus= 0, synBus, atk= 0.1, rel= 1, on= 1, vol= 0| var onEnv= EnvGen.kr(Env.asr(atk, 1, rel), on); var syn= In.ar(synBus, 2)*0.2; var lv= ...
-
... rameterDict.put( ~space.points[3], \freqmod, 300 ); ); s = Server.local.boot; ( SynthDef( \ParameterSpaceHelp, { |out=0,amp=0.2,freq=100,freqmod=40| Out.ar(out, SinOsc.ar( SinOsc.ar( freqmod, 0, 20, freq ), 0, amp ) ); }).send(s); ) x = Syn ...
-
... // *new { |server| settings = SGME_Settings.get; ^super.new.init(server); } *addSynthDef { lag = 0.2; SynthDef(\SGME_Echo, { arg inputBus, inFeedbackBus, inputBusMix, inFeedbackBusMix, inputBusDelay, inFeedbackBusDelay, outputBus, delay, mi ...
-
... server.waitForBoot({ if(server.dumpMode != 0,{ server.stopAliveThread; }); InstrSynthDef.clearCache(server); if(server.isLocal,{ InstrSynthDef.loadCacheFromDir(server); }); this.bufferAndThen(path,do); nil }); },{ this.bufferAndThen(path,do ...
-
... erver.waitForBoot({ if(server.dumpMode != 0, { server.stopAliveThread; }); InstrSynthDef.clearCache(server); if(server.isLocal, { InstrSynthDef.loadCacheFromDir(server); }); this.bufferAndThen(path, do); nil }); }, { this.bufferAndThen(path ...
-
... his.newOSC(\audioplugins, this.getAudioPlugins, "/satie/plugins"); this.newOSC(\synthdefs, this.getSynthDefs, "/satie/synthdefs"); this.newOSC(\pluginDetails, this.getPluginDetails, "/satie/plugindetails"); this.newOSC(\responderAddress, th ...
-
... , gate, doneAction: doneAction); // allows to ensure buffer writing before x in SynthDef with ZeroXBufWr <! x write <! out; ^out } }