-
InstrSpawner : Patch { classvar <>latency=0.07; var <>deltaPattern, <deltaStream, <delta; var streams, sendArray, firstSecretDefArgIndex, spawnTask, <clock, <spawnGroup; *new { arg func, args, deltaPattern = 1.0; ^super.new(func, args).delt ...
-
... } { |err| e = err }; // ERROR: year must be a valid Integer this.assertEquals(e.class, PrimitiveFailedError, "missing year"); d = Date(2017, 10, 25); this.assertEquals( [d.asSortableString, d.dayOfWeek], [ "20171025000000", 3], "dayOfWeek i ...
-
... = inTuning.asString; }, { ("Unknown tuning: " ++ inTuning).warn; tuning = this.class.calcDefault(inStepsPerOctave); name = this.class.defaultName(inStepsPerOctave); }) }); } cents_ { |cents| ^this.tuning_(cents / 100) } ratios { ^tuning.mi ...
-
... es, with changeable tempo and direction, etc. To use a gamepad with the Gamepad class, it has to have: 2 analog joysticks, 4-direction compass, 4 numbered buttons, and 4 buttons on the shoulders. The Saitek company makes pretty good models; ...
-
/* * Mosca: SuperCollider class by Iain Mott, 2016. Licensed under a * Creative Commons Attribution-NonCommercial 4.0 International License * http://creativecommons.org/licenses/by-nc/4.0/ * The class makes extensive use of the Ambisonic To ...
-
//Query Functions for SuperSampler by Allen Wu SamplerQuery { classvar <> playing; //a temporary dictionary for all sounds that is playing for applying .set() to sounds after it's triggered, it is set by midi channels. *initClass { playing ...
-
... Frik //--vector of any dimension RedVector[float] : FloatArray { species {^this.class} mag {^this.sum{|x| x*x}.sqrt} distance {|redVec| ^(this-redVec).mag} manhattan {|redVec| ^(this-redVec).abs.sum} dot {|redVec| ^(this*redVec).sum} normal ...
-
... tSynchronous; //Use pitchIn control bus for pitch input if supplied if (pitchIn.class == Bus) { pitch = pitchIn.getSynchronous } { pitch = controlBus[3].getSynchronous.cpsmidi.round(1); }; currentcycle = controlBus[4].getSynchronous; if ((a ...
-
... ys has very low initial velocity value, -> better not use it. - The Manta quark class Manta has its own noteOn logic, which could be ported. /// TESTS: // start MantaCocoa app "/Applications/manta*" +/+ "MantaCocoa.app".openOS; // in MantaC ...
-
... llers do nothing Writing your own controllers All MIDI controllers should be subclasses of AbstractMIDIControl. The abstract class handles the details of initializing the MIDI channel and placing the controller into the hierarchy. The *new ...