Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. friend: frequency to MIDI should be easy right?

friend: frequency to MIDI should be easy right?

Scheduled Pinned Locked Moved The Weird and The Wonderful
tutorialcomhardwareiothelp
23 Posts 9 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S StatementTerminator

    raddevus wrote:

    I know there basically is a solid way to say XXX frequency is a particular note

    Not really, or at least only if you make certain assumptions. From the perspective of music theory that isn't correct at all. Warning: below is a little clarification about technicalities and theory, but for the practical purposes of what you're doing you don't really need to take this into account for most cases. I think it's worth mentioning though while we're discussing notes and frequencies, because there are some misunderstandings here. And, yeah, I have a bit of a thing about this because it's a common misconception that bugs me. You can easily find tables of frequencies matched to notes on the scale, but they are lies told for practical purposes and convenience. In reality, there is no defined frequency for any note, there are just arbitrary standards that can be--and often are--ignored by musicians in practice. The A=440 thing is a relatively recent convention designed to make it easier for musicians to play together while being in tune with each other. It's just a convention, and it's far from universal. For the purposes of a MIDI pickup, though, it's safe to assume that A=440 unless the guitarist is into archaic or oddball tunings. That's the easy part, though. The real problem is that the Western scale is based on ratio intervals between notes rather than any absolute pitches (frequencies), and the intervals change with each key, which can require the notes themselves to change frequency to be perfectly in tune for a particular key. That is, E-flat in one key may be a slightly different frequency than E-flat in another key, if you want perfect consonance with the other notes on the scale. You might think that's crazy, but it's true, and it's the reason for things like blue notes in jazz. Microtonal instruments like voice, violin, trombone, etc. automatically adjust pitch for each key, because intonation is done by ear and your ear will tell you to adjust the intonation for each key, musicians do this automatically. But fretted and keyboard instruments are another story, they have discrete pitches that they can play with little wiggle room, and so the musician can't adjust on the fly and it's impossible to tune them so that they are in tune in every key. This is why every piano in the world is out of tune, always, and if you don't believe me ask a piano tuner. The only way to make a piano truly in tune is to re

    raddevusR Offline
    raddevusR Offline
    raddevus
    wrote on last edited by
    #21

    That's a great read but my original statement was a mistake:

    raddevus wrote:

    I know there basically is NOT a solid way to say XXX frequency is a particular note

    I left out the word not. Oops. :-D I learned a lot about pitches, instruments, tambre from my time at Berklee College of Music and from David L Burge (Perfect Pitch Ear Training SuperCourse: Name EXACT Notes by Ear.[^]).

    S 1 Reply Last reply
    0
    • raddevusR raddevus

      That's a great read but my original statement was a mistake:

      raddevus wrote:

      I know there basically is NOT a solid way to say XXX frequency is a particular note

      I left out the word not. Oops. :-D I learned a lot about pitches, instruments, tambre from my time at Berklee College of Music and from David L Burge (Perfect Pitch Ear Training SuperCourse: Name EXACT Notes by Ear.[^]).

      S Offline
      S Offline
      StatementTerminator
      wrote on last edited by
      #22

      Haha! Well, you gave me an excuse to go on a rant about even temperament, so that was fun at least :)

      raddevusR 1 Reply Last reply
      0
      • S StatementTerminator

        Haha! Well, you gave me an excuse to go on a rant about even temperament, so that was fun at least :)

        raddevusR Offline
        raddevusR Offline
        raddevus
        wrote on last edited by
        #23

        StatementTerminator wrote:

        Well, you gave me an excuse to go on a rant about even temperament,

        Yes and it is a great read. Thanks again for writing it up. :thumbsup::thumbsup::thumbsup:

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups