-
... ated without named arguments. A Dictionary displays its key/values (rather than just its sparse internal array) Registering a display hook is quite easy: ObjectInsp.registerHook(class,{ arg model,layout; },includeSubclasses); ⧉ ✔ Where incl ...
-
... ntityDictionary(numPreAllocatedBuffers); numPreAllocatedBuffers.do({ | i | //+1 just like Env //+1 for the extra 987654321.0 preAllocatedBuffers[i] = Buffer.alloc(server, (Alga.maxEnvPoints * 4) + 2); }); preAllocatedBuffersCount = 0; } *ad ...
-
/** * This class handles the MIDI (just nk2 for now) */ MSCMidi { var msc, >tracks; var <nk_sources, <nk_source, <nk_dest; var <running = false, <nk_last_seen; *new { |msc| ^super.newCopyArgs(msc).init; } /** * Initialize handles to nanoKon ...
-
... periodically, and play these patterns in succession, one by one. (Plazy embeds just one pattern; wrapping Plazy in Pn does it many times.) The logic in this example is a bit more involved: for each measure, start with arrays containing the ...
-
... dup }.play; ) x.free; // This one subtracts the smoothed version away, to leave just the spiky bits! // This is a fairly well-known basis of noise-removal by spectral subtraction, // which works well if the noise is static or slow-changing ...
-
... if you have a means of saving the lib or the Archive. // or load a subpath // (Just an example, that path must actually exist, and the last item must be a dictionary, not a value) // Deletion will not work if loading a sub-path. MultiLevel ...
-
... milarly to SinOscFB // (of course it would be better to use SinOsc.kr - this is just for demonstration purposes) play { var lfo; var x = SinOsc .kr( 0.02 ).exprange( 0.01 , 0.1 ); // related to the lfo rate lfo = FbK ({ arg fb; fb[ 0 ] = fb ...
-
... to toggle pause/resume \sendR a button to re-send; alt-click does Rebuild \send just send \rebuild just rebuild \poll poll the proxy // maybe provide later this? \name -> { func }; // add your own element... // The default buttons/controls ...
-
... k` 3. Within the module you want to test your local development instance of ms, just link it to the dependencies: `npm link ms`. Instead of the default one from npm, Node.js will now use your clone of ms! As always, you can run the tests us ...
-
... for InstrSpawner and InstrGateSpawner. These spawn single usually short events just like Patterns, so only an initial value is needed, not a continous control input. The default control is an IrNumberEditor, though usually you will be more ...