-
... } didSpawn {} } + UGen { onTrig { |func, value=0.0| if(this.rate != \control, { Error("UGen:onTrig only possible with a control rate signal." + this.rate).throw; }); ^InstrSynthDef.buildSynthDef.onTrig(this, func, value) } onPoll { |func, t ...
-
... se; // got it },{ ("Sample failed to load SoundFile at path: " + soundFilePath).error; }); this.calculate; if(t.notNil,{ this.tempo = t; },{ this.beats = 4.0; this.guessBeats; }); numChannels = soundFile.numChannels; sampleRate = soundFile. ...
-
... e; // got it }, { ("Sample failed to load SoundFile at path: " + soundFilePath).error; }); this.calculate; if(t.notNil, { this.tempo = t; }, { this.beats = 4.0; this.guessBeats; }); numChannels = soundFile.numChannels; sampleRate = soundFil ...
-
... t.at(\beamShapes).first, dim) }, 2, { if((beamDict.at(\edgeFreqs).size != 2), { Error("Must supply two edge frequencies for a two band shelf. Supplied: % ".format(beamDict.at(\edgeFreqs).size)).throw }, { freqs = beamDict.at(\edgeFreqs).sor ...
-
... uffer, appendToExisting = false, metaData| var event, index; if(buffer.isNil) { Error("tried to add Nil to buffer library").throw }; if(synthEvents[name].notNil) { "a synth event with that name already exists: %\nSkipping...".format(name).w ...
-
... ll the set directly: m.data = "abcdefghij"; // setting higher indices throws an error: m.put(20, $x); // wrapPut: m.wrapPut(20, $x); m.data; ⧉ ✔ using the set with the message -next m.next($b); // returns c. m.next($c); // returns d // now ...
-
... s://github.com/Elvis-Budingensis/Dorota@tags/1.0.0` Clean-room test — a compile error in a quark class stops sclang from starting at all, and users will not know why: ```bash mv ~/Library/Application\ Support/SuperCollider ~/Desktop/SC_back ...
-
... ironment.postln; // the value is stored in the environment ~y + ~x; // cause an error: ~y is nil. ~y = -90; // set ~y ~y + ~x; // this works. using a Function as a proxy: // a function can serve the same purpose y = nil ; // empty y first z ...
-
... name| ^objects.removeAt(name) } *start { |addr| if(NetAddr.langPort != 57120) { Error("SC started under a langPort other than 57120. Try quit and restart.").throw // newer versions of SC will not have this limitation. }; if(this.isListening ...
-
... lag_(lag).skdinit } skdinit { // if values is of spec EventStreamSpec, throw an error (Pbind) sched = TempoClock.default; routine = Routine({ var val,server,beatsTillNext,beatLatency; server = this.server; latency = server.latency ? 0.05; b ...