http://qs321.pair.com?node_id=1103121


in reply to Re^2: utf8 hash keys revisited: How can i use musical symbols as hash keys?
in thread utf8 hash keys revisited: How can i use musical symbols as hash keys?

Also, the names in your data set are actually Scientific pitch notation, not Helmholtz

Look again. They're Helmholtz names, not scientific names. Except that I screwed up and inadvertently continued to use subscripts instead of superscripts when I got to c¹. I just fixed them.

  • Comment on Re^3: utf8 hash keys revisited: How can i use musical symbols as hash keys?

Replies are listed 'Best First'.
Re^4: utf8 hash keys revisited: How can i use musical symbols as hash keys?
by RonW (Parson) on Oct 08, 2014 at 16:19 UTC

    In this diagram, the octaves are designated by "ticks" following the note name. Your data set uses numbers, like in this other diagram.

    Maybe the diagrams are incorrect?

      The diagrams are correct.

      Read the third item in the list of Variations in the Wikipedia article titled Helmholtz pitch notation. I chose to use this variation of Helmholtz pitch notation in my example Perl script because it seems more well-suited to computer use and digital typography. One thing that troubled me is that there are no Unicode characters that are low versions of the high prime characters:  PRIME U+2032 (′), DOUBLE PRIME U+2033 (″), TRIPLE PRIME U+2034 (‴), etc.

      I think the original Helmholtz Notation for 440Hz/MIDI #69 is a′.

      Just a variation of this kind of notation is a¹.

      In Scientific Pitch Notation this is A₄.

      "It is designated A₄ in scientific pitch notation because of the note's position as the fourth A key on a standard 88-key piano keyboard. On MIDI, it is note 69."

      Source

      And Jim wrote: a¹,0,69,440.0000000000.

      Best regard, Karl

      «The Crux of the Biscuit is the Apostrophe»