-
... attackTime: att, sustainLevel: sus, releaseTime: rel ).kr(doneAction: 2, gate: gate, mul: amp); modulator = SinOsc.ar(modfreq).range(0, 1); carrier = SinOsc.ar(freq: freq, mul: env * modulator); Out.ar(0, P ...
-
... ing Standalone Template.app by editing the contents in its folder, which can be done without requiring XCode or any other development environments, described in Modifying_Standalones , or B. Creating a standalone application from scratch, a ...
-
... use SATIE defined Synths, we need to make them available globally. This can be done with: SynthDescLib.global.add(~satie.synthDescLib.at(\saw)) ⧉ ✔ Another detail that needs attention is that SATIE Synths are being placed in SATIE controll ...
-
... Desktop/test".standardizePath, s); // set a function to be called when setup is done. o.onReadyFunc_({"Booted!".postln;}); // run setup! o.setup; // using the template functionality to create a CtkSynthDef prototype o.createTemplateSynthWit ...
-
... T_MAXSIZE" defined in the SC source code.) Larger convolutions than this can be done using PartConv . mul add Inherited class methods Instance Methods Inherited instance methods Examples ( // allocate three buffers b = Buffer.alloc(s, 2048) ...
-
... roup with Node-setn or n_setn. When setting such controls no bounds checking is done , so you are responsible for making sure that you set the correct number of arguments. See the examples below for more detail on how this works. Certain ar ...
-
... .5); Ndef(\test).vol_(spec.map(newUnmappedVol)) }; // both should eventually be done with SmartSetter. // some example actions for the pads and buttons: k.elAt(\pad).action = { |el| [el.name, el.value.round(0.001)].postln }; k.elAt(\pad).ac ...
-
... music, it's necessary to control when things happen. In SuperCollider, this is done by scheduling things on clocks. Clocks A clock in SuperCollider has two major functions. It knows what time it is, and it knows what time things are suppos ...
-
... nvelope env = EnvGen.kr( Env([0, 1, 0], [0.5, 0.5], \sin), timeScale: duration, doneAction: 2); // Encode into our foa signal foa = FoaPanB.ar(src, theta, phi, env); Out.ar(outBus, foa); }).add; // Decoding Synth SynthDef(\foaDecode, {arg i ...
-
... notes, properties] } empty { notes = Array.new; } convertToDeltas { // must be done only once!! var baseTime, runningTime, i; notes = notes.copy.sort({ |a, b| a.dur < b.dur }); (absoluteOnsets and: (notes.size > 0)).if({ baseTime = notes.f ...