Although I'm working with a contributed library, I think this is a broad enough question.
I have a function that doesn't return a value (utilizing midibus library).
- void noteOn(int channel, int pitch, int velocity) {
- //stuff
- }
Questions: How do I do this? What is it called when you want to use a parameter from a function outside that function?
1