Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Changing sound volume via the command line.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
bassvandijk
Guru
Guru


Joined: 13 Sep 2002
Posts: 306
Location: Haps, Netherlands

PostPosted: Wed Jan 15, 2003 5:28 pm    Post subject: Changing sound volume via the command line. Reply with quote

How do I change the sound volume via the command line?
Back to top
View user's profile Send private message
jetblack
Guru
Guru


Joined: 15 Jan 2003
Posts: 340
Location: Evanston, IL, USA

PostPosted: Wed Jan 15, 2003 5:37 pm    Post subject: Reply with quote

If you're using alsa, then amixer will let you do it.

Code:

amixer set Master newvol


where 0 <= newvol <= 100

There's a bunch of good info in the Gentoo Linux ALSA Guide
Back to top
View user's profile Send private message
bassvandijk
Guru
Guru


Joined: 13 Sep 2002
Posts: 306
Location: Haps, Netherlands

PostPosted: Wed Jan 15, 2003 5:47 pm    Post subject: Reply with quote

I'm not using ALSA.
I compiled my sound drivers directly in the kernel
But thnx anyway!

gonna read the linux sound howto.
Back to top
View user's profile Send private message
jetblack
Guru
Guru


Joined: 15 Jan 2003
Posts: 340
Location: Evanston, IL, USA

PostPosted: Wed Jan 15, 2003 5:53 pm    Post subject: Reply with quote

Ah, okay. That howto will probably help.

I found this page which has a bunch of links to command line mixers. I've never used any of them, but some of them may work for you.

Good luck!
Back to top
View user's profile Send private message
bassvandijk
Guru
Guru


Joined: 13 Sep 2002
Posts: 306
Location: Haps, Netherlands

PostPosted: Wed Jan 15, 2003 6:25 pm    Post subject: Reply with quote

thnx !!!
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Wed Jan 15, 2003 8:06 pm    Post subject: Reply with quote

I think that aumix has a command line version.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
perry
Tux's lil' helper
Tux's lil' helper


Joined: 18 Nov 2002
Posts: 142
Location: Cornfields of Indiana

PostPosted: Thu Jan 16, 2003 4:37 am    Post subject: Reply with quote

I use smixer w/ lirc and my remote. Works like a charm.
Back to top
View user's profile Send private message
hrnick
Guru
Guru


Joined: 31 Aug 2002
Posts: 425
Location: Sweden

PostPosted: Thu Jan 16, 2003 11:19 am    Post subject: Reply with quote

does anyone know of a command line mixer with a mute-unmute function?
Back to top
View user's profile Send private message
drakonite
l33t
l33t


Joined: 02 Nov 2002
Posts: 768
Location: Lincoln, NE

PostPosted: Thu Jan 16, 2003 11:23 am    Post subject: Reply with quote

Ermixer seems to be pretty good to me.
I'm pretty sure it lets you mute... But AAAHHH!!! I can't check as I just noticed that for some reason my sound isn't working!! NOOO!!!! Must go fix!!!
[throwing a temper tantrum smiley]
Back to top
View user's profile Send private message
Cleotis
n00b
n00b


Joined: 09 Aug 2002
Posts: 53
Location: Belgium

PostPosted: Thu Jan 16, 2003 11:25 am    Post subject: Reply with quote

henrik wrote:
does anyone know of a command line mixer with a mute-unmute function?


Why don't you write an alias for aumix?

(to set your vol to 0% and back again)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum