LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Midi & other music format conversion to mp3 (http://www.linuxquestions.org/questions/linux-software-2/midi-and-other-music-format-conversion-to-mp3-757950/)

Benny7440 09-26-2009 12:22 PM

Midi & other music format conversion to mp3
 
I've searched this site but found a thread from 2005 & decided to start a fresh one because half of my issue isn't resolved in that thread.
I was wishing to convert some .mid (midi) files to mp3 & don't know what to use (nothing that comes with PL does it) if it's at all possible.
Second, if you go to www.music-score.com & download a file (especially for playing it with Scorch Plugin) & you decide to save it you will see a folder is created apart from a browser-linked-file which you have to double-click to start playing the file if you're in Windows. This 'strange' format for saving a music file is something that escapes my understanding: the formal question is if there's a way to convert the music weaved within this set of files to mp3?
Thanks in advanced!

neonsignal 09-26-2009 08:53 PM

Quote:

I was wishing to convert some .mid (midi) files to mp3 & don't know what to use (nothing that comes with PL does it) if it's at all possible.
You can use timidity to convert midi files to other formats (using the -O flag). Convert the midi file to a non-compressed format (eg Sun audio), and then use lame to create an mp3 file.

Quote:

Second, if you go to www.music-score.com
That looks like a link aggregation site (with lots of ads). Please provide an example link to a specific piece; I can't see anything except links to other sites.

Quote:

download a file (especially for playing it with Scorch Plugin)
The whole idea of a plugin like this is to prevent you converting the file to other formats. You can record just about anything by using audacity, by selecting the output mix as the recording input (which many sound cards provide).

Benny7440 09-27-2009 08:00 AM

Thanks neonsignal for responding. I'm sorry that I supplied the wrong link & below I'm postin the correct one:

http://www.music-scores.com/midi.php...gio_piano_duet

If I'm right, you have to download the scorch plugin in order to see the score & hear the music in Firefox & other browsers (think that it isn't available for Internet Explorer --the plugin).
In relation to that software (Audacity), I haven't seen it yet but hope that when you say "selecting the output mix as the recording input" it is a software configuration thing. I mention it because my notebook is an old one & I beleive all is embedded into the motherboard itself from factory (so, not much room for interconnections here). In the meantime I'm going to search for some info about audacity.

neonsignal 09-27-2009 08:42 AM

{that piece reminds me of one of my favorite films, Gallipoli}

From Firefox without the scorch plugin, I am able to view the score as an image file (which can be saved), and the midi file is available as a button at the top of the page (next to the scorch button). The midi file itself can be directly downloaded by following through the link (contained in the autogenerated php file).

The scorch plugin gives you additional functionality, but perhaps less than you would get just by loading the midi file into an editor such as rosegarden.

Quote:

In relation to that software (Audacity), I haven't seen it yet but hope that when you say "selecting the output mix as the recording input" it is a software configuration thing.
The software audacity is a widely used sound editor program (PCM sound rather than midi). One use is as a sound recorder. Selecting the recording input is typically done from a mixer program (which one you have will depend on your Linux distribution); you go to the recording section, and select the output mix as the recording input. Then anything you play using whatever software can be recorded using audacity. However, this is a clumsy way to do it; in the case of midi files, it is much easier to use timidity to produce the PCM version, eg

Code:

timidity -Ow al_ad_du.mid
lame al_ad_du.wav al_ad_du.mp3


Benny7440 09-30-2009 08:01 PM

Thanks neonsignal for your advices.
I downloaded timidity++(for Windows) & used ir to play a midi file & it worked. I was looking for a linux version but the files that I found endedin something like 'gz' which really said nothing to me. So, just to have a taste of the software I decided to download it & it's here already.
Now, the instructions I see in your post (#4) look as if I'm within a linux environment??? I don't know how to use the program yet but I'm afraid I made a mistake by downloading this type. I tried in a few ways to play the file al_ad_du.bin under Albinoni (changed the .bin to .mid) but no way.
If you have any clue as to how to proceed I'll be very glad to try it!

neonsignal 10-01-2009 08:57 AM

Quote:

I was looking for a linux version but the files that I found ended in something like 'gz' which really said nothing to me.
The .tar.gz is a common way of distributing the source code for an application so it can be recompiled for different systems. Typically you would run 'tar xzf filename.tar.gz' to extract, and then build using 'make' inside the directory.

However, many Linux distributions already have timidity available through their package archives, which is an easier way to install it (it saves having to recompile, and it may have some tweaks to suit the distribution).

Quote:

Now, the instructions I see in your post (#4) look as if I'm within a linux environment?
Yes, I had assumed a Linux environment. The instructions were the commands to be entered at the command line. If you aren't familiar with using a command line terminal/shell, there are many introductory guides, such as this one.

Quote:

I tried in a few ways to play the file al_ad_du.bin under Albinoni (changed the .bin to .mid) but no way.
I'm not sure why this was an issue; in Firefox, the link 'http://www.music-scores.com/midi1/al_ad_du.mid' directly downloaded the midi file.

Benny7440 10-01-2009 03:43 PM

Thanks neonsignal! Right now I'm running under Windows & cannot tell you with absolute precission but I'm almost sure I've 'sGmixer' & 'AlsaMixer' in my PL 4.2.1.
The file plays within FF & played once with timidity. Today I openned a command window within Windows, moved the file to the same folder as timidity & changed it to .wav. Timidity can't play it but Win Media Player does (the dimension diference in Bytes is awesome).
I'll check from PL later because I'm in the process of installing PL 4.3 & I'm facing a challenge here with a message that says:
"pup-430.sfs (not found)"
during the booting process. My installation is a frugal one dual-booting with Windows but I was hoping to 'add' this other option to see if it is more stable than the one I've been using. All these will take some time from schedule but I hope that all these things are repaired/solved during this weekend.

PS I've not seen Galipoli but I'm planning to search for some info, at least, on the subject (I'm curious about it).

PSS All the media software that I have is:
1) Alsa (Mixer & Player);
2) Gxine - multimedia player;
3) Gxine media player, downloaded new ver.;
4) PawdioConverter;
5) Pmusic;
6) sGmixer.
Although there're other media software these are the ones that are of some usage for a convertion process...


All times are GMT -5. The time now is 10:18 AM.