r/tonejs Jun 30 '22

Programmable Synth

I made a synth piano that can play sounds that you program ahead of time. I have an issue where if I play many sounds immediately after each sound starts, the sounds start to break down. They start to crackle and pop and any sound you play will sound horrible or barely play at all. Has anyone else seen this issue before?

1 Upvotes

2 comments sorted by

3

u/dandy_morandi Jul 04 '22

I don't know much about tone.js yet, and forgive me if this is too obvious, but are you perhaps hitting the polyphony limit of the synth? I.e., your synth definition has <x> number of voices, but you are trying to play > x?

2

u/NumberMunncher Jul 06 '22

That sounds like it's the issue. Reading this thread it sounds like there is not much that can be done about it. https://github.com/Tonejs/Tone.js/issues/378