Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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 ( #1103185=note: print w/replies, xml ) Need Help??


in reply to Re^3: 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?

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?

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

Replies are listed 'Best First'.
Re^5: utf8 hash keys revisited: How can i use musical symbols as hash keys?
by Jim (Curate) on Oct 08, 2014 at 20:17 UTC

    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.

Re^5: utf8 hash keys revisited: How can i use musical symbols as hash keys?
by karlgoethebier (Abbot) on Oct 08, 2014 at 22:01 UTC

    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»

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1103185]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2020-10-21 05:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (212 votes). Check out past polls.

    Notices?