-
... alignment flag to fine tune how its size and position are managed. This can be done at layout construction , when an item is added or inserted or for an already present item with -setStretch and -setAlignment methods. The stretch factor on ...
-
... tchRatio: stretch); eg = EnvGen.kr(Env.linen(attack, time, decay), sig.abs > 0, doneAction: Done.freeSelf); Out.ar(out, (sig * eg) ! 2) }).add; // note add! Without this, arguments won't work ) ( TempoClock.default.tempo = 1; p = Pbind( \in ...
-
... pbt, 0, \on); k.elAt(\pbt, 0, \on); // ... in longhand, this adding can also be done with: k.elAt(\pgKn1).do { |grp| k.addNamed(grp.name, grp) }; // and add first sliderbutton page as well k.toFront(\pgSl1); k.elAt(\sl, 0); k.elAt(\bt, 0, \ ...
-
... .boot; ) // This is how dynamic scope placeholding of a ListPattern // could be done with Plazy, // Pn defaults to repeats = inf. ( p = Pn(Plazy { Pseq(~a, 1) }); ~a = (60..70); x = Pbind( \midinote, p, \dur, 0.2 ).play; ) // First drawback ...
-
... 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) ...
-
... 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 ...
-
... n to Objects , Polymorphism Introduction Sending messages is the way things get done in an object oriented language. A message consists of a message selector which names the type of operation, a receiver to which the message is sent and in ...