Looking for software which detects the key of a MIDI file (or multiples)

Discussion in 'Software' started by thickchez, Sep 9, 2015.

  1. thickchez

    thickchez Kapellmeister

    Joined:
    May 13, 2015
    Messages:
    42
    Likes Received:
    44
  2.  
  3. DanteUruzu

    DanteUruzu Kapellmeister

    Joined:
    Mar 3, 2013
    Messages:
    192
    Likes Received:
    50
    I've never heard of software that detects the key of a multiple MIDI files, let alone one. It's a first for me. I'm curious as to how accurate such programs are, especially when it comes to songs with modulations/key changes. I wonder how well it handles songs with accidentals...
     
    • Like Like x 1
    • Agree Agree x 1
    • List
  4. babybrown

    babybrown Ultrasonic

    Joined:
    Jun 13, 2011
    Messages:
    121
    Likes Received:
    28
    Should be able to be dead accurate when you consider... All the information is in the file and readable as a pose to something that needs a detection algorithm. I would love to see something like this available!
     
  5. trakuna

    trakuna Noisemaker

    Joined:
    Jul 31, 2011
    Messages:
    32
    Likes Received:
    4
    Getting python to iterate through a list of files should be a piece of cake. Mind giving us the url?
     
  6. The Dude

    The Dude Rock Star

    Joined:
    Aug 13, 2012
    Messages:
    367
    Likes Received:
    460
    Honestly, this is the very basic of music making. You're not helping yourself by trying to make it easy.

    My advice is simple: study! If you love music, honor it. You'll have much more fun and possibilities by doing so.
     
    • Agree Agree x 5
    • Like Like x 2
    • Winner Winner x 2
    • Love it! Love it! x 1
    • List
  7. LordFunky

    LordFunky Ultrasonic

    Joined:
    Dec 30, 2013
    Messages:
    52
    Likes Received:
    24
    Location:
    Hawaii
    The best software ever : Your brain !
     
    • Like Like x 2
    • Winner Winner x 1
    • List
  8. Iggy

    Iggy Rock Star

    Joined:
    Jun 21, 2011
    Messages:
    1,090
    Likes Received:
    434
    Location:
    The stage, man
    Not to be rude, but do you actually compose music, or do you just remix others' music/work with pre-existing MIDI files? Either way, learning the key of a piece of music is pretty rudimentary stuff -- you don't really even have to know how to read music (I can't) in order to figure out what key it's in. Actually learning the basics of music theory will help you a hell of a lot more than any piece of software.
     
  9. trakuna

    trakuna Noisemaker

    Joined:
    Jul 31, 2011
    Messages:
    32
    Likes Received:
    4
    Why is everyone trying to tell him to learn doing it on his own? Maybe I missed something, but he didn't write what he was going to achieve with his detection. Maybe he has like 1000 files that need to be categorized?
    Anyway, a little bit of more information would be nice...
     
    • Like Like x 4
    • Useful Useful x 2
    • Agree Agree x 1
    • List
  10. lyric8

    lyric8 Producer

    Joined:
    Sep 12, 2011
    Messages:
    1,124
    Likes Received:
    76
    Mix in key software might do it I don't know if it works with Midi files i use it with audio files try it
     
    • Interesting Interesting x 1
    • List
  11. thickchez

    thickchez Kapellmeister

    Joined:
    May 13, 2015
    Messages:
    42
    Likes Received:
    44
    I appreciate everyone's advice and insults. It was just to organize everything, i have like 450,000 .midi files that I would have liked to get into order, most of which were made in my studio. Its just that when you're riffing and you are really feeling what you're doing, you sometimes just want to save the file and move onto the next task. It's not that we're lazy, uneducated, or even slackers. We just have a lot going on and sometimes we don't have the kind of time to sort out every single key.

    Therefore, i was looking for an easier way to get everything into order instead of opening every single file one by one and keying them out.

    When did everyone get so hostile ?
     
    • Agree Agree x 3
    • Like Like x 2
    • Interesting Interesting x 1
    • List
  12. thickchez

    thickchez Kapellmeister

    Joined:
    May 13, 2015
    Messages:
    42
    Likes Received:
    44
  13. mercurysoto

    mercurysoto Audiosexual

    Joined:
    Nov 23, 2011
    Messages:
    1,460
    Likes Received:
    1,270
    Location:
    The bottom of the rabbit hole, next to Alice's
    Band in the Box can detect chords and then it maybe easier to figure out the song's key. Capo does it for audio files. But in both cases you gotta figure out the key from the chords displayed.

    EDIT:
    I just saw you gotta sort 450,000 files. Man, that's loco. I don't know any tool that will batch detect the key of midi files.
     
  14. Sylenth.Will.Fall

    Sylenth.Will.Fall Audiosexual

    Joined:
    Aug 21, 2015
    Messages:
    2,632
    Likes Received:
    1,821
    http://www.chord-detector.com/wordpress/apps/chorddetector/

    Try this :D

    Batch?????? On second thoughts, no it wont do it in batches. Sorry I didn't see the 450,000 midi files when I posted this.

    Sheesh 450,000


    UPDATE.. It will queue them so it kinda does batches but approx 10 mins each track, you may be older than yoda by the time it finishes all of em.
     
    Last edited: Sep 9, 2015
    • Like Like x 2
    • Funny Funny x 2
    • List
  15. Manta

    Manta Member

    Joined:
    Jan 8, 2013
    Messages:
    33
    Likes Received:
    17
    Best Answer
  16. Clandestine

    Clandestine Platinum Record

    Joined:
    Nov 11, 2013
    Messages:
    717
    Likes Received:
    152
    Remember midi is data that can refer to a variety of thing and is not music. Also there are different types of midi files so you could have a big job on your hands. Typically, 3 types of midi file, typically Key data will be included in midi metadata if it there with references how many intervals from C and whether major or minor.
    U could use a hex editor or something else to determine key and other data quite easily but it could take u a while to do 450,000 files :wink:
    Not sure of bulk on mass type programs :dunno:
     
  17. thickchez

    thickchez Kapellmeister

    Joined:
    May 13, 2015
    Messages:
    42
    Likes Received:
    44
  18. thickchez

    thickchez Kapellmeister

    Joined:
    May 13, 2015
    Messages:
    42
    Likes Received:
    44
    Haha yeah it's quite a large bank. We usually just mess around on the boards and save the midi file but not really in terms of key just in terms of what instrument we played that midi file on.
     
  19. thickchez

    thickchez Kapellmeister

    Joined:
    May 13, 2015
    Messages:
    42
    Likes Received:
    44
    Thank you to anyone who was kind enough to try ! It's really appreciated.
     
  20. sexyman

    sexyman Ultrasonic

    Joined:
    Apr 4, 2015
    Messages:
    96
    Likes Received:
    25
    Ok here is a gold mine tip just remember to send me sexyman lots of money when you make it big in the music and get rich.
    I use toontrack ezkeys to see what notes and chords are played in a midi file. just import the midi file or drag and drop the file to ezkeys time line. and select no to converting the file to key that ezkey is set to.
    also the midi file should have only one track so if you Dl a midi song file use a daw to delete all other tracks and leave the track that has the keys you want to know.
    I also use riff station to find song keys and chords from mp3 files.

    Yep good bit of info there have fun recycling old music thats the way to go.
     
    Last edited: Sep 27, 2015
  21. Zenarcist

    Zenarcist Audiosexual

    Joined:
    Jan 1, 2012
    Messages:
    4,251
    Likes Received:
    2,728
    Location:
    Planet Earth
    My only 'cheat' is performance related and I transpose my keyboard so the tonic is always on the C note (major scales) and A note (minor scales). This helps me to concentrate on the scale degrees (hint: you mostly play the white keys), as I am not really a keyboard player. It makes playing chords, variations and inversions a breeze as they are always in the same position no matter what the key is.

    Sorry if it's slightly off-topic but it might be helpful to some :wink:
     
    Last edited: Sep 28, 2015
Loading...
Loading...