dfilaretti / WeirdDrums

Open Source Drum Synth plugin
MIT License
18 stars 3 forks source link

Revise how we pass params from AudioProcessor to the synth voices #63

Closed dfilaretti closed 5 years ago

dfilaretti commented 5 years ago

In order to pass params from AudioProcessor to the synth voice(s), we call a function inside renderNextBlock that passes those params to the voice.

Do we really need that? Isn't it expensive? How can we call such a function only when a param gets actually updated? (we currently use APVTS)