LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-09-2016, 06:46 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post MP3 to MIDI.


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

Tnx.
 
Old 07-09-2016, 01:09 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924
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.
 
1 members found this post helpful.
Old 07-09-2016, 02:31 PM   #3
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on freest; has been KDE, CLI, Novena but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,506
Blog Entries: 3

Rep: Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482
Does it have to be MIDI.ogg ?
 
Old 07-09-2016, 03:20 PM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
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.
 
1 members found this post helpful.
Old 07-09-2016, 03:27 PM   #5
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on freest; has been KDE, CLI, Novena but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,506
Blog Entries: 3

Rep: Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482
I tried Audacity but it got over my head.

Can an MP3 be played and then captured\recorded to MIDI, like for (off base) example a key, screen and audio logger... maybe VLC?
 
Old 07-09-2016, 03:36 PM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
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)?
 
1 members found this post helpful.
Old 07-12-2016, 11:22 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 18,388
Blog Entries: 12

Rep: Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618Reputation: 5618
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.
 
1 members found this post helpful.
Old 07-12-2016, 11:40 AM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
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.
 
Old 07-12-2016, 12:01 PM   #9
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924
Quote:
Originally Posted by Emerson View Post
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).
 
Old 07-12-2016, 01:47 PM   #10
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
Quote:
Originally Posted by hydrurga View Post
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...?
 
Old 07-12-2016, 01:51 PM   #11
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
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.
 
Old 07-12-2016, 01:54 PM   #12
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924
Quote:
Originally Posted by 273 View Post
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?
 
Old 07-12-2016, 02:07 PM   #13
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
Quote:
Originally Posted by hydrurga View Post
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".
 
1 members found this post helpful.
Old 07-12-2016, 02:55 PM   #14
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on freest; has been KDE, CLI, Novena but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,506
Blog Entries: 3

Rep: Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482
Evolution.
 
Old 07-12-2016, 03:00 PM   #15
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
Quote:
Originally Posted by Emerson View Post
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.

Last edited by 273; 07-12-2016 at 03:01 PM.
 
  


Reply

Tags
convert, frequency, midi, soundfont


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Midi to Wav or MP3 converter? Zaskar Linux - Software 4 08-08-2007 02:22 PM
Convert midi to mp3? masonm Linux - General 2 06-10-2007 07:59 AM
Edit midi like wav/mp3 daishin Linux - Software 4 08-04-2006 03:11 AM
mp3/wav to midi converters? provkitir Linux - Software 1 11-10-2004 08:00 PM
What is the best midi to mp3 converter??? Frank Linux - Software 1 07-14-2002 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration