View previous topic :: View next topic |
Author |
Message |
goanuj Tux's lil' helper
Joined: 13 Jul 2002 Posts: 125 Location: California
|
Posted: Thu Jun 26, 2003 12:32 am Post subject: mp3 from command line, stopping alsa? |
|
|
couple questions:
Are there any programs that allow one to play a mp3 from the command line? (I do not use X, only consoles)
Can I stop my computer from making any sounds whatsoever using ALSA?
no midi, no annoying beeps, no mp3, nothing
--Anuj |
|
Back to top |
|
|
nadamsieee Guru
Joined: 30 May 2003 Posts: 340 Location: Atlanta, GA, USA
|
Posted: Thu Jun 26, 2003 1:35 am Post subject: |
|
|
To unmute your soundcard you would do this (as root):
Code: | # amixer set Master 100 unmute
# amixer set PCM 100 unmute |
So to mute it you would do this (again, as root):
Code: | # amixer set Master 0
# amixer set PCM 0 |
You can also run alsamixer to tweek the sound:
_________________ nadams (at) ieee (dot) org |
|
Back to top |
|
|
PowerFactor Veteran
Joined: 30 Jan 2003 Posts: 1693 Location: out of it
|
Posted: Thu Jun 26, 2003 5:12 am Post subject: Re: mp3 from command line, stopping alsa? |
|
|
goanuj wrote: | Are there any programs that allow one to play a mp3 from the command line? (I do not use X, only consoles) |
Well, there's the classic mpg123. As well as mpg321, I don't know if one is better than the other. There are also some ncurses based mp3 players but I can't remember the names of any right now.
To silence alsa you can just fire up alsamixer and mute master. Alsa doesn't have anything to do with your pc speaker though, not sure how you shut that one up, short of unpluging it from the mb. |
|
Back to top |
|
|
Woody Guru
Joined: 30 Nov 2002 Posts: 592 Location: Milwaukee
|
Posted: Thu Jun 26, 2003 6:19 am Post subject: |
|
|
mp3blaster, alsaplayer has a text interface, xmms-shell...
To shut down the drivers:
Code: | # /etc/init.d/alsasound stop |
That doesn't solve the beeping tho...that would be in the kernel.
You could always unplug the speaker |
|
Back to top |
|
|
|