You are not logged in.

#1 2008-12-10 04:07:47

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,418
Website

ossvol - an oss volume/muting control script

I recently had to switch to oss due to issues with alsa. My only problem with oss was an inability to incorporate it into my awesome configuration... even when i got it to display properly, I couldn't get it to mute (ossmix doesn't natively allow you to mute, how screwed up is that??). Hence, ossvol was born.

Visit us here for more info!

ossvol is also available via the AUR.

usage: ossvol [option] [argument]

Options:
     -i, --increase - increase volume by [argument]
     -d, --decrease - decrease volume by [argument]
     -t, --toggle   - toggle mute on and off
     -h, --help     - display help

Last edited by Ghost1227 (2008-12-11 02:04:39)

Offline

#2 2008-12-10 07:10:43

jarryson
Member
Registered: 2007-02-18
Posts: 298

Re: ossvol - an oss volume/muting control script

Nice! but i have already have the scripts like ossraisevol, ossmute smile

Offline

#3 2008-12-10 07:25:34

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,418
Website

Re: ossvol - an oss volume/muting control script

Well I didn't tongue that's why i wrote ossvol

Offline

#4 2008-12-10 13:15:05

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: ossvol - an oss volume/muting control script

I'm assuming you've put this on script wiki wink


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#5 2008-12-10 15:04:03

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,418
Website

Re: ossvol - an oss volume/muting control script

That would be pretty sad if the maintainer of ScriptWiki failed to post one of their own scripts tongue yes, that was the first thing i did.

Offline

#6 2008-12-15 04:13:34

bruenig
Member
Registered: 2007-05-20
Posts: 175

Re: ossvol - an oss volume/muting control script

Gees I Wonder Where You Got The Idea For This!!111

Offline

#7 2008-12-15 06:44:33

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,418
Website

Re: ossvol - an oss volume/muting control script

Well, I'll admit that I borrowed the about portion of the script (with a little modification) from your changevol script, although given that changevol is written in python, built for alsa, and intended to show a volume bar while ossvol is a bash script, built for oss, and intended to add mute functionality to oss while displaying nothing, I'd say that the similarities end there. tongue

Offline

#8 2008-12-21 23:01:26

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Re: ossvol - an oss volume/muting control script

Good work, but I have had to modify CHANNEL value since mine is set to vmix0-outvol instead of vol.


Till the last battle, till the last bottle.
aur - twitter

Offline

#9 2008-12-22 00:03:57

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,418
Website

Re: ossvol - an oss volume/muting control script

That's why it's a variable (at some point in time, I may extend it more and add a config file where changing CHANNEL and the other few variables is easier, but that's not a huge priority right now). Enjoy though!

Offline

Board footer

Powered by FluxBB