-
... 5, 0.75, 0.75, 1.5, 0.75, 0.75, 1.5]), \rel, Pgeom(0.01, 1.25), \reverbMix, 0 ).play; ) ( // by Bruno Ruviaro Pbindef(\apadMH2, \instrument, "apadMH", \degree, Pwhite(-10, 15, inf), \amp, Pwhite(0.06, 0.2, inf), \mtranspose, Prand([ 0, [0, ...
-
... e other buttons should operate as 'momentary' Execute the code below Press the 'Play' button to start the sound Press the 'Stop' button to stop the sound The track arrows increase or decrease the bpm The marker arrows increase or decrease t ...
-
... ound is returned }; /* // for test of "prop" and "event" messages { a=~function.play; s.sync; a.set(\amp, 1); a.set(\randTrigMaxMs, 4000); a.set(\t_trig, 1 ); a.set(\note, [61,1,1]); // t = Task({ { a.set(\t_trig, 1); 1.wait; a=~function.pl ...
-
Player { var <soundfilepath, <sf, <isPlaying = false, <formatOut= \straight, <bufnum, <server, <numchan, <>outbus, <isScope = false, <isGui = false; var initsoundfilepath, initformatOut, initstarttime, initoutbus, initamp, initxywz, initend ...
-
... ets; inlets = []; outlets = [ MxOutlet( "out", 0, AudioSpec(sfp.numChannels), MxPlaysOnBus({sfp.bus}) ) ]; ~source = sfp; MxUnit(sfp, inlets, outlets); }, // should be able to inherit prepareToBundle: { arg agroup, bundle, private, bus; ~so ...
-
... // equivalent q.b[[ \y , \c , \z ]] = [ nil ]; // equivalent ( SynthDef ( "help_PlayBuf" , { arg out=0, bufnum=0, sustain=1, amp=0.1, rate=1, offset=0; Out .ar(out, EnvGen .kr( Env .linen(0, sustain, 0.02), doneAction:2) * PlayBuf .ar(1, bu ...
-
... ostln}); SystemClock.sched(1, {\bar.postln}); Pbind(\degree, Pseq((1..4), inf)).play(~slave1, quant: 1); Pbind(\degree, Pseq((5..8), inf)).play(~slave2, quant: 1); ~master.tempo = 3; Pbind(\degree, Pseq((2..5), inf), \dur, 3, \octave, 6).pl ...
-
... r= colors[i].alpha= 0.5; Pen.fillOval(Rect.aboutRedVector2D(cent, 15)); }; }; w.play; CmdPeriod.doOnce({w.close}); ) //--play with the number of centroids/clusters ~k= 15 ~k= 50 ~k= 1 ~k= 2 ~k= 3 //--add some gravity to make things harder ~ ...
-
... xLauncherItemView : View { var <>bufferpool, mainLayout, <patternBoxView, togglePlay, dragBothPanel, sliderVolume, buttonShowPatternBox, buttonRemove, buttonMoveUp, buttonMoveDown; var onCommandPeriodFunc, <>actionRemove, <>actionInsertPatt ...
-
... // only first channel of the file is read \ \ /* test\ q.buffers.choose.choose.play \ \ q.sfile = SoundFile.openRead(q.directory ++ q.filenames[\ ][6]);\ \ q.sfile.numChannels\ q.sfile.close;\ \ \ // */ \ \ \\ )\ \ \ (\ q.blocks = q.colorT ...