diff --git a/packages/core/controls.mjs b/packages/core/controls.mjs index 093fcf0f..5ae19da6 100644 --- a/packages/core/controls.mjs +++ b/packages/core/controls.mjs @@ -285,260 +285,4 @@ generic_params.forEach(([type, name, description]) => { Pattern.prototype[name] = _unionise(controls[name]); }); -console.log(Object.keys(controls).sort().join(', ')); - -const { - accelerate, - amp, - attack, - bandf, - bandq, - begin, - binshift, - ccn, - ccv, - channel, - coarse, - comb, - control, - cps, - crush, - ctlNum, - ctranspose, - cut, - cutoff, - decay, - degree, - delay, - delayfeedback, - delaytime, - detune, - distort, - djf, - dry, - dur, - end, - enhance, - expression, - fadeInTime, - fadeTime, - frameRate, - frames, - freeze, - freq, - fshift, - fshiftnote, - fshiftphase, - gain, - gate, - harmonic, - hbrick, - hcutoff, - hold, - hours, - hresonance, - imag, - kcutoff, - krush, - lbrick, - legato, - leslie, - lock, - loop, - lrate, - lsize, - midibend, - midichan, - midicmd, - miditouch, - minutes, - mtranspose, - n, - note, - nudge, - octave, - octaveR, - octer, - octersub, - octersubsub, - offset, - orbit, - overgain, - overshape, - pan, - panorient, - panspan, - pansplay, - panwidth, - partials, - phaserdepth, - phaserrate, - polyTouch, - progNum, - rate, - real, - release, - resonance, - ring, - ringdf, - ringf, - room, - s, - scram, - seconds, - semitone, - shape, - size, - slide, - smear, - songPtr, - speed, - squiz, - stepsPerOctave, - stutterdepth, - stuttertime, - sustain, - sustainpedal, - timescale, - timescalewin, - tremolodepth, - tremolorate, - triode, - tsdelay, - uid, - unit, - val, - velocity, - voice, - vowel, - waveloss, - xsdelay, -} = controls; - -export { - accelerate, - amp, - attack, - bandf, - bandq, - begin, - binshift, - ccn, - ccv, - channel, - coarse, - comb, - control, - cps, - crush, - ctlNum, - ctranspose, - cut, - cutoff, - decay, - degree, - delay, - delayfeedback, - delaytime, - detune, - distort, - djf, - dry, - dur, - end, - enhance, - expression, - fadeInTime, - fadeTime, - frameRate, - frames, - freeze, - freq, - fshift, - fshiftnote, - fshiftphase, - gain, - gate, - harmonic, - hbrick, - hcutoff, - hold, - hours, - hresonance, - imag, - kcutoff, - krush, - lbrick, - legato, - leslie, - lock, - loop, - lrate, - lsize, - midibend, - midichan, - midicmd, - miditouch, - minutes, - mtranspose, - n, - note, - nudge, - octave, - octaveR, - octer, - octersub, - octersubsub, - offset, - orbit, - overgain, - overshape, - pan, - panorient, - panspan, - pansplay, - panwidth, - partials, - phaserdepth, - phaserrate, - polyTouch, - progNum, - rate, - real, - release, - resonance, - ring, - ringdf, - ringf, - room, - s, - scram, - seconds, - semitone, - shape, - size, - slide, - smear, - songPtr, - speed, - squiz, - stepsPerOctave, - stutterdepth, - stuttertime, - sustain, - sustainpedal, - timescale, - timescalewin, - tremolodepth, - tremolorate, - triode, - tsdelay, - uid, - unit, - val, - velocity, - voice, - vowel, - waveloss, - xsdelay, -}; +export default controls; diff --git a/repl/src/App.js b/repl/src/App.js index df74aed5..e3fe8f70 100644 --- a/repl/src/App.js +++ b/repl/src/App.js @@ -29,7 +29,7 @@ import '@strudel.cycles/core/euclid.mjs'; import '@strudel.cycles/tone/pianoroll.mjs'; import '@strudel.cycles/tone/draw.mjs'; import '@strudel.cycles/osc/osc.mjs'; -import * as controls from '@strudel.cycles/core/controls.mjs'; +import controls from '@strudel.cycles/core/controls.mjs'; extend(Tone, strudel, strudel.Pattern.prototype.bootstrap(), controls, toneHelpers, voicingHelpers, drawHelpers, uiHelpers, { gist,