Take a C, for instance. Its enharmonics are B# and Dbb.
What’s the correct octave notation? B#4, C4, Dbb4 or B#3, C4, Dbb4?
The same for Cb. Its enharmonics are Ax and B. So Ax4, B4, Cb4 or Ax4, B4, Cb5?
The question comes from a development for Fretful.io (fretboard visualizer) - Alpha release. I need to understand if I came across a bug or if the octave register is just wacky.