-
... t( $_ )[0].asSymbol, rect.asRect, *args ) }; } } + Pen { *drawIcon { |symbol = \play, rect ... args| if( args.size == 0 ) { ^DrawIcon.symbolArgs( symbol, rect.asRect ) } { ^DrawIcon( symbol, rect.asRect, *args ) }; } }
-
... ' positions (initially not mapped) + if sound is assigned (see below), sound is played when button depressed. + [Shift Button] Button 4 is a 'shift key'. When depressed 1. Sound Buttons don't trigger any sound but select the active slot. Th ...
-
... eeAll(true); // not working yet, 2011_06_14 Ndef(\a, { PinkNoise.ar * 0.1 ! 2}).play; */ ( // { PinkNoise.ar ! 2 }.play; // add a few global filter functions to use - these are then available by name. ProxyChain.add( // filter DC and lows \ ...
-
... Server.default; //from Halim Beere and Henrich Taube StartUp.add({ SynthDef(\ssplaybuf1, {arg buf, rate = 1, dur = 1, amp = 1, pan = 0, bend=nil, out = 0, startPos = 0, gate = 1; var ampctl = Control.names([\ampenv]).kr(Env.newClear(32).as ...
-
... .ar(AudioIn.ar([1,2]), bufnum, 0, 1, 0); // mixes equally with existing data }).play(s,[\out, 0, \bufnum, b.bufnum]); ) a.redraw x = SCWindow.new("aa", Rect(100,100, 600, 200)).front; b = Buffer.read(s,"sounds/a11wlk01.wav"); // 1 channel a ...
-
... oClock \\ \ var <dt = 0.1, <>verbose = false ;\ var fadeTask, fading= false , isPlaying= true ;\ var <rateOfChange = 1.0;\ \ tempo_ \ arg newTempo;\ newTempo = max(newTempo, 1e-256); // zero not allowed. \ rateOfChange = newTempo / this .te ...
-
... y, voice: voiceOrIndex, lang: lang, wait: wait, text: this, cmds: cmds); ^event.play; } // backwards compat speak { |voiceOrIndex, wait = false, lang, dict| this.say(voiceOrIndex, lang, wait, dict); } }
-
... ore elements are uniquely identified by their file name - each element has init/play/stop/free sections that are called as necessary - code outside these sections is ignored but can be used to live code - each element may maintain its own e ...
-
// There are also draw and drawAndPlay methods at Function, which allows // one to see what would be 'play'ed. s.boot; ( { f = LFSaw.kr(0.4, 0, 24, LFSaw.kr([8,7.23], 0, 3, 80)).midicps; CombN.ar(SinOsc.ar(f, 0, 0.04), 0.2, 0.2, 4) }.drawAn ...
-
... oc = Document.current; Task { this.makeWin(message); 0.1.wait; currDoc.front; }.play(AppClock); } { this.setMessage(message); }; } *setMessage { |message| var messSize, fontSize; messSize = message.size; defer { fontSize = (1.64 * txtView.b ...