-
... os= 0, <>dur= 0.2, <>pan= 0, <>amp= 1, <>mute= false, <>latency= 0.05, <server, task; *new {|server| ^super.new.initRedGrain(server); } initRedGrain {|argServer| server= argServer ?? Server.default; } *initClass { ServerBoot.addToAll({ //bu ...
-
... 01, USA. */ Qwerty{ var <win, keys; var notes, lowest, v, h; var buttons,synths,tasks; *new{|synthdef="no synthdef"| ^super.new.init(synthdef); } getPos{|ch| keys.do{|row,i| var idx = row.find(ch); if(idx.notNil){^[i,idx]}; } } init{|synthd ...
-
OverlapTexture { var <>synthdef, <isPlaying, task, server; *new {arg synth, inserver; ^super.new.init(synth, inserver); } init {arg synth, inserver; synthdef = synth; server = inserver ? Server.default; } play {arg overlaps, susdur, transdu ...
-
... ll need to use the SystemClock to get accurate/musical scheduling. *sched(delta,task) the float you return specifies the delta to resched the function for AppClock .sched(0.0,{ arg time; ["AppClock has been playing for ",time] .postln; rran ...
-
... back files recorded with IBVArecorder IBVAplayer { var <ibva, <sr, oldSr, data, task; *new {|ibva| ^super.new.initIBVAplayer(ibva); } initIBVAplayer {|argIbva| ibva= argIbva; } prepare {|path| var dict= IBVAfile.read(path); sr= dict.sr; dat ...
-
... = changeTime; deviation = changeDev; }); } addLine {arg thisObject; var string, task; task = { inf.do{ if(megaString.size == 0, { string = thisObject.asString ++ 13.asAscii; text.addString(string.asString); text.select(text.selectionStart, ...
-
... t 4 EventStreamPlayer uses the same control methods and status notifications as Task . Class Methods EventStreamPlayer. new ( stream , event ) NOTE: You do not explicitly create an EventStreamPlayers, they are created for you when you call ...
-
UDragBin { classvar <>current; var <>view; var <>canReceiveDragHandler; var <>task; var <>color; *new { |parent, bounds| ^super.new.view_( UserView( parent, bounds ) ).init; } init { color = Color.blue; view.canFocus_( false ); view.canRece ...
-
Sequencing with Routines and Tasks When you schedule a function (as in the Scheduling Events tutorial), the function always begins at the beginning and runs through to the end. For sequencing, it's more useful to have a control structure th ...
-
... rn specifies the delta to resched the function for. Returning nil will stop the task from being rescheduled. ( AppClock.sched(0.0, { |time| ["AppClock has been playing for ", time].postln; rrand(0.1, 0.9); }); ) ⧉ ✔ ( t = Main.elapsedTime; ...