LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MP3 to MIDI. (https://www.linuxquestions.org/questions/linux-software-2/mp3-to-midi-4175584170/)

hack3rcon 07-09-2016 05:46 AM

MP3 to MIDI.
 
Hello.
How can I convert a MP3 file to MIDI?

Tnx.

hydrurga 07-09-2016 12:09 PM

In the absence of any other replies, I refer you to the following.

http://ubuntuforums.org/showthread.php?t=1805022

In saying that, you could try WaoN: http://waon.sourceforge.net/ but you will need to convert to WAV first.

Please let us know how you get on.

jamison20000e 07-09-2016 01:31 PM

Does it have to be MIDI.ogg ? :D

273 07-09-2016 02:20 PM

As mentioned in the link in hydrurga's post this isn't really possible -- it's a hard problem that's going to need a good few more years of hardware and software development to be feasible for all but the most simple musical arrangements.
The original question could be better phrased as: How can I convert the audio produced by playing an mp3 file to a file containing a description of each instrument played, the exact notes played upon it, the relative volume of those notes, their place within the stereo picture of the piece and the time signature and tempo of the piece along with other notation when necessary?
This is a very hard problem indeed.

jamison20000e 07-09-2016 02:27 PM

I tried Audacity but it got over my head. :D

Can an MP3 be played and then captured\recorded to MIDI, like for (off base) example a key, screen and audio logger... maybe VLC?

273 07-09-2016 02:36 PM

As I stated, it's a very hard problem. This is akin to speech recognition but the software needs to separate each instrument's part of the wave form out then work out (how?) which each instrument is and then deduce the tempo, key and time signature in order to produce musical score of that track (which is, in essence, what MIDI is).
This is AI, machine-learning "hard" in the computer-science sense of the word stuff.
For example, Tom Morello's Guitar on Rage Against The Machine's eponymous first album is indistinguishable in places to many human ears (trained or otherwise) from synthesiser to the extent that there's a note in the album sleeve indicating that no synths were used. On the other hand how would MIDI render a synth anyhow, they've infinite sounds but MIDI only has a few samples (playback platform dependent and unknown to the person making the MIDI file)?

ondoho 07-12-2016 10:22 AM

you have to understand what mp3 is, and what midi is.
mp3 is just sound (compressed, as compared to wav, but that's irrelevant here), whether it's music, dog barking, speech or street noise.
midi is basically a sheet with notes, but readable by a computer - the computer then produces the according sounds with the help of some soundbank and synthesizer.

the computer has no way of knowing that your bootleg recording of a grateful dead concert contains a finite number of defined instruments, and how to seperate the sounds.

it just doesn't work.

i have tried an mp3 to midi converter many years back, but the results were so useless that i quickly gave up on it.

Emerson 07-12-2016 10:40 AM

Even if you got your hands on the master record with all tracks separate it would be hard to convert it to midi, once it is mixed together - forget it.

hydrurga 07-12-2016 11:01 AM

Quote:

Originally Posted by Emerson (Post 5574652)
Even if you got your hands on the master record with all tracks separate it would be hard to convert it to midi, once it is mixed together - forget it.

I don't see why it shouldn't be achievable one day given interpolation and the richness of frequencies associated with a single source. We're just not there yet (by quite a margin).

273 07-12-2016 12:47 PM

Quote:

Originally Posted by hydrurga (Post 5574665)
I don't see why it shouldn't be achievable one day given interpolation and the richness of frequencies associated with a single source. We're just not there yet (by quite a margin).

So, which is the MIDI instrument for "Tom Morello's Guitar"?
Or, to go further, Mellotron, Moog, Little Fatty...?

Emerson 07-12-2016 12:51 PM

Funny, I was a professional sound engineer for 7+ years. It dawns to me what I see as impossible may be not that apparent for people with less experience on this field.

hydrurga 07-12-2016 12:54 PM

Quote:

Originally Posted by 273 (Post 5574757)
So, which is the MIDI instrument for "Tom Morello's Guitar"?
Or, to go further, Mellotron, Moog, Little Fatty...?

You don't think computers will ever be that clever?

273 07-12-2016 01:07 PM

Quote:

Originally Posted by hydrurga (Post 5574763)
You don't think computers will ever be that clever?

They will, I assume. Though my example relates to something a human can't "MIDIfy".

jamison20000e 07-12-2016 01:55 PM

Evolution.

273 07-12-2016 02:00 PM

Quote:

Originally Posted by Emerson (Post 5574761)
Funny, I was a professional sound engineer for 7+ years. It dawns to me what I see as impossible may be not that apparent for people with less experience on this field.

I apologise to those reading my previous posts as I ought to have replied with: No, you cannot turn the MP3 into MIDI because MIDI is limited by the playback system's sample collection.
Even assuming a less limited playback sample collection you are then defining MP3.


All times are GMT -5. The time now is 05:23 AM.