Synthesiser getVoices()?

Does anyone else think a Synthesiser::getVoices() method would be nice to have in JUCE?

https://docs.juce.com/master/classSynthesiser.html#ab81708603690f13cf5c29b8e7e7e519c
Or am I missing something?

Yes, you’re missing an ‘s’ at the end of getVoice() :wink:

I see… how could I :smiley:
I guess the locks in the other methods have a good reason #threadsafe :wink:

Not sure I follow. I’m just asking for a method that returns an array of voices so I don’t have to keep using for loops with getNumVoices() and getVoice().