OpenMPT does not use scientific pitch notation. OpenMPT's octaves are inherited from Impulse Tracker, where C-5 is the middle-C.
That being said, for the correct note to be heard, your sample (or plugin) must of course play a real middle-C (i.e. C4) at C-5 for the logic to work out.