-
... all, but they should be things that can meaningfully be compared for equality. Numbers, symbols, strings, etc, are all fine. (Note: You typically create a KDTree using an Array of points, but the array and the ordering of elements is not s ...
-
... fSampleRate/44100 } { ^1 }; } samplesPlayed { |useSR = true, update = false| // number of buffer samples actually played (used for .loadBuffersSync) if( update ) { this.checkSoundFile }; ^( if( useSR ) { dur * ( sfSampleRate ? 44100 ) } { d ...
-
... be inherited intact }) => PR ( \subclassName ); PR(\abstractProcess) includes a number of pseudo-methods you will probably want, so you will likely write your prototypes as: PR ( \abstractProcess ).clone({ // my stuff here }) => PR ( \myPro ...
-
... be inherited intact }) => PR ( \subclassName ); PR(\abstractProcess) includes a number of pseudo-methods you will probably want, so you will likely write your prototypes as: PR ( \abstractProcess ).clone({ // my stuff here }) => PR ( \myPro ...
-
... note2, event.velocity, time, event.sustain, event.upVelo, // addNote copies noteNumber if nil event.channel ? 0, event.track ?? {format.min(1)}, // format 0: all in track 0 false // don't sort (yet) ].multiChannelExpand // allow multi-note ...
-
/* ? limit number of lines to show to a maximum ? // tests History.start; 1 + 2; 3 + 4; 12 + 14; h = HistoryRepGui(History.current); History.current.lines h.postDoc(1); h.alignDoc; */ HistoryRepGui : JITGui { classvar <>docTitle = "History ...
-
... 2], [msg[0],msg[1].asInteger], true ); });*/ ("DataNetwork: info minibee: id %, number of inputs %, number of outputs %".format( *msg )).postln; } nodeData{ |msg| this.setData( msg[0], msg.copyToEnd( 1 ), true ); } slotData{ |msg| nodes.at( ...
-
... r a MIDI-ctrl-nr., hit 'return'\nand click 'C' to connect the slider\nwith that number to this widget%.".format(slotText)) }); } bounds { ^cview.bounds; } remove { cview.remove; } }
-
... a new PS object. srcPat - Source pattern, might also be event pattern. length - Number of output items, may be pattern or stream, defaults to inf. bufSize - Size of buffer to store last values, defaults to 1. copyItems - Determines if and h ...
-
... , numericalPart, extraPart; // a segment has a numerical part (usually the note number or the variable) // and a suffix (usually the duration) #numericalPart, extraPart = each; event = this.getEvent(numericalPart); if(event.isNil) { this.er ...