[SOLVED]reporting error in tutorial 'HandlingMidiEventsTutorial.jucer'


#1

I am pretty new to JUCE and I find all the tutorials that the JUCE staff made available extremely useful. I am learning a lot from them. Thanks guys. 

So i believe is good practice to report small errors/typos that may produce compile errors, to save other learners from wasting time like a just did to find the bug.

here it is: 

in the MainContentComponent.cpp file of the project, the line 156 reads as follows

void handleNoteOff (MidiKeyboardState*, int midiChannel, int midiNoteNumber, float /*velocity*/) override

but the pure virtual function that is here being implemented takes three arguments only. So just replace line 156 with the following

void handleNoteOff (MidiKeyboardState*, int midiChannel, int midiNoteNumber) override

and you'll compile straight away.

Hope this can help someone and that more tutorials are on their way.