Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. proxyspace_examples Help

    ... .ar(u, pan)) }) ); // create a task to repeatedly send grains ( t = Task .new({ loop({ // starts a synth with the current synthdef at index 0 ~out.spawn([ \pmf , [1, 20, 300].choose, \pan , [0, -1, 1].choose]); [0.1, 0.01, 0.25].choose.wait ...

  2. Streams-Patterns-Events4 Help

    ... .0 + 6.0.rand, levelScale: 0.3 ); Out .ar( 0, out ); }).send(s); 0.02.wait; }); loop({ Synth ( "Help-SPE4-EnvirDef-" ++ n.rand.asString ); (0.5 + 2.0.rand).wait; }); }).play; ) Event The class Event is a subclass of Environment. Events are ...

  3. Functions and Sound Help

    ... about the 'index' and 'value' stuff; it's not important just now) This waveform loops, creating the output signal. 'ar' means make the instance audio rate . SuperCollider calculates audio in groups of samples, called blocks . Audio rate mea ...

  4. Sequencing with Patterns Help

    ... t. This routine can then be used exactly like to any other routine -- the while loop used to read out the stream values is exactly the same for both, even though they are written differently. Thus the 'Over the Rainbow' example could be rew ...

  5. recursive_phrasing Help

    ... nmeyer systems (see also Prewrite) // special care is taken so that no infinite loops can happen. // just like with non recursive phrasing, new values override old values, // any values that are not provided within the pattern definition // ...

  6. SimpleNumber Help

    ... conds see String :asSecs for complement ( var start = Main .elapsedTime; fork { loop { ( Main .elapsedTime - start).asTimeString.postln; 0.05.wait } }; ) equalWithPrecision(that, precision) return true if receiver is closer to that than pre ...

  7. Order-of-execution Help

    ... q , rrand(1000, 15000), \pan , 1.0.rand2, \bus , b, \lfobus , l]); 0.07.wait; }.loop; }).play( SystemClock ); ) ~dist.run( false ); // proves that the distortion effect is doing something ~dist.run( true ); // to clean up: ( r.stop; [~synth ...

  8. GUI-Overview Help

    ... he server, and waits for a response before it sets the StaticText. 0.01.wait; }.loop }.play }); CmdPeriod .doOnce({w.close}); w.onClose={r.stop; q.free; b.free }; //clean up if the window closes ) Here an OSCreponder changes a gui. See OSCr ...

  9. Pattern Help

    ... 0], 2) ), \dur , PstepNadd ( Pseq ([1, 0, 0, 1], 2), Pshuf ([1, 1, 2, 1], 2) ).loop * (1/8), \legato , Pn ( Pshuf ([0.2, 0.2, 0.2, 0.5, 0.5, 1.6, 1.4], 4), inf ), \scale , #[0, 1, 3, 4, 5, 7, 8] ).play;

  10. Document Help

    ... e some text ( var time = Main .elapsedTime; a = List .new; r = Routine { |char| loop { a = a.add([char, Main .elapsedTime - time]); char = 0.yield; } }; Document .new( "type some text" ) .bounds_( Rect (100, SCWindow .screenBounds.height-25 ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow