Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Simple Mute Question (I Think) Post 56679 by Switchfoot on Thursday 7th of October 2004 07:50:55 PM
Old 10-07-2004
Anyone?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Simple Question

Friends, I did following exercise $ echo '' > test $ od -b test $ echo "">test $ od -b test $echo > test $od -b test Every time I got the following output 0000000 012 0000001 But 012 is octal value for new line character . Even though there is no apperent new line character... (6 Replies)
Discussion started by: j1yant
6 Replies

2. UNIX for Advanced & Expert Users

a simple question

I have a problem, why should root access only be provided from a login on the console, and why should a user be forced to use "su" command to perform system maintenance, rather than logging in? (2 Replies)
Discussion started by: pnxi
2 Replies

3. UNIX for Dummies Questions & Answers

Ok simple question for simple knowledge...

Ok what is BSD exactly? I know its a type of open source but what is it exactly? (1 Reply)
Discussion started by: Corrail
1 Replies

4. Shell Programming and Scripting

Simple question.

Is it possible to establish an IF statement inside a case statement in a shell file ? thx (2 Replies)
Discussion started by: TARFU
2 Replies

5. UNIX for Dummies Questions & Answers

Very simple question

I'm new to unix commands and am wondering how you could create a page with html tags in it. echo "<b>Test</b>" > test.html doesn't work because of the tags. How would I do this. (4 Replies)
Discussion started by: roger19
4 Replies

6. Programming

Simple C question... Hopefully it's simple

Hello. I'm a complete newbie to C programming. I have a C program that wasn't written by me where I need to write some wrappers around it to automate and make it easier for a client to use. The problem is that the program accepts standard input to control the program... I'm hoping to find a simple... (6 Replies)
Discussion started by: Xeed
6 Replies

7. UNIX for Dummies Questions & Answers

simple(?) if/else question

Hello, I have a quick question that is not related to homework in any way shape or form (in case anyone wanted to know). My question is thus: I have a file "temp" that has the two values say "5" and "3" (separated by a white space). Now, I want to simply write an if-else statement that reads... (10 Replies)
Discussion started by: astropi
10 Replies

8. OS X (Apple)

Disable / mute microphone from command line

Googling suggested "osascript -e 'set volume 0' " but that doesn't work. I know I'd found this before... some command-line utility that had something to do with audio, mixers, whatever, but I forgot to keep it somewhere I could find it. I did find references to writing an AppleScript app, but... (3 Replies)
Discussion started by: jnojr
3 Replies

9. Red Hat

Syslog.conf: looking for a simple answer on a simple question

Cheers! In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not? To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies

10. Programming

C++, std:ofstream, and controlling an amplifiers mute function

Recently, I updated the unit I am running applications on with a new CODEC and amplifier; the older parts are EOL. There was a bug with the old setup. For some reason, even when a tone was not being generated, you could hear a noise emanating from the speaker when the LCD brightness was on a higher... (2 Replies)
Discussion started by: Circuits
2 Replies
ossmix(1)							 OSS User Commands							 ossmix(1)

NAME
ossmix - Open Sound System command-line mixer program. SYNOPSIS
ossmix [-d <dev#>] [-achqD] [control name] [value] DESCRIPTION
ossmix is a simple command-line mixer utility that is used to display the mixer settings of physical and virtual audio devices. OSS version 4 has an extended mixer API which supports some device specific features that may not available using other mixer applications. OPTIONS
-D Display device information. -a Dump mixer settings for all mixers (normal format). -c Dump mixer settings for all mixers (command format). -h Display usage information. -q Quiet mode. -v[1|2] Verbose mode. -v2 prints more detailed infoamation than -v1. ctrl# value Change value of a mixer control. <no arg> Display current/possible settings. USAGE
ossmix without any arguments displays the current settings of the default mixer device (usually the motherboard sound chip). This printout can also be used to find out the supported control names and their possible values. Currently all controls accept an ON/OFF value, a mono value (0 to 100) or a stereo value (left:right where both channel volumes can be between 0 and 100). The value can also be expressed in a relative form (e.g. +1 to add 1 to the previous volume). An ON/OFF control can also receive a TOGGLE value. If a control has a name in quotes following the normal output, than the name can be used instead of the control when setting a value. The following is a sample printout produced by ossmix: Selected mixer 0/Creative AudioPCI Known controls are: vol <both/leftvol>[:<rightvol>] (currently 50:50) pcm <both/leftvol>[:<rightvol>] (currently 50:50) speaker <monovol> (currently 21) line <both/leftvol>[:<rightvol>] (currently 32:32) line.rec ON|OFF (currently OFF) mic <monovol> (currently 16) mic.rec ON|OFF (currently ON) cd <both/leftvol>[:<rightvol>] (currently 100:100) cd.rec ON|OFF (currently OFF) pcm2 <both/leftvol>[:<rightvol>] (currently 75:75) line1 <both/leftvol>[:<rightvol>] (currently 32:32) line1.rec ON|OFF (currently OFF) line2 <monovol> (currently 32) line2.rec ON|OFF (currently OFF) line3 <monovol> (currently 0) line3.rec ON|OFF (currently OFF) mic.micboost ON|OFF (currently ON) mic.micbias ON|OFF (currently ON) mute.pcmmute ON|OFF (currently OFF) mute.pcm2mute ON|OFF (currently OFF) mute.micmute ON|OFF (currently OFF) mute.cdmute ON|OFF (currently OFF) mute.linemute ON|OFF (currently OFF) mute.line1mute ON|OFF (currently OFF) mute.line2mute ON|OFF (currently OFF) mute.line3mute ON|OFF (currently OFF) SELECTING MIXER DEVICE
It's possible to select the mixer device by using the -d<mixernumber> command line argument. This argument (when used) should be the first one on the command line. By default the mixer number 0 will be accessed. To find the available mixer devices, type ossinfo -x and look under the Mixers heading for available mixer devices. CHANGING MIXER SETTINGS
Changing the values is done just like with the original "mixer" applet. For example: ossmix pcm 50:60 The above sets the pcm control (audio playback volume) so that the left channel volume is 50 and the right channel volume is 60. With just "ossmix pcm 50" the both channel volumes will be set to 50. In addition to the old mixer there are now some (usually ON/OFF) settings. These settings are device specific and don't work with all soundcards. The easiest way to find them out is to start ossmix without command line arguments (other than -d#). Some control names contain a dot ("."). This dot is required when changing the value. For example: "ossmix -d0 mic.micboost ON". EXAMPLES
ossmix vol 50 Set the vol control volume to 50. If the pcm control is a stereo control, than both channels will be set to 50. ossmix vol 50:60 Set the vol control so that the left channel volume is 50 and the right channel volume is 60. ossmix vol +2 Raise vol volume by 2. ossmix -- vol +2:-2 Raise the left channel volume by 2, and lower right channel volume by 2. The "--" is needed on some systems so that the "-2" won't be mistaken for a parameter. ossmix micboost ON Set micboost to ON. ossmix micboost TOGGLE Toggle micboost. ossmix mplayer +2 Raise mplayer volume by 2. This would only work if mplayer is using the virtual mixer. FILES
/usr/bin/ossmix SEE ALSO
ossdevlinks(1), ossxmix(1), savemixer(1) AUTHOR
4Front Technologies 16 December 2012 ossmix(1)
All times are GMT -4. The time now is 08:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy