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. The Lounge
  3. Music Notation Parsing

Music Notation Parsing

Scheduled Pinned Locked Moved The Lounge
jsonquestionlearning
57 Posts 21 Posters 0 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.
  • M Munchies_Matt

    GenJerDan wrote:

    isolating individual instruments

    Easy in a three piece band perhaps, in an orchestra?

    GenJerDan wrote:

    map them to whatever

    And how do you determine the key? There are only 12 notes. Working out the key is very difficult.

    G Offline
    G Offline
    GenJerDan
    wrote on last edited by
    #12

    Munchies_Matt wrote:

    Easy in a three piece band perhaps, in an orchestra?

    I think it's probably only working with videos so they can match the music to the motion of the instrument to some extent. There are also different tonal qualities, of course. But I wouldn't want to try differentiating between the first violin and the second. :laugh:

    Munchies_Matt wrote:

    And how do you determine the key? There are only 12 notes. Working out the key is very difficult.

    Not really, as long as it's a "standard" key without accidentals. And, score notation-wise, there isn't difference between C Maj and A Min, etc.

    We won't sit down. We won't shut up. We won't go quietly away. YouTube, VidMe and My Mu[sic], Films and Windows Programs, etc. and FB

    M 1 Reply Last reply
    0
    • B Bob1000

      Would never say its impossible, in fact its getting more likely all the time. Seasoned musicians can easily pick up on the key, and from that and their musical knowledge will have a good idea of how to play along with a band even if they don't know the individual piece. For a device it will depend on how complicated the piece being played is and the instruments. For solo instruments especially those that aren't playing chords its relativity easy. Add chords - a bit more difficult but still fundamentally an FFT, a bit of timing and logic. Where it starts to get complicated is multiple instruments and techniques for example bends etc., but add some AI and possible directional information of the sound sources not impossible. Would it be useful, probably not, although have to admit wouldn't mind something that could write out music scores as I played it from a guitar or scored the quality and correctness of a chord! Although already have a device which judges musical quality - its called a partner!

      G Offline
      G Offline
      GenJerDan
      wrote on last edited by
      #13

      I was a beta tester for some software that did it a long long time ago. It "listened" to a .wav file and turned it into a MIDI file. It didn't make any attempt to separate out the tracks, so it produced a really ugly file, all the notes squished onto one track...but he mananged to get the notes all there. :)

      We won't sit down. We won't shut up. We won't go quietly away. YouTube, VidMe and My Mu[sic], Films and Windows Programs, etc. and FB

      1 Reply Last reply
      0
      • G GenJerDan

        Munchies_Matt wrote:

        Easy in a three piece band perhaps, in an orchestra?

        I think it's probably only working with videos so they can match the music to the motion of the instrument to some extent. There are also different tonal qualities, of course. But I wouldn't want to try differentiating between the first violin and the second. :laugh:

        Munchies_Matt wrote:

        And how do you determine the key? There are only 12 notes. Working out the key is very difficult.

        Not really, as long as it's a "standard" key without accidentals. And, score notation-wise, there isn't difference between C Maj and A Min, etc.

        We won't sit down. We won't shut up. We won't go quietly away. YouTube, VidMe and My Mu[sic], Films and Windows Programs, etc. and FB

        M Offline
        M Offline
        Munchies_Matt
        wrote on last edited by
        #14

        Pulling instruments out is impossible IMO, but the issue of key is crucial. Regardless of the same notation being used for various keys, if you cant tell the key, you cant score it in a standard way.

        G D D 3 Replies Last reply
        0
        • M Munchies_Matt

          You want software, that can hear a song, and transcribe each instrument, being able to recognise two different guitars, a guitar from a bass etc, in its right key, a key which is determined by the average of the notes played, and is not even always evident, into notes that depend on that key? Dream on, it is impossible.

          D Offline
          D Offline
          Daniel Pfeffer
          wrote on last edited by
          #15

          Some humans can do it, so it must be possible.

          Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

          M 1 Reply Last reply
          0
          • M Munchies_Matt

            Pulling instruments out is impossible IMO, but the issue of key is crucial. Regardless of the same notation being used for various keys, if you cant tell the key, you cant score it in a standard way.

            G Offline
            G Offline
            GenJerDan
            wrote on last edited by
            #16

            An AI system for editing music in videos | MIT News[^] Not perfect. And I don't see why they didn't gate the unwanted instruments, just kill anything below a certain threshold. But it's a start.

            We won't sit down. We won't shut up. We won't go quietly away. YouTube, VidMe and My Mu[sic], Films and Windows Programs, etc. and FB

            M 1 Reply Last reply
            0
            • D Daniel Pfeffer

              Some humans can do it, so it must be possible.

              Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

              M Offline
              M Offline
              Munchies_Matt
              wrote on last edited by
              #17

              :) Such an assumption! You really do believe computers can do everything a human can dont you? Extraordinary belief!

              D 1 Reply Last reply
              0
              • G GenJerDan

                An AI system for editing music in videos | MIT News[^] Not perfect. And I don't see why they didn't gate the unwanted instruments, just kill anything below a certain threshold. But it's a start.

                We won't sit down. We won't shut up. We won't go quietly away. YouTube, VidMe and My Mu[sic], Films and Windows Programs, etc. and FB

                M Offline
                M Offline
                Munchies_Matt
                wrote on last edited by
                #18

                Have you seen the African made military jets? Apparently they have made a start: BBC - Future - Africa’s homemade aircraft builders[^]

                1 Reply Last reply
                0
                • M Munchies_Matt

                  :) Such an assumption! You really do believe computers can do everything a human can dont you? Extraordinary belief!

                  D Offline
                  D Offline
                  Daniel Pfeffer
                  wrote on last edited by
                  #19

                  Munchies_Matt wrote:

                  You really do believe computers can do everything a human can dont you?

                  Except make more humans. That we'll still have to do for ourselves. :)

                  Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

                  M 1 Reply Last reply
                  0
                  • D Daniel Pfeffer

                    Munchies_Matt wrote:

                    You really do believe computers can do everything a human can dont you?

                    Except make more humans. That we'll still have to do for ourselves. :)

                    Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

                    M Offline
                    M Offline
                    Munchies_Matt
                    wrote on last edited by
                    #20

                    Computers are SO bad at thinking for themselves! They are slaves to a program written by a man. And that program has to think of everything! We dont even understand how our brains work, until we do we havent a hope in hell of replicating its ability/. (We dont even understand how a baby can be formed in just 9 months, heck, we dont even understand how anaesthetics work!)

                    1 Reply Last reply
                    0
                    • M MSBassSinger

                      I may be totally wrong, but it seems that there should be a fairly good piece of software that can "listen" to a WAV or MP3 of a song, and transcribe (polyphonically) the various parts into staves of notes for that instrument. Anyone know of such an application? Anyone aware of one being developed using machine learning? Thanks in advance.

                      P Offline
                      P Offline
                      Pete Sykes
                      wrote on last edited by
                      #21

                      AudioScore from Neuratron (Transcribe MP3s & CD Tracks with AudioScore) has been around for a while and offers a free demo (not sure if this is a trial period or a "can't save" version). I've no experience of it but their music OCR (PhotoScore) is pretty good.

                      Cheers, Pete Sykes

                      1 Reply Last reply
                      0
                      • M Munchies_Matt

                        You want software, that can hear a song, and transcribe each instrument, being able to recognise two different guitars, a guitar from a bass etc, in its right key, a key which is determined by the average of the notes played, and is not even always evident, into notes that depend on that key? Dream on, it is impossible.

                        M Offline
                        M Offline
                        MSBassSinger
                        wrote on last edited by
                        #22

                        I already found several that do. They may not be able to differentiate an A440 by a guitar from a French Horn (though at least two do by analyzing timbre differences), but they all can analyze polyphonic musical sounds and differentiate. Welcome to the 21st century!

                        M 1 Reply Last reply
                        0
                        • M MSBassSinger

                          I already found several that do. They may not be able to differentiate an A440 by a guitar from a French Horn (though at least two do by analyzing timbre differences), but they all can analyze polyphonic musical sounds and differentiate. Welcome to the 21st century!

                          M Offline
                          M Offline
                          Munchies_Matt
                          wrote on last edited by
                          #23

                          MSBassSinger wrote:

                          an A440 by a guitar from a French Horn

                          So they dont work. Now, do they recognise the key the music is in?

                          M 1 Reply Last reply
                          0
                          • M MSBassSinger

                            I may be totally wrong, but it seems that there should be a fairly good piece of software that can "listen" to a WAV or MP3 of a song, and transcribe (polyphonically) the various parts into staves of notes for that instrument. Anyone know of such an application? Anyone aware of one being developed using machine learning? Thanks in advance.

                            M Offline
                            M Offline
                            Member 10677024
                            wrote on last edited by
                            #24

                            I have used both Finale and Sibelius do to this with varying degrees of success depending upon the actual music. Both offer trials so that you can see if it works for you.

                            1 Reply Last reply
                            0
                            • M Munchies_Matt

                              MSBassSinger wrote:

                              an A440 by a guitar from a French Horn

                              So they dont work. Now, do they recognise the key the music is in?

                              M Offline
                              M Offline
                              MSBassSinger
                              wrote on last edited by
                              #25

                              Yes, they do work, and yes, they get the correct key.

                              M 1 Reply Last reply
                              0
                              • M MSBassSinger

                                Yes, they do work, and yes, they get the correct key.

                                M Offline
                                M Offline
                                Munchies_Matt
                                wrote on last edited by
                                #26

                                If they cant identify separate instruments they do what was asked. As for the correct key, prove it. :)

                                M 1 Reply Last reply
                                0
                                • M Munchies_Matt

                                  If they cant identify separate instruments they do what was asked. As for the correct key, prove it. :)

                                  M Offline
                                  M Offline
                                  MSBassSinger
                                  wrote on last edited by
                                  #27

                                  Read the other posts. I have no need to feed the trolls today.

                                  M 1 Reply Last reply
                                  0
                                  • M MSBassSinger

                                    Read the other posts. I have no need to feed the trolls today.

                                    M Offline
                                    M Offline
                                    Munchies_Matt
                                    wrote on last edited by
                                    #28

                                    Ah, the old 'I already told you' gambit, when in fact you havent. I have of course read the posts, and no mention of an example of software that can identify the key, which is crucial to putting notes on a stave. So, I ask again. Waiting....

                                    1 Reply Last reply
                                    0
                                    • M Munchies_Matt

                                      Pulling instruments out is impossible IMO, but the issue of key is crucial. Regardless of the same notation being used for various keys, if you cant tell the key, you cant score it in a standard way.

                                      D Offline
                                      D Offline
                                      DerekT P
                                      wrote on last edited by
                                      #29

                                      I'm no musician but have a basic grasp. By your logic, it must therefore also be "impossible" for anyone to listen to a piece of music and transcribe it. I do know there are several tools (I've used some) that will take normal written music and re-write it in a different key. (The interface to do this was pretty complicated though, requiring the use of two keys pressed simultaneously; "shift" and either "up" or "down" as I recall) By implication, even if any automated tool gets the initial key "wrong" it would be a simple matter to adjust it into a more normally accepted key.

                                      M 1 Reply Last reply
                                      0
                                      • D DerekT P

                                        I'm no musician but have a basic grasp. By your logic, it must therefore also be "impossible" for anyone to listen to a piece of music and transcribe it. I do know there are several tools (I've used some) that will take normal written music and re-write it in a different key. (The interface to do this was pretty complicated though, requiring the use of two keys pressed simultaneously; "shift" and either "up" or "down" as I recall) By implication, even if any automated tool gets the initial key "wrong" it would be a simple matter to adjust it into a more normally accepted key.

                                        M Offline
                                        M Offline
                                        Munchies_Matt
                                        wrote on last edited by
                                        #30

                                        No, because (some) people (after many years in music) are very good at recognising scales, mood, and hence the key.

                                        DerekTP123 wrote:

                                        take normal written music and re-write it in a different key

                                        This is simpler, much simpler. The notes and key are given. Trying to determine they key is difficult. For example, the key of G is a happy key. The key of E is moody and blue. A is simple, but fun. Deep Purple used G a lot. BLues uses E. ACDC used A a lot. How does a machine recognise mood? Emotion? And then the issue of taking apart the sound and determining which instruments are playing which notes. Very hard to do for a human ear who knows music, and knows the make up of the band already. For example it takes a good ear to recognise two guitars are playing a solo. It is often noticeable because the combination of notes is not physically possible to play. But you have to be a guitarist to recognise that. A computer program, well, it can only do what it is told. It can not interpret for itself and decide.

                                        1 Reply Last reply
                                        0
                                        • M MSBassSinger

                                          I may be totally wrong, but it seems that there should be a fairly good piece of software that can "listen" to a WAV or MP3 of a song, and transcribe (polyphonically) the various parts into staves of notes for that instrument. Anyone know of such an application? Anyone aware of one being developed using machine learning? Thanks in advance.

                                          J Offline
                                          J Offline
                                          Josh Bula
                                          wrote on last edited by
                                          #31

                                          If anyone is working on this, it would probably be the major music notation software companies like Notion, Make Music's "Finale", or Sibelius. Most of them already have this functionality for monophonic input through a microphone, but it's designed more for playing a wind instrument or singing rather than wav or mp3 input. Google "Finale MicNotator HyperScribe" to see some examples of how to do it with Finale. There is also a company called SeventhString that publishes a program called "Transcribe!" that can help you do your own transcription from an mp3 or wav file by marking the wav display with it's best guess as to what the notes and chords are, but it doesn't do direct audio-to-notation conversion. However, it does have a "piano roll view" that looks promising.

                                          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