Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... (0.001); // 2.52 Scale .major( \just ).degreeToRatio(2, 1).round(0.001); // 2.5 Examples ( s.waitForBoot({ a = Scale .ionian; p = Pbind ( \degree , Pseq ([0, 1, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1, 0, \rest ], inf ), \scale , Pfunc ({ a }, i ...

  2. PathName Help

    ... you don't want to overwrite an existing file with the current name. Here is an example that uses many instance methods. Just pick any file to see all the parts of its path. /* ( GetFileDialog.new( { arg ok, path; var myPathName; if (ok, { ...

  3. Pdefn Help

    ... alue patterns globally (for event patterns , see Pdef ). Overview: JITLib First Example s.boot; Pdefn ( \x , Pbrown (0, 6, 0.1, inf )); Pbind ( \note , Pdefn ( \x ), \dur , 0.3).play; Pbind ( \note , Pdefn ( \x ), \dur , 0.1, \ctranspose , ...

  4. PG_07_Value_Conversions Help

    ... . To use events, it is not necessary to understand all of those options. As the examples have shown, a note-playing pattern produces sensible results even specifying only 'degree'. The other parameters allow you to control how the event get ...

  5. SCRangeSlider Help

    ... repectively using the Point (currentDrag.x@currentDrag.y). Performs the action. Examples ( w = Window .new.front; a = RangeSlider (w, Rect (20, 80, 120, 30)) .lo_(0.2) .range_(0.4) .action_({ |slider| [ \sliderLOW , slider.lo, \sliderHI , s ...

  6. JITGui Help

    ... y implementing appropriate variants of the following methods in your class. For examples of these methods, see TaskProxyGui, EnvirGui, NodeProxyGui. setDefaults used to calculate the required onscreen size for the jitGui's zone. Should dete ...

  7. MFCC Help

    ... [fft] - Audio input to track, which has been pre-analysed by the FFT UGen; see examples below for the expected FFT size numcoeff [s] - Number of coefficients, defaults to 13, maximum of 42; more efficient to use less of course! Generates a ...

  8. SCSlider Help

    ... ag has been recieved. Performs valueAction_() using currentDrag as an argument. Examples // the simplest version will give you a very long float ( w = Window .new.front; c = NumberBox (w, Rect (20, 20, 150, 20)); a = Slider (w, Rect (20, 60 ...

  9. NodeMessaging Help

    ... cept lists of values to map onto the controls of Synth nodes, as in some of the examples already given: s.sendMsg( \s_new , \default , n, 0, 0, \freq , 850); n = Synth ( \default , [ \freq , 850]); Argument lists generally appear as alterna ...

  10. Routine Help

    ... psedTime ); 1.0.yield; } }.play; ) r.stop; r.beats; r.seconds; r.clock; Routine Example: ( var r, outval; r = Routine .new({ arg inval; ( "->inval was " ++ inval).postln; inval = 1.yield; ( "->inval was " ++ inval).postln; inval = 2.yield; ...

prev 51 52 53 54 55 56 57 58 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow