-
... , numberWidth: 30, unitWidth: 15, gap: 4@4, margin: 4@4 ) .font_(font); edits = Array.fill(numItems, { VerbosityGui.new( numItems: 0, parent: zone, bounds: Rect(0,0, zone.bounds.width - 16, skin.buttonHeight), makeSkip: false ) }); parent.v ...
-
... it { arg lo, hi, noteOnPat, midi2Freq; lowkey = lo ? 0; hikey = hi ? 127; ccs = Array.new; this.noteOnArgsPat_(noteOnPat); noteOnArgsEvent = (); // baseline is an empty event midiToFreq = midi2Freq ?? { defaultMidiToFreq }; } midiToFreq_ { ...
-
... it { arg lo, hi, noteOnPat, midi2Freq; lowkey = lo ? 0; hikey = hi ? 127; ccs = Array.new; this.noteOnArgsPat_(noteOnPat); noteOnArgsEvent = (); // baseline is an empty event midiToFreq = midi2Freq ?? { defaultMidiToFreq }; } midiToFreq_ { ...
-
/* chord changes would be an array of arrays */ var scales, pentatonics; /*// setting \scale Spec on demand var checkSpec; checkSpec = Spec.specs.at(\scale); if(checkSpec.isNil, { Spec.specs.put(\scale , ArraySpec.new(StaticSpec(-100, 100, ...
-
... t.new; keys = ["1234567890", "QWERTYUIOP", "ASDFGHJKL�", "ZXCVBNM,.-"]; notes = Array.fill(4,{|i| Array.series(10,lowest+(i*v),h)}).reverse; buttons = Dictionary.new; synths = Dictionary.new; tasks = Dictionary.new; win.view.keyDownAction_{ ...
-
... size, w, numchans, heatmaps; sf = SoundFile.new; sf.openRead(path); farr = FloatArray.newClear(sf.numFrames * sf.numChannels); sf.readData(farr); sf.close; numchans = sf.numChannels; numrows = (numchans / rowlen).ceil.asInteger; netsize = s ...
-
... ery close to the sounds of some frame drums. The massive list of numbers in freqArray just comes from MATLAB's solutions to bessel functions, which describe how fast a circle wobbles when you hit it. It's harder to model the amplitudes of a ...
-
... 2011 // quick way of monitoring all incoming osc messages // exclude can be an array of Symbols with extra messages to exclude (i.e. not post) MonitorOSC { classvar <>exclude; *value { |time = 0, addr, port, msg = ([])| if( port.size != 0 ...
-
... = { var freqs = { |i| (0..i).nthPrime.scramble.keep(8) }.dup(n).flat.as(Set).as(Array); var amps = { 0.4.rand }.dup(freqs.size); var dts = { 2.4.rand }.dup(freqs.size); freqs = freqs.normalize(200, 10000) * rrand(0.5, 1.5); Klank.ar(`[freqs ...
-
... ey, List[], ".ofxcpreset"); } slotsToStore { var slotsToStore = chain.slotNames.array.copy; slotsToStore.removeAll(exceptedSlots); ^slotsToStore } settingNames { ^settings.names } settingIndex { |setName| ^settings.indexOf(setName) } getCur ...