-
... ( \freq, 100 )); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) sound example ( SynthDef ( \sinegrain , { arg out=0, freq=440, gate=1; var env; env = EnvGen .kr( Env .asr(0.001, 1, 0.2), gate, doneAction:2); Out .ar(out, SinOsc .a ...
-
... ndow is focussed toggles the lock, and the window can be used to edit the data. Examples (See some of the classes linked above for more examples) // Arrays [5, 6, 7, 6.5, 4.5, 3.5].plot( "Some data" ) [5, 6, 7, 6.5, 4.5, 3.5].plot( "Some da ...
-
... ditor overviewing all current Ndefs: NdefMixer A general overview: JITLib First Example s.boot; Ndef ( \a ).play; // play to hardware output. Ndef ( \a ).fadeTime = 2; // fadeTime specifies crossfade // set the source Ndef ( \a , { SinOsc . ...
-
... n using this code. When copying such code for reuse with other SC3 classes (for example in a reusable SynthDef), it will usually be necessary to add an Out.ar. Although useful for quick testing these methods are generally inferior to SynthD ...
-
... er language like sc makes it easy to share code with others. Apart from sending examples and pieces by email, you can use public repositories to make them available: If you like to add some code, or even create your own little webspace on t ...
-
... buffer can be reallocated at any time, using .ir will not track the changes. // example; this buffer is mono, so the number of samples matches the number of frames s.sendMsg( "/b_allocRead" , 0, "sounds/a11wlk01.wav" ); // indexing with a p ...
-
... erview: JITLib *new(object) create a new instance object - an object or nil. // example: a = Maybe .new; b = Maybe (a + 6); b.value; // => nil a.value = 1; b.value; // => 7 source return the contained object source_(obj) set the contained o ...
-
... ter an action, which is called when the model invokes changed(what, moreArgs) . Examples: ( var controller, model, view; model = Ref (0.5); controller = SimpleController (model); controller.put( \value , { |theChanger, what, moreArgs| view. ...
-
... [a, b]); t = c.asStream; 20.do({ t.next( Event .default).postln; }); ) // sound example ( var a, b; a = Pbind ( \note , Pseq ([7, 4, 0], 4), \dur , Pseq ([1, 0.5, 1.5], inf )); b = Pbind ( \note , Pseq ([5, 10, 12], 4), \dur , 1); Ppar ([ a ...
-
... ( \freq , 100)); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) sound example ( SynthDef ( \sinegrain , { arg out=0, freq=440, gate=1; var env; env = EnvGen .kr( Env .asr(0.001, 1, 0.2), gate, doneAction:2); Out .ar(out, SinOsc .a ...