-
... dex , obj ) From superclass: Order Put a value at the desired index. This works just like all ArrayedCollection types. Behind the scenes the class will ensure the compact representation (deciding whether to store the value explicitly or imp ...
-
... tton); window.front; ) ⧉ ✔ As we already knew the command to play the synth, we just have to configure the button to evaluate this command when it is pressed . It is also posting a message to the console, which might be useful for debugging ...
-
... with that control, it's fine // and b/ if you're controlling it from MIDI/OSC, just stick with that. // JITLib synth args don't broadcast updates // polling is the only way startAliveThread { if(aliveThread.isNil) { aliveThread = SkipJack( ...
-
... set the OpenBCI: -replyAction . note that if none give a default function that just posts will be used. initAction set the OpenBCI: -initAction bufferSize how many datapoints to store in the internal buffer. Inherited class methods Instanc ...
-
... chan 0, scene 1: 0 - 15 scene2: 16 - 31 scene 3: 32 - 47 scene4: 48 - 63 */ // just one bank of knobs defaults.put(this, ( 1: ( kn01: '0_0', kn02: '0_1', kn03: '0_2', kn04: '0_3', kn05: '0_4', kn06: '0_5', kn07: '0_6', kn08: '0_7', kn09: ' ...
-
... l. Instance Variables (Members) Instance variable–like things can be created by just adding keys to an IdentityDictionary a = (meow: 10) a.meow // 10 a.meow = 20; a.meow // 20; ⧉ ✔ Unlike normal classes, you can create new instance variable ...
-
... , dur: dur, degree: 7.rand).play; dur.wait; }; }).play; ) e.put(\amp, 0.03); // just set it e.put(\amp, 0.1); e.softPut(\amp, 0.11); // small change, OK to set e.put(\amp, 0.1); e.softPut(\amp, 0.15); // no bigger change e.softPut(\amp, 0.1 ...
-
Use this synthdef as an effect and just make the \go parameter from 0 to 1 to activate. When you transition from 0 to 1, it will record a buffer of length \repms (in miliseconds) and will loop this recorded chunk for as long as \go=1. Th ...
-
... ecessarily make much sense if the music being tracked has swing; it is provided just as a convenience. This beat tracker determines the beat, biased to the midtempo range by weighting functions. It does not determine the measure level, only ...
-
... ay; c.play; // SynthDefs ( // simple synthdef, no filters or effects, just env and panning control SynthDef("granny1", {arg rate = 1, amp = 1, buffer, startPos = 0, attack = 0.02, release = 0.5, panning = 0; var snd, env; ...