-
... ); }).add; ) x = Synth(\sine_rhythm) x.release ⧉ ✔ Ex. 8: Proof of concept ( // Function to check an array for repetitions within a maximum test span ~repetitionCheck = { |array, maxTestSpan| maxTestSpan.do { |i| var result = (array.drop(i+ ...
-
... Dictionary| var wr, wrAtt, wrAttArr, defaults; wr = FileWriter(pn.fullPath); // function to write a one-line attribute wrAtt = { |att, val| wr.write("% : ".format(att)); wr.write( ( val ?? { this.tryPerform(att) } ).asCompileString; // allo ...
-
... al = intervals.abs.mean; ~avgDelta = buf.durs.mean; // also need note deltas // function composition: maybe you want to do mode or some other conversion here temp = ~preSplitFunc.value(buf.notes); notes = Func(parms.atBackup(\splitFunc, sto ...
-
... not have the same logical time. In addition to the traditional real-time clock functions to set tempo or meter, we will want to expand the capabilities for synchronized clock change coordination, including a cue concept which waits for a r ...
-
... if a MIDI message is on a channel not defined, it will be passed // to whatever function was in MIDIIn before initialization initialized.not.if({ MIDIClient.initialized.not.if({ MIDIClient.init; // open the ports }); numPorts = max(numPorts ...
-
... methods Instance Methods Inherited instance methods Examples ar /* FFT analysis functions NOTE: FFT returns linear frequency */ ( ~calcMag = { arg kernel; var fftResponse, fftMag; // FFT analysis here! fftResponse = fft( kernel.as(Signal), ...
-
... al = intervals.abs.mean; ~avgDelta = buf.durs.mean; // also need note deltas // function composition: maybe you want to do mode or some other conversion here temp = ~preSplitFunc.value(buf.notes); notes = Func(parms.atBackup(\splitFunc, sto ...
-
... ,1],inf), 0.25 ) ).play ) anything that returns a rate of \stream (a Pattern or Function) will cause an .ir rate input to be created for the synth. // if you click on the sample's filename, you can select a new sample while playing // and i ...
-
... args.do { |envir| this.do { |cv| cv.metadata.putAll(envir) } } } } sortedDo { |function| ^this.envir.values.asArray.sort({ |a, b| a.sort(b) }).do(function); } } ControlValueEnvirStates : Singleton { var <states; var cve; var <storePath, fi ...
-
... relate to control of synths when SW Input delected // Set by user. Registerred functions called by "play" embedSynth { | sourceNum = 1, numChans = 1, triggerFunc | var src = this.prGetSource(sourceNum); // presently only one synth can be r ...