Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5266) Code (160) Doc (3338) Help (578) Quark (1166) Plugin (24) SCDoc ↗ Forum ↗ Google ↗
  1. Padd Help

    ... ( \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 ...

  2. plot Help

    ... 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 ...

  3. Ndef Help

    ... 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 . ...

  4. Backwards-Compatibility Help

    ... 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 ...

  5. publishing_code Help

    ... 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 ...

  6. BufSamples Help

    ... 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 ...

  7. Maybe Help

    ... 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 ...

  8. SimpleController Help

    ... 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. ...

  9. Ppar Help

    ... [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 ...

  10. Pmul Help

    ... ( \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 ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow