Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (389) Code (16) Doc (119) Help (41) Quark (212) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Streams-Patterns-Events7 Help

    ... sStream; ) The following methods are possible because an EventStreamPlayer is a PauseStream: e.mute; // keeps playing, but replaces notes with rests e.unmute; e.reset; // reset the stream. e.pause; // will resume where paused. e.resume; e.s ...

  2. Routine Help

    ... = Routine { 10.do({ arg a; a.postln; // Often you might see Wait being used to pause a routine // This waits for one second between each number 1.wait; }); // Wait half second before saying we're done 0.5.wait; "done" .postln; }.play; ) // ...

  3. Synth Help

    ... // freq is the first argument, so it's index is 0. out is index 1. x.free; *newPaused(defName, args: [ arg1, value1,... argN, valueN ], target, addAction) As *new above, but creates a node which is paused. This can be started by calling ru ...

  4. Sequencing with Routines and Tasks Help

    ... utine seems more intuitive. r.play; r.stop; There you go -- our first sequence. Pause and resume: Task Routines have one sticky little characteristic that can limit their usefulness as musical objects. Once you stop a routine, you can only ...

  5. Event Help

    ... th defaultParentEvent as parent *silent (dur) returns an event that describes a pause of dur duration. *addEventType(type, func) Event types define alternate play functions that are selected by the value of ~type Methods play play the event ...

  6. Pspawner Help

    ... dur: 0.2, db: Pseq ([-20, -24, -22, -24], inf )]) ); // scales in sequence with pauses sp.seq( Pbind (*[ degree: Pseq ((0..7).mirror), dur: 0.2]) ); sp.wait(0.4); sp.seq( Ppar ([ Pbind (*[ degree: Pseq ((0..7).mirror), dur: 0.2, octave: 4]) ...

  7. NodeProxyEditor Help

    ... open a new editor on the proxy (used in ProxyMixer ) \pausR a button to toggle pause/resume \sendR a button to re-send; alt-click does Rebuild \send just send \rebuild just rebuild \poll poll the proxy // maybe provide later this? \name -> ...

  8. 15_Scheduling Help

    ... array = [ "hello, world" , "what a world" , "i am a world" ]; 3.do({ 1.wait; // pause for 1 second array.choose.postln; }) }); ) Then "play" the routine, eg, send it a .play message. r.play Append a .reset message to the routine so that it ...

  9. TaskProxy Help

    ... e current player (if the TaskProxy is simply used in other streams this is nil) pause / resume / reset / mute / unmute perform player method isPlaying returns true if TaskProxy is running. if a TaskProxy is playing and its stream ends, it w ...

  10. proxyspace_examples Help

    ... f ), \dur , 0.125 * [1, 2, 3, 2/3].choose ); ) using instruments and players // pause and resume do not work yet. // store an instrument ( Instr ( \test , { arg dens=520, ffreq=7000; Ringz .ar( Dust .ar(dens, [1,1] * 0.1), ffreq, 0.02) } ); ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow