Note Names / Ranges

Doing a little minor scripting here (transposing or adding extra notes) which works fine. I am, however. confused about the note names/ranges, eg C4 vs C5 etc.

If I play a middle C on my 88 key controller, I would expect that to be C4 - like it is in all musicdom (except Yamaha who are just wrong). Here’s the thing - on the Global MIDI monitor it registers as C3. OK - doing the Yamaha thing I guess - that means the B just below it should be B3 - but no - it is B2?!? . Further testing reveals that GP is starting octave numbers on C ? (edit per reply below - this is common/correct and my bad)

Now - to further complicate things. In a script if I want to “capture” middle C to do something with it - add an extra note for example. I have to capture C2?

What am I missing here? I must have something set wrong or really don’t understand something.

Thanks.

Are you using a rackspace script or a scriptlet?

In an odd coincidence, this is the 2nd time this has come up for me today.

It’s not just GP that changes octave at C rather than A. That’s the standard.
American Standard Pitch Notation (ASPN) – OPEN MUSIC THEORY).

A scriptlet - it is in my wiring diagram

In an odd coincidence, this is the 2nd time this has come up for me today.

It’s not just GP that changes octave at C rather than A. That’s the standard.
American Standard Pitch Notation (ASPN) – OPEN MUSIC THEORY)

Yep - I was wrong on that - don’t like how it is but it is what it is lol!

According to this website the note number 60 is related to C3
https://www.zem-college.de/midi/mc_taben.htm

Middle C
“Middle C” redirects here. For the novel, see Middle C (novel).

Middle C (the fourth C key from left on a standard 88-key piano keyboard) is designated C4 in scientific pitch notation, and c′ in Helmholtz pitch notation; it is note number 60 in MIDI notation.[1]
https://en.wikipedia.org/wiki/C_(musical_note)

Note number 60 can be C3 (like Yamaha) or C4 (like Roland). Sadly every producer of software does as he likes.
It is a well known problem.

While I think Yamaha is nuts lol, I’m much less concerned with it being C3 or C4 than I am the fact that it is different in my midi monitor than it is in my script capturing.