Closed twohiccups closed 3 years ago
PluckSynth is not meant to be used with PolySynth. Only instruments that extend the Monophonic class (the ones that you listed) can be used with Tone.PolySynth.
It is noted in the docs, but i understand it's probably still unclear unless you study the docs really closely.
Probably the clearest solution is for an error to be thrown if a non-Monophonic class is passed into the constructor of PolySynth.
@tambien, thanks for the info!
Describe the bug
I scheduled Tone.PluckSynth with Transport method. After certain number of notes have played a warning message "Max polyphony exceeded. Note dropped" message will appear. No more notes will be played after that, even if I stop the transport and wait a while. With other types of synths this message either doesn't appear or goes away after a short wait– notes seem to get recycled(I tested this on AMSynth, DuoSynth, FMSynth, MembraneSynth, MetalSynth, all seem fine). Is this a bug, or am I misunderstanding the PolySynth?
To Reproduce
Using Firefox browser
Code to reproduce: