Jump to content

how to play midi files in linux


jmjlinux586

Recommended Posts

hello, I downloaded a midi file from a site and triedto play it and mplayer or amarok won't play it.Any suggestions?????[jmj586@localhost my_music]$ mplayer silent-night.mid MPlayer 1.0rc2-4.1.1 © 2000-2007 MPlayer TeamCPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 6)CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0Compiled with runtime CPU detection.mplayer: could not connect to socketmplayer: No such file or directoryFailed to open LIRC support. You will not be able to use your remote control.Playing silent-night.mid.Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dllWin32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dllExiting... (End of file)[jmj586@localhost my_music]$ It looks like it is a windows file only?????

Link to comment
Share on other sites

It expects to find the codec:avisynth.dllin one of these two places:/usr/lib/win32or/usr/local/lib/win32Obviously it's not in there. Have a look into these wo places to check its absence or presence. (wincodes or win32-codecs is the package they come from)

It looks like it is a windows file only?????
Don't worry, the executable part is taken out.BTW: this topic was posted five times with exactly the same content, obviously there was a problem while posting somewhere in the chain. I took the liberty to remove the other four ones. B)
Link to comment
Share on other sites

Hello,Timidity worked thanks Bill <_<

BTW: this topic was posted five times with exactly the same content, obviously there was a problem while posting somewhere in the chain. I took the liberty to remove the other four ones. wink.gif
Sorry about that, my page wouldn't refresh,it seems to be a problem with my isp. B)
Link to comment
Share on other sites

Striker said:

It expects to find the codec:avisynth.dllin one of these two places:/usr/lib/win32or/usr/local/lib/win32
Evidently this dependency is taken care of automatically in PCLos.Bill
Link to comment
Share on other sites

Hello,Timidity worked thanks Bill :( Sorry about that, my page wouldn't refresh,it seems to be a problem with my isp. :thumbsdown:
No Jim, it's a problem with the server at the hosts end. It happens often. But there is a 'workaround' which works for me:When it happens again after you typed your post in the edit box and you have hit the Add Reply button, wait a bit as usual. When nothing happens after say 30 secs waiting, right click on the All Things Linux link at the top of the page and select open in new tab and you'll see the topic has been posted already. ;)Then you can just close the other tab with the edit box in it. :w00tx100:
Link to comment
Share on other sites

Well, when I had that problem, someone here suggested Timidity, and it worked! It is available in PCLos Synaptic.Bill
Timidity Works perfectly in Mandriva also B) Thanks a lot Bill
Link to comment
Share on other sites

  • 2 weeks later...

Hello,I just found a neat trick in mc(midnight commander)I downloaded a midi file and tried to play itwith Timidity and it wouldn't play it,I think it was because of the file RNB.MIDwas not RNB.midi.Anyway, I looked for the file in mc andhighlighted it an it began to play. :thumbsup: Don't ask me how, it just played. B)

Link to comment
Share on other sites

Well when I open a terminal and type "mc", I get this:

so at the risk to looking really stupid, how do I use that to play a midi file? I can locate the file in mc with "command>find file", but I don't see any way to actually "play" it. And this is not the first time I have seen references to mc on this forum, but how do you do something with the file after you find it with mc (play it in this case)?Thank you,Bill Edited by BillD
Link to comment
Share on other sites

Hi BillNot on the subject of playing midi files . . . but your shot of the MC: I am missing the ( very important ) bottom part where you can read what function-key stands for what action, see:http://farm3.static.flickr.com/2357/217787...9c23889c2_o.pngUsually F2 will give you a menu . . . . maybe the "play midi" is in there ? ( just a wild guess ):D Bruno

Link to comment
Share on other sites

All you have to do to play the file isscroll down to the file, and hit enter.You don't have to do anything else
Scroll where? I had to type in /home/bill/Desktop and then click the #2 deal at the bottom (mentioned by Bruno) for "do something to the file" and type in "play" to get it to work . . . Bruno, I see what you mean by omitting the last line.Thanks,Bill
Link to comment
Share on other sites

Hello,just open up a terminal like xterm,type mcyou will get a blue screen(sorry I tried to make a screenshot but it didn't come out right).It should automatically open up in /home/BillThen you will see a list of directories.Find the directory where you have a midi file,for example /home/Bill/midi_files,hit enter, then you should have a list of the midi filescontained in that folder.Just scroll down to the file you want to play and hit enter.Sorry, have to go to work now.Will try a screen shot again later.Hope this helps :)

Link to comment
Share on other sites

Well, when I scroll down to the file (I figured out how to do the scrolling . . . with the arrow keys-duh), hitting enter does nothing. I still have to select it, go to "menu" and go to "do something to the file" and type in "play" before it happens . . . ? Not only that, but I cannot open the folder when I see it in the mc, I have to type in the specific name of the file I am looking for before the directory for that folder opens; now how do I get around that?Thanks,Bill

Edited by BillD
Link to comment
Share on other sites

You hightlight the folder and hit the Enter-key . . . that will open the folder ;):thumbsup: Bruno
Yes, that was what I thought Jim meant, but it does nothing when I hit the enter key . . . and then when I highlight the file, I still have to use the "menu" at the bottom to choose to do something with the file and then I have to tell it what to do; i.e., "play"; again just hitting "enter" does nothing! Somehow I think Jim has an easier way :) Bill
Link to comment
Share on other sites

Hello Bill,It looks like you figured out how to scrollin mc.Here is a screenshot of my midi file:http://farm3.static.flickr.com/2225/217942...debbd2e55_o.jpgnow find the midi file you want to play in mc,it should look like mine, but you might have a .midiextention.Once you find it it should turn green like mine is.Then all you have to do is hit enter and it should begin playing.See screen shot of midi file playing:http://farm3.static.flickr.com/2024/217945...02ff8fb17_o.jpgDo you see the white text in the upper left of the screen shot?It says playing RNB.MIDThat is all you have to do.Do not try to highlight the file orgo to the menu or anything else,just hit enter.Hope this helps

Edited by jmjlinux586
Link to comment
Share on other sites

Jim, I see your shots, but it just doesn't work for me with an enter click; I have to go thru the nonsense described above to make it work.Guess it is one of these computer mysteries that does not have a ready explanation, which is odd since we are using the same OS.Bill

Link to comment
Share on other sites

Are you clicking with the mouse or hitting the Enter key? I doubt click it with the mouse is going to do anything in MC.Adam
Double clicking with mouse also opens the file in MC ;)
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...