| 1 |
.\" Copyright 1996 Thomas Sailer ([email protected]) |
| 2 |
.\" May be distributed under the GNU General Public License |
| 3 |
.\" " |
| 4 |
.TH SMMIXER 8 "27 April 2008" "Smmixer 0.1" "Linux Programmer's Manual" |
| 5 |
.SH NAME |
| 6 |
smmixer \- get/set Linux soundcard packet radio modem driver mixer |
| 7 |
.SH SYNOPSIS |
| 8 |
.B smmixer |
| 9 |
.B "[\-i device]" |
| 10 |
.BR "[ " params " ]" |
| 11 |
|
| 12 |
.SH DESCRIPTION |
| 13 |
.B smmixer |
| 14 |
displays and/or sets the input source and input and output levels of a |
| 15 |
soundcard modem port. |
| 16 |
|
| 17 |
.SH OPTIONS |
| 18 |
.B smmixer |
| 19 |
accepts the following option: |
| 20 |
|
| 21 |
.TP |
| 22 |
.B \-i |
| 23 |
The |
| 24 |
.I device |
| 25 |
argument specifies the soundcard modem device which should be configured or |
| 26 |
interrogated. It will usually have the following form: |
| 27 |
.I sm[0-3]. |
| 28 |
|
| 29 |
.SH PARAMETERS |
| 30 |
The |
| 31 |
.B AD1848 (WSS) |
| 32 |
mixer accepts the following parameters: |
| 33 |
.TP |
| 34 |
.B ol=val |
| 35 |
sets the level of the left output to the specified value. Legal values are from |
| 36 |
-100..0dB. |
| 37 |
.TP |
| 38 |
.B or=val |
| 39 |
sets the level of the right output to the specified value. Legal values are from |
| 40 |
-100..0dB. |
| 41 |
.TP |
| 42 |
.B o=val |
| 43 |
sets the level of both outputs to the specified value. Legal values are from |
| 44 |
-100..0dB. |
| 45 |
.TP |
| 46 |
.B il=val |
| 47 |
sets the level of the left input to the specified value. Legal values are from |
| 48 |
0..43dB. |
| 49 |
.TP |
| 50 |
.B ir=val |
| 51 |
sets the level of the right input to the specified value. Legal values are from |
| 52 |
0..43dB. |
| 53 |
.TP |
| 54 |
.B i=val |
| 55 |
sets the level of both inputs to the specified value. Legal values are from |
| 56 |
0..43dB. |
| 57 |
.TP |
| 58 |
.B sl=val |
| 59 |
sets the source of the left input to the specified value. Legal values are |
| 60 |
.I line, aux1, mic |
| 61 |
or |
| 62 |
.I dac. |
| 63 |
.TP |
| 64 |
.B sr=val |
| 65 |
sets the source of the right input to the specified value. Legal values are |
| 66 |
.I line, aux1, mic |
| 67 |
or |
| 68 |
.I dac. |
| 69 |
.TP |
| 70 |
.B s=val |
| 71 |
sets the source of both inputs to the specified value. Legal values are |
| 72 |
.I line, aux1, mic |
| 73 |
or |
| 74 |
.I dac. |
| 75 |
|
| 76 |
.in \n[IN]u |
| 77 |
The |
| 78 |
.B CT1335 (SB2.x) |
| 79 |
mixer accepts the following parameter: |
| 80 |
.TP |
| 81 |
.B o=val |
| 82 |
sets the output level to the specified value. Legal values are from -46..0dB. |
| 83 |
|
| 84 |
.in \n[IN]u |
| 85 |
The |
| 86 |
.B CT1345 (SBPro) |
| 87 |
mixer accepts the following parameters: |
| 88 |
.TP |
| 89 |
.B ol=val |
| 90 |
sets the level of the left output to the specified value. Legal values are from |
| 91 |
-46..0dB. |
| 92 |
.TP |
| 93 |
.B or=val |
| 94 |
sets the level of the right output to the specified value. Legal values are from |
| 95 |
-46..0dB. |
| 96 |
.TP |
| 97 |
.B o=val |
| 98 |
sets the level of both outputs to the specified value. Legal values are from |
| 99 |
-46..0dB. |
| 100 |
.TP |
| 101 |
.B s=val |
| 102 |
sets the input source to the specified value. Legal values are |
| 103 |
.I mic, cd |
| 104 |
or |
| 105 |
.I line. |
| 106 |
|
| 107 |
.in \n[IN]u |
| 108 |
The |
| 109 |
.B CT1745 (SB16, SB32 AWE) |
| 110 |
mixer accepts the following parameters: |
| 111 |
.TP |
| 112 |
.B ol=val |
| 113 |
sets the level of the left output to the specified value. Legal values are from |
| 114 |
-62..18dB. |
| 115 |
.TP |
| 116 |
.B or=val |
| 117 |
sets the level of the right output to the specified value. Legal values are from |
| 118 |
-62..18dB. |
| 119 |
.TP |
| 120 |
.B o=val |
| 121 |
sets the level of both outputs to the specified value. Legal values are from |
| 122 |
-62..18dB. |
| 123 |
.TP |
| 124 |
.B il=val |
| 125 |
sets the level of the left input to the specified value. Legal values are from |
| 126 |
-62..18dB. |
| 127 |
.TP |
| 128 |
.B ir=val |
| 129 |
sets the level of the right input to the specified value. Legal values are from |
| 130 |
-62..18dB. |
| 131 |
.TP |
| 132 |
.B i=val |
| 133 |
sets the level of both inputs to the specified value. Legal values are from |
| 134 |
-62..18dB. |
| 135 |
.TP |
| 136 |
.B s=val |
| 137 |
enables the specified value as a source. Legal values are |
| 138 |
.I line, line.l, line.r, midi, midi.l, midi.r, cd, cd.l, cd.r |
| 139 |
or |
| 140 |
.I mic. |
| 141 |
|
| 142 |
.SH CONSIDERATIONS |
| 143 |
It is important that the audio levels of your radio match those of the |
| 144 |
soundcard. To help achieve this, use the |
| 145 |
.I smdiag |
| 146 |
utility. |
| 147 |
|
| 148 |
This utility can only be used after the interface is started up, i.e. after |
| 149 |
ifconfig sm? up. |
| 150 |
|
| 151 |
The sound driver and the soundcard modem driver are mutually exclusive, i.e. they |
| 152 |
cannot both access the same soundcard at the same time. Even worse, the sound driver |
| 153 |
reserves the soundcard as soon as it gets loaded. The souncard modem driver however |
| 154 |
reserves the card only when the interface is started, i.e. during ifconfig if up. |
| 155 |
|
| 156 |
9600 baud may not currently work on SoundBlaster cards with DSP revision 4.x, i.e. |
| 157 |
SB16 and SB32 AWE. This is because they seem to not be fully backwards compatible. |
| 158 |
|
| 159 |
.SH "SEE ALSO" |
| 160 |
.BR smdiag " (8), " sethdlc " (8)," |
| 161 |
linux/drivers/net/soundmodem.c |
| 162 |
|
| 163 |
.SH AUTHOR |
| 164 |
smmixer was written by Thomas Sailer ([email protected]). |