-
... e,oldState].postln; if( newState == \playing ) { views[\play].value = 1; views[\pause].value = 0; { views[\prepare].stop }.defer }; if(newState == \stopped ) { { views[\prepare].stop; }.defer; views[\pause].value = 0; views[\play].value = 0 ...
-
... rce.free; }; bus = proxy.asBus.as(SharedBus); player = source.wrapInFader(bus); paused = proxy.paused; ^true // maybe add a test later } playToBundle { arg bundle, extraArgs, target, addAction=\addToTail; if(player.readyForPlay.not) { playe ...
-
... rce.free; }; bus = proxy.asBus.as(SharedBus); player = source.wrapInFader(bus); paused = proxy.paused; ^true // maybe add a test later } playToBundle { arg bundle, extraArgs, target, addAction=\addToTail; if(player.readyForPlay.not) { playe ...
-
... e,oldState].postln; if( newState == \playing ) { views[\play].value = 1; views[\pause].value = 0; { views[\prepare].stop }.defer }; if(newState == \stopped ) { { views[\prepare].stop; }.defer; views[\pause].value = 0; views[\play].value = 0 ...
-
... skPlaying.asInteger; q.taskPlaying.if({ Tdef(\player).resume; },{ Tdef(\player).pause; }) } }; m.elementAt(\btCtl, \record).action = {|el| (el.value > 0).if{ Tdef(\player).stop.play.pause; q.taskPlaying = false; m.elementAt(\btCtl, \play).d ...
-
... Chordtris Game Chordtris { // game instance classvar instance; // menu item to pause the game classvar <pauseItem; // menu item to resume the game classvar <resumeItem; // The Window Chordtris is displayed in var <window; // Composite View ...
-
... { |group, outBus, dryBus, effectBus, orbitIndex| this.release; synth = Synth.newPaused(name.asString ++ numChannels, [\outBus, outBus, \dryBus, dryBus, \effectBus, effectBus, \orbitIndex, orbitIndex] ++ state.asPairs, group, \addAfter ); sy ...
-
... = false){ "error ! isPlaying should be false".throw }; } ) //play 3 seconds and pause for 1 seconds then stop; //note that the pause will not stop the chain from playing, but does halt the timeline ( z = UScore( UChain(0,0,10,\sine, \wfsSta ...
-
... it; } // input { ^currentState/4 } // input_ { | in| this.perform(#[stop, play, pause].at((in * 4).asInteger)) } value { ^currentState } value_ { |v| this.perform(#[stop, play, pause].at(v)) } // init { server = Server.default; players = [] ...
-
... pecial symbols. Morse .timesFor($a); // [ 0.1, 0.1, 0.3, 0.3 ] dot (inside-char pause) dash (inside-word pause) *word (word) get the time lists for a word. word - a string without blank space. Morse .word("SOS").printAll; [ 0.1, 0.1, 0.1, 0 ...