Find the answer to your Linux question:
Results 1 to 7 of 7
Hello, I just got mplayer installed and got it working except for the sound. I typed in the code: Code: mplayer /home/knoppix/(file) It said playing (file) but i didn't hear ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2006
    Posts
    55

    MPLAYER--.mid files


    Hello, I just got mplayer installed and got it working except for the sound. I typed in the code:
    Code:
    mplayer /home/knoppix/(file)
    It said playing (file) but i didn't hear anything. If you could resond that would be great. Thanks so much.

    ~Linux1245

  2. #2
    Linux Newbie pajamabama's Avatar
    Join Date
    Jul 2005
    Location
    In another time's forgotten space
    Posts
    150
    I assume that other apps, like xmms or other music player, can produce sound?

    I'm not sure about configuration at the command line, but I know that if you've got the gui front end you can select Preferences->Audio

    Do you know which sound architecture you're using? Probably ALSA? If so, try clicking on 'Configure Driver' and making sure that it't set to default. If that doesn't work (it probably requires restarting mplayer), try some other settings, in particular the 'hw=x.x' options.

    0.0 is the first device on the first sound card,
    1.0 is the first device on the second card, ect.

    hope this helps
    HP Pavilion dv6000t
    Intel Centrino Duo 2.0GHz
    nVidia GeForce Go 7400
    Fedora 10

    ----------------------
    The real question is what time is it and why the hell am I still screwing around with my computer?

  3. #3
    Just Joined!
    Join Date
    Jan 2006
    Posts
    55
    I do have sound working with sound files. It is just the .mid files that won't play in any music player. Do you know any program for linux that will play midi files? Thanks again.


    ~Linux1245

  4. #4
    Linux Newbie pajamabama's Avatar
    Join Date
    Jul 2005
    Location
    In another time's forgotten space
    Posts
    150
    I don't really know anything about midi. Sorry.
    HP Pavilion dv6000t
    Intel Centrino Duo 2.0GHz
    nVidia GeForce Go 7400
    Fedora 10

    ----------------------
    The real question is what time is it and why the hell am I still screwing around with my computer?

  5. #5
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,133
    The problem is most likely the lack of midi hardware support on your sound card. Try a program like Timidity++ which is a software midi synthesizer. This will play through the usual aRts or whatever soundserver. If you have knoppix on the internet and you can't find the application in the menu try
    Code:
    apt-get install timitdity++
    to install it. You will need to run that command as root.

  6. #6
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,133
    Sorry my edit is not working - obviously I've spelt timidity++ wrong in the code above. Sorry.

  7. #7
    Just Joined!
    Join Date
    Jan 2006
    Posts
    55
    I tried to run timidity to play a midi file but this is what came up:
    Code:
    root@0[knoppix]# timidity (file)
    /usr/local/share/timidity/timidity.cfg: No such file or directory
    timidity: Can't read any configuration file.
    Please check /usr/local/share/timidity/timidity.cfg
    I type a file in but that message comes up. Any ideas? Thanks again.

    ~Linux1245

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •