-
... all.put(key, res) }; ^res.set(*args); } } // Precv(\key, \channel, ... args) // maybe we don't need such a thing for global access. /* Precv : Pinbox { classvar <>all; var <>key; *initClass { all = IdentityDictionary.new; } *new { arg key, ...
-
... nknown" ), elementsDesc: ( shared: ( 'midiChan': 0, 'elementType': 'pad', // or maybe hexPad. 'spec': 'midiNote', midiMsgType: \noteOn, groupType: \noteOnOff ), elements: (0..120).collect { |num, i| (key: num.asSymbol, midiNum: num, // at l ...
-
// hybrid: clock and server at a time. // maybe should be subclass of server Renderer : Clock { var <>lifeTime, <>options, <threadBeats; var <>score; var <nodeAllocator; var <controlBusAllocator; var <audioBusAllocator; var <bufferAllocator ...
-
... n array of paths runner.open(path[0]) ; iopath = path[0] ; this.toLog(arr) ; // maybe remove it? })} // save as a .gra file, to actual iopath (-->save) { arr[0] =="s+" && arr.size==1} { runner.write(iopath) ; this.toLog(arr) ; // maybe remo ...
-
... rand; this.changed( \seed ); } doesNotUnderstand { |selector ... args| // dirty maybe, but any reason not to do this? ^seed.perform( selector, *args ); } prepare { |target, startPos, action| this.next; action.value( this ); } asControlInput ...
-
... rand; this.changed( \seed ); } doesNotUnderstand { |selector ... args| // dirty maybe, but any reason not to do this? ^seed.perform( selector, *args ); } prepare { |target, startPos, action| this.next; action.value( this ); } asControlInput ...
-
... itor with more space for controls [ \phatEdit , \extra , { c.gui(40) } ], // or maybe bigger buttons play, end buttons [ \play , \extra , { c.playN } ], [ \end , \extra , { c.end } ], ] ) )
-
... ock = q.current_clock; Routine { inf.do { |i| q.beat_n = i % 4; // shouldn't we maybe pick up from where we were? q.beat_d = 1; addr.sendMsg("/clock/stream", q.master_clock.elapsedBeats, q.master_clock.tempo * 60, q.beat_n, q.beat_d, q.cycl ...
-
... cpsmidi; note = pitch % 12; octave = pitch trunc: 12; amp = baseVals[2].sum; // maybe too simple }; ^"VGSound.tryComp( %, %, %, %);".format( event.fileKey.asCompileString, (baseAmp / amp).round(0.01), note.round(0.001), octave).postln; } }
-
... llider //start s.boot // the play method creates wav files in your /tmp/ folder maybe you have to delete them yourself when you restart your computer seldom //load file a=SPLSourceFile.newSPL(2,"test.wav");//choose your example file //play ...