-
... i].midicps; var env = Env.perc.ar(Done.freeSelf); SinOsc.ar(freq) * 0.1 * env }.play; 0.2.wait } } ) ⧉ ✔ . clipAt ( index ) Similar to -at , but guarantees that any value for index is valid by clipping values outside the collection's bounds ...
-
... synth = { |bufnum, freq = 100, amp = 0| (Osc.ar(bufnum, freq) * amp).dup }.play(args: [bufnum: buffer]); freqSlider.value_(100.explin(5, 500, 0, 1)) .action_({ |view| synth.set(\freq, view.value.linexp(0, 1, 5, 500)) }); ampS ...
-
... v+(amp.lagud(atk, rel)*(2-onEnv))); Out.ar(outBus, snd*env*(vol.dbamp.lag)); }).play(grp, [\sGliss_bus, bus, \outBus, outbus]++arguments.asKeyValuePairs, \addToTail); controllers.add(( frequencies: SGlissFrequencies(maxNumVoices, grp, argum ...
-
... is.new( name, rect, *more ); } *names { ^drawFuncs.keys } // use: // DrawIcon( \play, Rect( 20, 20, 30, 30 ) ) // within a drawfunc this will draw a "play" icon centered in the given rect *initClass { // add more later drawFuncs = ( none: { ...
-
... awSelected fontRatio maxFontSize unselectedRatio setColorAll setFontColorAll displayAltValue svgRatio Internal Methods draw prResizeSVGs Inherited instance methods Examples Classes (extension) | GUI > Graphical Module'>Graphical Module GMMu ...
-
... ents by the same function name across different devices - e.g. call one button \play, another \stop, no matter what its name in the device description may be: k = MKtl(\nk2, "*trol2"); // in a nanoKontrol2, put all transport buttons (in gro ...
-
... idiRecorder.notNil ) { this.midiRecorder.addType( \cc, i, 7, val * 127 ); }; } *playFile { |file, doneAction| // file = midiFile var events; events = file.asDicts.select( { |item| ( (item.type === 'cc') && { item.val1 === 7 } ); } ); events ...
-
... ine d = Buffer.read(s, ExampleFiles.child); ( x = { var in, fft, array; // in = PlayBuf.ar(1, d, BufRateScale.kr(d), 1, 0, 1); in = SoundIn.ar(0); fft = FFT(LocalBuf(1024), in); // for sampling rates 44100 and 48000 // fft = FFT(LocalBuf(20 ...
-
... Pat[0], hiWhinePat[1] ]), drop[0], loTonePat[2] ]); song.play; )
-
... now makes objects invisible rather then destroying them 2005-12-16 removed tuio.play call in TUIO_OSCServer-setFunc_ */ SETOServer { var <knownObjs; var objectIDs; var <format; var <realFormat; var setoClass; /** function defining how to co ...