Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ag has been recieved. Performs valueAction_() using currentDrag as an argument. Examples ( w = Window .new.front; a = TextField (w, Rect (10, 10, 150, 20)); a.string = "hi there" ; a.action = { arg field; field.value.postln; }; ) // does no ...

  2. Scheduler Help

    ... urns whether the scheduling queue is empty. clear clear the scheduling queue // example: a = Scheduler ( SystemClock ); a.sched(3, { "now it is 3 seconds." .postln; nil }); a.sched(5, { "now it is 5 seconds." .postln; nil }); a.sched(1, { " ...

  3. Speech Help

    ... t to system input (either by hardware of by software) to rout it to the server. examples: Speech .init(2); Speech .channels[0].speak( "hallo" ); Speech .channels[0].isActive; Speech .channels[0].voice_(3); Speech .channels[0].speak( "hallo" ...

  4. Phasor Help

    ... ound file b = Buffer .read(s, "sounds/a11wlk01.wav" ); // simple playback (more examples: see BufRd) // Start and end here are defined as 0 and the number of frames in the buffer. // This means that the Phasor will output values from 0 to n ...

  5. ArrayedCollection Help

    ... sizes) Fills an ArrayedCollection with a counter. See J_concepts_in_SC for more examples. Array .iota(2, 3); Array .iota(2, 3, 4); *fill2D(rows, cols, function) Creates a 2 dimensional ArrayedCollection of the given sizes. The items are det ...

  6. GrainBuf Help

    ... E the mul slot, and you may need to update code to account for this difference. Examples: s.boot; ( var winenv; b = Buffer .read(s, "sounds/a11wlk01-44_1.aiff" ); // a custom envelope winenv = Env ([0, 1, 0], [0.5, 0.5], [8, -8]); z = Buffe ...

  7. SCMovieView Help

    ... An instance of Float . fixedAspectRatio_ (bool) bool - An instance of Boolean . Examples ( w = Window ( "mov" ).front; b = Button (w, Rect (0, 0, 150, 20)) .states_([[ "pick a file" ]]) .action_({ File .openDialog( "" , { |path| m.path_(pat ...

  8. GUI Help

    ... implementation y.postln; // ; the id could be stored in a preferences file for example GUI .swing; // now switch back to the kit implementation with identifier y GUI .fromID( y ); GUI .current.id.postln; // --> cocoa The *use and *useID me ...

  9. 4_Help Help

    ... ->Utilities folder) to search for all occurences of a given word or phrase. For example, to see all documents that use the LFSaw class, evaluate (in the Terminal application) grep -r LFSaw /Applications/SuperCollider_f Because lines in the ...

  10. Pbindef Help

    ... attern at that key (if none is there, a default pattern is created) see Pdef // example: ( SynthDef ( "Pdefhelp" , { arg out, freq, sustain=1, amp=1, pan; var env, u=1; env = EnvGen .kr( Env .perc(0.01, sustain), 1, doneAction:2); 5.do { va ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow