Hi - just getting back into Juce after a forced absence - It’s looking better than ever
So i’m deriving a class from Synthesiser - I wanted to modify it to support velocity switching of sounds. Unfortunately, when overriding Synthesiser::noteOn, which i’m basically copy/pasting for the most part - i run into a few problems:
shouldStealNotes is private so i can’t access it. (not a show-stopper as i generally want his to be true anyway)
I can’t access the private variables in SynthesiserVoice because my derived Synthesiser class isn’t a friend. Not sure how to get round this right now other than hacking some extra “set” functions into SynthesiserVoice.
Any ideas on a better way to get round this?