-
... me *case (... cases ) perform actions depending on the current platform (name), just like Object:switch: Platform .case( \osx , { "OSX" .postln }, \linux , { "Linux" .postln }, \windows , { "Windows" .postln } ); *ideName - returns a String ...
-
... DIClient.sources[0].uid); // if only a single device is connected, you can also just do MIDIExplorer.start; // check we are listening to the intended device only: MIDIExplorer.observedSrcID; MIDIExplorer.deviceName; // now play with all ele ...
-
... r function plays them on trigger from interface */ // two grain-like synthdefs, just to show the concept SynthDef(\whytnoyz, { |out, amp = 0.25, gdur = 0.01, ramp = 4, rq = 0.5| var snd = BPF.ar(WhiteNoise.ar(1 ! 2), ExpRand(400, 15000), rq ...
-
... tyle Guide HTML Help System Publishing Code Crossplatform Third Party Libraries Just In Time Programming Crucial Library Legacy SuperCollider SC3 vs SC2 Backwards Compatibility SuperCollider is free software published under the GPL . SuperC ...
-
last one was just extended synthDefs - this is the FM version I meant to put up.... ( //Some superficial bits have been changed and added to original // CloudGenMini is based on CloudGenerator, a granular synthesis program // by Curtis ...
-
... elf multiplication. squared( Complex (2, 1)) < aNumber Answer the comparison of just the real parts. Complex (2, 9) < Complex (5, 1); == aNumber Answer the comparison assuming that the reals (floats) are fully embedded in the complex number ...
-
... ? []); ^chan } addOutput { arg rate='audio', numChannels=2; // not finished // just creates a default out for now, coming from the master // change this to keep the master as just a normal channel on grid // created by .mixer // the MxOutl ...
-
... rn how to create an ats file a = AtsFile.new("path/to/file.ats").load; ( //play just the resynth, with LFSaw pointing into the file { AtsSynth.ar(a.bufnum, a.numPartials, 0, 1, filePointer: LFSaw.kr(a.sndDur.reciprocal, 1, 0.5, 0.5), mul: 1 ...
-
... speedups by early exit: /// for equal strings if (this == str2) { ^equal }; /// just compare digit-free strings if (this.any(_.isDecDigit).not or: { str2.any(_.isDecDigit).not }) { ^this < str2 }; // if strings begin the same, shorter is le ...
-
... gsString { arg delim = ",", equalSign = "=", prepend = "arg ", append = ";"; // just for posting or export: no backwards version var string = ""; this.keysValuesDo({ |key, value, i| string = string ++ key + equalSign + value; if(i < (this.k ...