Live data from Hacker News

Show HN: MeloCraft – Pitch detection in real-time

melocraft.net

1–10 of 23 posts

Re: Show HN: MeloCraft – Pitch detection in real-time

#7
post #2

Hello, I made this tool when I started learning the violin and wanted to correct my pitch despite not having a musical ear. I figured it might be useful to other people (:

Hi, nice tool. I just gave it a go and it seems reasonably accurate. I've recently been developing something similar - I'm detecting singing pitch for use in a game. I wonder did you use any particular method for detecting the pitch?

Re: Show HN: MeloCraft – Pitch detection in real-time

#8
post #2

Hello, I made this tool when I started learning the violin and wanted to correct my pitch despite not having a musical ear. I figured it might be useful to other people (:

So, has it helped you "tune" your ear? i.e., are you able to correct your pitch without the tool now that you've spent time practicing with it? I've often wondered about that. I learned guitar at such a young age, that I don't have a good recollection of the process of learning to have a reasonably good ear, or if it was something I already had and had to just learn to listen to.

As an adult, I've often gone years without seriously practicing music, and yet the basic ability to hear notes and tune instruments remains strong, no matter what. The ability to name notes and recognize chords on demand (so-called "relative pitch") does require me to refresh my memory with practice whenever I take a long break from music, but recognizing when things are sharp or flat, and by how much, seems to be permanent and require no practice no matter how long it's been. So, I theorize (and have read about science on the subject) that there may be a variety of parts of the mind that handle these subjects. But, I don't recall reading if they're all in-born skills or are acquired. Perfect pitch may be teachable to the very young...but not adults, so maybe my tuning ability simply developed and "stuck" because I was young. I dunno.

Re: Show HN: MeloCraft – Pitch detection in real-time

#9
post #7
post #2

Hello, I made this tool when I started learning the violin and wanted to correct my pitch despite not having a musical ear. I figured it might be useful to other people (:

Hi, nice tool. I just gave it a go and it seems reasonably accurate. I've recently been developing something similar - I'm detecting singing pitch for use in a game. I wonder did you use any particular method for detecting the pitch?

Not sure about OP, but I've always loved the simplicity of counting the zero cross-overs in one direction (E.g. positive to negative) with some gutter. With raw PCM this is trivial to implement in any language -- I last did this in bash. Then you just do a look up from frequency to note and you're done. It's also not very CPU intensive, and you can even sample less frequently and get pretty great results.

Re: Show HN: MeloCraft – Pitch detection in real-time

#10
post #6

Asking me to subscribe to get a download link, with the only way to avoid it being a link that doesn't look like a link seems evil to me. Please reconsider.

There is a link to display the download links in small text under the subscribe.

Calling a signup 'evil' is a bit over the top. People who don't spend their days on the web are less familiar with the less obvious ways of gleaning user data...e.g. current Google or Facebook logins, third party trackers, etc.

Post reply on HN