-
... TextView.background = Color.black; voiceCodeTextView.stringColor = Color.white; AppClock.sched(0.1, { voiceCodeTextView.background = Color.white; this.prRecolorString; }); voiceError = false; { voiceCodeTextView.string.interpret; }.try({ | ...
-
... " leaf:"++a.currentLeaf).post; (" value:"++a.value).postln; 0.4.wait; })}).play(AppClock); ) //--changing position and font while active a.value_(['aaa']) a.bounds_(Rect(30, 30, 100, 20)); a.font_(Font("Geneva", 10)); a.refresh a.value; a.s ...
-
... Close_({controllers.do{|x| x.remove}}); CmdPeriod.doOnce({this.close}); }).play(AppClock); } close { if(win.isClosed.not, {win.close}); } }
-
... } ); (TempoClock.default.tempo.reciprocal / resolution).yield; }); }, AppClock).play(quant:[0]); // app buttons Button(w, Rect(5,5, w.bounds.width - 10 / 7, 20)).states_([['reset']]).action_({ |b| synths_generator.(); button ...
-
... ct| act.string == "Add to Session" }).menu.front; plusButtonTask = nil; }.fork( AppClock ); }) .action_({ plusButtonTask !? _.stop; plusButtonTask = nil; session.add( UScore().name_( "Untitled %".format( session.objects.size + 1 ) ) ) }); t ...
-
... Êarg v, char; var string; if(char === Char.tab) { this.sendChat(v.string.copy); AppClock.sched(0.1, { v.string = "" }); } }); this.startChatResponder; } stop { skipjack.stop; this.removeChatResponder; } getState { var state, names; if (obje ...
-
... wtPosView.refresh; wtPosBox.value_(wtIndex); 0.02.wait; }); }.fork(AppClock); }); )
-
... ffers([filepath]); // only one sound added, stick it in an array anyway }).play(AppClock); }); startButt = Button.new(win, Rect(62, 472, 48, 16)) .font_(Font.new("Helvetica", 9)) .canFocus_(true) .states_([["start", Color.black, Color.clear ...
-
... ln; }; if(pasteDropFlashPoints.notNil and: { pasteDropFlashPoints.size > 0 }) { AppClock.sched(0.45, { pasteDropFlashPoints = List.new; if(canvas.notNil) { canvas.refresh }; nil }); }; selectedRegionPoints = List.new; rectStart = nil; rectE ...
-
... ] << ", " <<< item[\spec] << ");\n"; }; }; // also need to wait a tick (this is AppClock, it's OK even if MIDI init takes awhile) // and return the JMMIDI object stream << "\t0.1.wait;\n\tnew;\n}.value"; } } JMMidiView : SCViewHolder { var ...