Open cedricwaxwing opened 1 year ago
@samepant I get this error when I spin the colorPicker, but not the stonePicker:
It looks like the synth is set up in the exact same way, so I'm not sure what could be causing it to happen only on the color picker. Perhaps the useDragRotate
s are delaying the triggerAttack somehow?
@cedricwaxwing i found the same thing and have got a fix for it locally. turns out using the same synth for the lightness and hue wheels is the issue.
The remaining issue i'm seeing is failure of the midi synth. if i hit the random button a bunch i eventually see something like 'Max polyphony reached, noted dropped' and then the midi synth stops playing. still trying to figure out what's causing it.
@samepant I'm not sure if you already were aware, but I was getting that error again so I tried just commenting out the midSynth and that seemed to resolve it. I'm wondering if we have to set the PolySynth voices to monoSynth somehow https://github.com/Tonejs/Tone.js/issues/939
@cedricwaxwing oh ya lol i'm deep down this debug hole. the Polysynth uses Tone.Synth (which is single voiced) by default, so that doesn't seem to be the issue.
-Marv