-
... 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 ...
-
... = 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; ) // ...
-
... // 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 ...
-
... 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 ...
-
... 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 ...
-
... 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]) ...
-
... 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 -> ...
-
... 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 ...
-
... 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 ...
-
... 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) } ); ...