LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-25-2013, 12:32 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,378

Rep: Reputation: Disabled
can I transform a MIDI into a non-digital sound?


I always wanted to put my MIDI music collection on a CD or on my music player, but it's impossible--the only way I know how to listen to MIDI music is using a MIDI player on a computer (Timidity, in Linux). Can I use Audacity to transform MIDI sound into a non-digital sound format-- OGG or anything else playable by non-MIDI software or equipment? So far, all I can do is open my MIDI files in Audacity.

Last edited by newbiesforever; 01-25-2013 at 01:41 PM.
 
Old 01-25-2013, 01:09 PM   #2
headrift
Member
 
Registered: Sep 2005
Distribution: Gentoo, Sabayon, Puppy, Arch
Posts: 165

Rep: Reputation: 29
Timidity++ will convert a MIDI to an OGG without much hassle.

Code:
timidity -Ov midifile.mid
...will save a new file called "midifile.ogg".

Audacity might edit your MIDI file, but I'm pretty sure it doesn't play audio from them. I haven't checked for a decade.

There are more output options if you look at the timidity help.
 
1 members found this post helpful.
Old 01-25-2013, 01:53 PM   #3
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,378

Original Poster
Rep: Reputation: Disabled
Thanks. Do I need to have the output file already made? because (assuming "midifile.mid" was your example) I specified an output .OGG file with the same filename as the MIDI piece and it didn't work. I entered:

Quote:
timidity -Ov '/media/sda1/data/music/midi/rainbowc.mid' rainbowc.ogg

and regarding the output file, the output said:


Quote:
Playing rainbowc.ogg
MIDI file: rainbowc.ogg
rainbowc.ogg: No such file or directory
...

EDIT: Forget that question. Well, this is strange: even though it said "No such file or directory" (indicating the output file doesn't exist, right?), once I actually looked, I found the newly made output file where it's supposed to be. It does sound exactly the same as the MIDI (I wasn't sure it would).

Last edited by newbiesforever; 01-25-2013 at 02:10 PM.
 
Old 01-25-2013, 02:08 PM   #4
headrift
Member
 
Registered: Sep 2005
Distribution: Gentoo, Sabayon, Puppy, Arch
Posts: 165

Rep: Reputation: 29
Don't specify an output file. In your example, timidity would create a file named rainbowc.ogg automatically from rainbowc.mid -- timidity will look for rainbowc.ogg as a second midi input file if you specify it on the command line like you've done.

Again, there are more options you can play with... I can't seem to find a good man page for timidity online, but `man timidity` or just `timidity -h` will show them to you.
 
1 members found this post helpful.
Old 01-25-2013, 02:43 PM   #5
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,378

Original Poster
Rep: Reputation: Disabled
Thanks, this does what I wanted.
 
  


Reply



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
ALSA MIDI: Sound fonts for NVIDIA/NForce Soundstorm on-board sound vharishankar Linux - Hardware 6 09-04-2007 12:37 PM
midi keyboard, how to make sound?midi keyboard, how to produce sounds? Blyiss Linux - Software 10 03-24-2007 08:53 PM
sound is off with audacity install bosewicht Linux - Newbie 0 04-10-2004 10:53 PM
midi / synth sound with SIS7012 aka Intel i8x0 onboard sound card does not work wahwah Linux - Hardware 1 11-10-2003 05:25 PM
midi (musical instruments digital interface) chrismiceli Linux - General 1 12-25-2002 12:14 AM

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

All times are GMT -5. The time now is 07:18 PM.

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