When I play middle A on my full scale midi piano (using its own sound source) I hear a tone at the same pitch as the one from my tuning fork marked 440Hz.
When I connect the piano to juce synth demo and press the same A-key, the synth demo sounds an octave lower.
A cause for this diskrepancy might be the function
const double MidiMessage::getMidiNoteInHertz (int noteNumber, const double frequencyOfA) noexcept
noteNumber -= 12 * 6 + 9; // now 0 = A
return frequencyOfA * pow (2.0, noteNumber / 12.0);
Shouldn’t it return 440 for noteNumber 69?
(Source gitted a few hours ago)