Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: doc: ReSTize Audigy-mixer.txt

Another simple conversion from a plain text file.
Put to cards subdirectory.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

+153 -128
+151 -128
Documentation/sound/alsa/Audigy-mixer.txt Documentation/sound/cards/audigy-mixer.rst
··· 1 + ============================================= 2 + Sound Blaster Audigy mixer / default DSP code 3 + ============================================= 1 4 2 - Sound Blaster Audigy mixer / default DSP code 3 - =========================================== 4 - 5 - This is based on SB-Live-mixer.txt. 5 + This is based on sb-live-mixer.rst. 6 6 7 7 The EMU10K2 chips have a DSP part which can be programmed to support 8 8 various ways of sample processing, which is described here. ··· 13 13 (can be altered later) which offers the following functionality: 14 14 15 15 16 - 1) Digital mixer controls 17 - ------------------------- 16 + Digital mixer controls 17 + ====================== 18 18 19 19 These controls are built using the DSP instructions. They offer extended 20 20 functionality. Only the default build-in code in the ALSA driver is described ··· 26 26 27 27 Explanation of used abbreviations: 28 28 29 - DAC - digital to analog converter 30 - ADC - analog to digital converter 31 - I2S - one-way three wire serial bus for digital sound by Philips Semiconductors 32 - (this standard is used for connecting standalone DAC and ADC converters) 33 - LFE - low frequency effects (subwoofer signal) 34 - AC97 - a chip containing an analog mixer, DAC and ADC converters 35 - IEC958 - S/PDIF 36 - FX-bus - the EMU10K2 chip has an effect bus containing 64 accumulators. 37 - Each of the synthesizer voices can feed its output to these accumulators 38 - and the DSP microcontroller can operate with the resulting sum. 29 + DAC 30 + digital to analog converter 31 + ADC 32 + analog to digital converter 33 + I2S 34 + one-way three wire serial bus for digital sound by Philips Semiconductors 35 + (this standard is used for connecting standalone DAC and ADC converters) 36 + LFE 37 + low frequency effects (subwoofer signal) 38 + AC97 39 + a chip containing an analog mixer, DAC and ADC converters 40 + IEC958 41 + S/PDIF 42 + FX-bus 43 + the EMU10K2 chip has an effect bus containing 64 accumulators. 44 + Each of the synthesizer voices can feed its output to these accumulators 45 + and the DSP microcontroller can operate with the resulting sum. 39 46 40 47 name='PCM Front Playback Volume',index=0 41 - 48 + ---------------------------------------- 42 49 This control is used to attenuate samples for left and right front PCM FX-bus 43 50 accumulators. ALSA uses accumulators 8 and 9 for left and right front PCM 44 51 samples for 5.1 playback. The result samples are forwarded to the front DAC PCM 45 52 slots of the Philips DAC. 46 53 47 54 name='PCM Surround Playback Volume',index=0 48 - 55 + ------------------------------------------- 49 56 This control is used to attenuate samples for left and right surround PCM FX-bus 50 57 accumulators. ALSA uses accumulators 2 and 3 for left and right surround PCM 51 58 samples for 5.1 playback. The result samples are forwarded to the surround DAC PCM 52 59 slots of the Philips DAC. 53 60 54 61 name='PCM Center Playback Volume',index=0 55 - 62 + ----------------------------------------- 56 63 This control is used to attenuate samples for center PCM FX-bus accumulator. 57 64 ALSA uses accumulator 6 for center PCM sample for 5.1 playback. The result sample 58 65 is forwarded to the center DAC PCM slot of the Philips DAC. 59 66 60 67 name='PCM LFE Playback Volume',index=0 61 - 68 + -------------------------------------- 62 69 This control is used to attenuate sample for LFE PCM FX-bus accumulator. 63 70 ALSA uses accumulator 7 for LFE PCM sample for 5.1 playback. The result sample 64 71 is forwarded to the LFE DAC PCM slot of the Philips DAC. 65 72 66 73 name='PCM Playback Volume',index=0 67 - 74 + ---------------------------------- 68 75 This control is used to attenuate samples for left and right PCM FX-bus 69 76 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples for 70 77 stereo playback. The result samples are forwarded to the front DAC PCM slots 71 78 of the Philips DAC. 72 79 73 80 name='PCM Capture Volume',index=0 74 - 81 + --------------------------------- 75 82 This control is used to attenuate samples for left and right PCM FX-bus 76 83 accumulator. ALSA uses accumulators 0 and 1 for left and right PCM. 77 84 The result is forwarded to the ADC capture FIFO (thus to the standard capture 78 85 PCM device). 79 86 80 87 name='Music Playback Volume',index=0 81 - 88 + ------------------------------------ 82 89 This control is used to attenuate samples for left and right MIDI FX-bus 83 90 accumulators. ALSA uses accumulators 4 and 5 for left and right MIDI samples. 84 91 The result samples are forwarded to the front DAC PCM slots of the AC97 codec. 85 92 86 93 name='Music Capture Volume',index=0 87 - 94 + ----------------------------------- 88 95 These controls are used to attenuate samples for left and right MIDI FX-bus 89 96 accumulator. ALSA uses accumulators 4 and 5 for left and right PCM. 90 97 The result is forwarded to the ADC capture FIFO (thus to the standard capture 91 98 PCM device). 92 99 93 100 name='Mic Playback Volume',index=0 94 - 101 + ---------------------------------- 95 102 This control is used to attenuate samples for left and right Mic input. 96 103 For Mic input is used AC97 codec. The result samples are forwarded to 97 104 the front DAC PCM slots of the Philips DAC. Samples are forwarded to Mic 98 105 capture FIFO (device 1 - 16bit/8KHz mono) too without volume control. 99 106 100 107 name='Mic Capture Volume',index=0 101 - 108 + --------------------------------- 102 109 This control is used to attenuate samples for left and right Mic input. 103 110 The result is forwarded to the ADC capture FIFO (thus to the standard capture 104 111 PCM device). 105 112 106 113 name='Audigy CD Playback Volume',index=0 107 - 114 + ---------------------------------------- 108 115 This control is used to attenuate samples from left and right IEC958 TTL 109 116 digital inputs (usually used by a CDROM drive). The result samples are 110 117 forwarded to the front DAC PCM slots of the Philips DAC. 111 118 112 119 name='Audigy CD Capture Volume',index=0 113 - 120 + --------------------------------------- 114 121 This control is used to attenuate samples from left and right IEC958 TTL 115 122 digital inputs (usually used by a CDROM drive). The result samples are 116 123 forwarded to the ADC capture FIFO (thus to the standard capture PCM device). 117 124 118 125 name='IEC958 Optical Playback Volume',index=0 119 - 126 + --------------------------------------------- 120 127 This control is used to attenuate samples from left and right IEC958 optical 121 128 digital input. The result samples are forwarded to the front DAC PCM slots 122 129 of the Philips DAC. 123 130 124 131 name='IEC958 Optical Capture Volume',index=0 125 - 132 + -------------------------------------------- 126 133 This control is used to attenuate samples from left and right IEC958 optical 127 134 digital inputs. The result samples are forwarded to the ADC capture FIFO 128 135 (thus to the standard capture PCM device). 129 136 130 137 name='Line2 Playback Volume',index=0 131 - 138 + ------------------------------------ 132 139 This control is used to attenuate samples from left and right I2S ADC 133 140 inputs (on the AudigyDrive). The result samples are forwarded to the front 134 141 DAC PCM slots of the Philips DAC. 135 142 136 143 name='Line2 Capture Volume',index=1 137 - 144 + ----------------------------------- 138 145 This control is used to attenuate samples from left and right I2S ADC 139 146 inputs (on the AudigyDrive). The result samples are forwarded to the ADC 140 147 capture FIFO (thus to the standard capture PCM device). 141 148 142 149 name='Analog Mix Playback Volume',index=0 143 - 150 + ----------------------------------------- 144 151 This control is used to attenuate samples from left and right I2S ADC 145 152 inputs from Philips ADC. The result samples are forwarded to the front 146 153 DAC PCM slots of the Philips DAC. This contains mix from analog sources 147 154 like CD, Line In, Aux, .... 148 155 149 156 name='Analog Mix Capture Volume',index=1 150 - 157 + ---------------------------------------- 151 158 This control is used to attenuate samples from left and right I2S ADC 152 159 inputs Philips ADC. The result samples are forwarded to the ADC 153 160 capture FIFO (thus to the standard capture PCM device). 154 161 155 162 name='Aux2 Playback Volume',index=0 156 - 163 + ----------------------------------- 157 164 This control is used to attenuate samples from left and right I2S ADC 158 165 inputs (on the AudigyDrive). The result samples are forwarded to the front 159 166 DAC PCM slots of the Philips DAC. 160 167 161 168 name='Aux2 Capture Volume',index=1 162 - 169 + ---------------------------------- 163 170 This control is used to attenuate samples from left and right I2S ADC 164 171 inputs (on the AudigyDrive). The result samples are forwarded to the ADC 165 172 capture FIFO (thus to the standard capture PCM device). 166 173 167 174 name='Front Playback Volume',index=0 168 - 175 + ------------------------------------ 169 176 All stereo signals are mixed together and mirrored to surround, center and LFE. 170 177 This control is used to attenuate samples for left and right front speakers of 171 178 this mix. 172 179 173 180 name='Surround Playback Volume',index=0 174 - 181 + --------------------------------------- 175 182 All stereo signals are mixed together and mirrored to surround, center and LFE. 176 183 This control is used to attenuate samples for left and right surround speakers of 177 184 this mix. 178 185 179 186 name='Center Playback Volume',index=0 180 - 187 + ------------------------------------- 181 188 All stereo signals are mixed together and mirrored to surround, center and LFE. 182 189 This control is used to attenuate sample for center speaker of this mix. 183 190 184 191 name='LFE Playback Volume',index=0 185 - 192 + ---------------------------------- 186 193 All stereo signals are mixed together and mirrored to surround, center and LFE. 187 194 This control is used to attenuate sample for LFE speaker of this mix. 188 195 189 196 name='Tone Control - Switch',index=0 190 - 197 + ------------------------------------ 191 198 This control turns the tone control on or off. The samples for front, rear 192 199 and center / LFE outputs are affected. 193 200 194 201 name='Tone Control - Bass',index=0 195 - 202 + ---------------------------------- 196 203 This control sets the bass intensity. There is no neutral value!! 197 204 When the tone control code is activated, the samples are always modified. 198 205 The closest value to pure signal is 20. 199 206 200 207 name='Tone Control - Treble',index=0 201 - 208 + ------------------------------------ 202 209 This control sets the treble intensity. There is no neutral value!! 203 210 When the tone control code is activated, the samples are always modified. 204 211 The closest value to pure signal is 20. 205 212 206 213 name='Master Playback Volume',index=0 207 - 214 + ------------------------------------- 208 215 This control is used to attenuate samples for front, surround, center and 209 216 LFE outputs. 210 217 211 218 name='IEC958 Optical Raw Playback Switch',index=0 212 - 219 + ------------------------------------------------- 213 220 If this switch is on, then the samples for the IEC958 (S/PDIF) digital 214 221 output are taken only from the raw FX8010 PCM, otherwise standard front 215 222 PCM samples are taken. 216 223 217 224 218 - 2) PCM stream related controls 219 - ------------------------------ 225 + PCM stream related controls 226 + =========================== 220 227 221 228 name='EMU10K1 PCM Volume',index 0-31 222 - 229 + ------------------------------------ 223 230 Channel volume attenuation in range 0-0xffff. The maximum value (no 224 231 attenuation) is default. The channel mapping for three values is 225 232 as follows: 226 233 227 - 0 - mono, default 0xffff (no attenuation) 228 - 1 - left, default 0xffff (no attenuation) 229 - 2 - right, default 0xffff (no attenuation) 234 + * 0 - mono, default 0xffff (no attenuation) 235 + * 1 - left, default 0xffff (no attenuation) 236 + * 2 - right, default 0xffff (no attenuation) 230 237 231 238 name='EMU10K1 PCM Send Routing',index 0-31 232 - 239 + ------------------------------------------ 233 240 This control specifies the destination - FX-bus accumulators. There 24 234 241 values with this mapping: 235 242 236 - 0 - mono, A destination (FX-bus 0-63), default 0 237 - 1 - mono, B destination (FX-bus 0-63), default 1 238 - 2 - mono, C destination (FX-bus 0-63), default 2 239 - 3 - mono, D destination (FX-bus 0-63), default 3 240 - 4 - mono, E destination (FX-bus 0-63), default 0 241 - 5 - mono, F destination (FX-bus 0-63), default 0 242 - 6 - mono, G destination (FX-bus 0-63), default 0 243 - 7 - mono, H destination (FX-bus 0-63), default 0 244 - 8 - left, A destination (FX-bus 0-63), default 0 245 - 9 - left, B destination (FX-bus 0-63), default 1 246 - 10 - left, C destination (FX-bus 0-63), default 2 247 - 11 - left, D destination (FX-bus 0-63), default 3 248 - 12 - left, E destination (FX-bus 0-63), default 0 249 - 13 - left, F destination (FX-bus 0-63), default 0 250 - 14 - left, G destination (FX-bus 0-63), default 0 251 - 15 - left, H destination (FX-bus 0-63), default 0 252 - 16 - right, A destination (FX-bus 0-63), default 0 253 - 17 - right, B destination (FX-bus 0-63), default 1 254 - 18 - right, C destination (FX-bus 0-63), default 2 255 - 19 - right, D destination (FX-bus 0-63), default 3 256 - 20 - right, E destination (FX-bus 0-63), default 0 257 - 21 - right, F destination (FX-bus 0-63), default 0 258 - 22 - right, G destination (FX-bus 0-63), default 0 259 - 23 - right, H destination (FX-bus 0-63), default 0 243 + * 0 - mono, A destination (FX-bus 0-63), default 0 244 + * 1 - mono, B destination (FX-bus 0-63), default 1 245 + * 2 - mono, C destination (FX-bus 0-63), default 2 246 + * 3 - mono, D destination (FX-bus 0-63), default 3 247 + * 4 - mono, E destination (FX-bus 0-63), default 0 248 + * 5 - mono, F destination (FX-bus 0-63), default 0 249 + * 6 - mono, G destination (FX-bus 0-63), default 0 250 + * 7 - mono, H destination (FX-bus 0-63), default 0 251 + * 8 - left, A destination (FX-bus 0-63), default 0 252 + * 9 - left, B destination (FX-bus 0-63), default 1 253 + * 10 - left, C destination (FX-bus 0-63), default 2 254 + * 11 - left, D destination (FX-bus 0-63), default 3 255 + * 12 - left, E destination (FX-bus 0-63), default 0 256 + * 13 - left, F destination (FX-bus 0-63), default 0 257 + * 14 - left, G destination (FX-bus 0-63), default 0 258 + * 15 - left, H destination (FX-bus 0-63), default 0 259 + * 16 - right, A destination (FX-bus 0-63), default 0 260 + * 17 - right, B destination (FX-bus 0-63), default 1 261 + * 18 - right, C destination (FX-bus 0-63), default 2 262 + * 19 - right, D destination (FX-bus 0-63), default 3 263 + * 20 - right, E destination (FX-bus 0-63), default 0 264 + * 21 - right, F destination (FX-bus 0-63), default 0 265 + * 22 - right, G destination (FX-bus 0-63), default 0 266 + * 23 - right, H destination (FX-bus 0-63), default 0 260 267 261 268 Don't forget that it's illegal to assign a channel to the same FX-bus accumulator 262 269 more than once (it means 0=0 && 1=0 is an invalid combination). 263 270 264 271 name='EMU10K1 PCM Send Volume',index 0-31 265 - 272 + ----------------------------------------- 266 273 It specifies the attenuation (amount) for given destination in range 0-255. 267 274 The channel mapping is following: 268 275 269 - 0 - mono, A destination attn, default 255 (no attenuation) 270 - 1 - mono, B destination attn, default 255 (no attenuation) 271 - 2 - mono, C destination attn, default 0 (mute) 272 - 3 - mono, D destination attn, default 0 (mute) 273 - 4 - mono, E destination attn, default 0 (mute) 274 - 5 - mono, F destination attn, default 0 (mute) 275 - 6 - mono, G destination attn, default 0 (mute) 276 - 7 - mono, H destination attn, default 0 (mute) 277 - 8 - left, A destination attn, default 255 (no attenuation) 278 - 9 - left, B destination attn, default 0 (mute) 279 - 10 - left, C destination attn, default 0 (mute) 280 - 11 - left, D destination attn, default 0 (mute) 281 - 12 - left, E destination attn, default 0 (mute) 282 - 13 - left, F destination attn, default 0 (mute) 283 - 14 - left, G destination attn, default 0 (mute) 284 - 15 - left, H destination attn, default 0 (mute) 285 - 16 - right, A destination attn, default 0 (mute) 286 - 17 - right, B destination attn, default 255 (no attenuation) 287 - 18 - right, C destination attn, default 0 (mute) 288 - 19 - right, D destination attn, default 0 (mute) 289 - 20 - right, E destination attn, default 0 (mute) 290 - 21 - right, F destination attn, default 0 (mute) 291 - 22 - right, G destination attn, default 0 (mute) 292 - 23 - right, H destination attn, default 0 (mute) 276 + * 0 - mono, A destination attn, default 255 (no attenuation) 277 + * 1 - mono, B destination attn, default 255 (no attenuation) 278 + * 2 - mono, C destination attn, default 0 (mute) 279 + * 3 - mono, D destination attn, default 0 (mute) 280 + * 4 - mono, E destination attn, default 0 (mute) 281 + * 5 - mono, F destination attn, default 0 (mute) 282 + * 6 - mono, G destination attn, default 0 (mute) 283 + * 7 - mono, H destination attn, default 0 (mute) 284 + * 8 - left, A destination attn, default 255 (no attenuation) 285 + * 9 - left, B destination attn, default 0 (mute) 286 + * 10 - left, C destination attn, default 0 (mute) 287 + * 11 - left, D destination attn, default 0 (mute) 288 + * 12 - left, E destination attn, default 0 (mute) 289 + * 13 - left, F destination attn, default 0 (mute) 290 + * 14 - left, G destination attn, default 0 (mute) 291 + * 15 - left, H destination attn, default 0 (mute) 292 + * 16 - right, A destination attn, default 0 (mute) 293 + * 17 - right, B destination attn, default 255 (no attenuation) 294 + * 18 - right, C destination attn, default 0 (mute) 295 + * 19 - right, D destination attn, default 0 (mute) 296 + * 20 - right, E destination attn, default 0 (mute) 297 + * 21 - right, F destination attn, default 0 (mute) 298 + * 22 - right, G destination attn, default 0 (mute) 299 + * 23 - right, H destination attn, default 0 (mute) 293 300 294 301 295 302 296 - 4) MANUALS/PATENTS: 297 - ------------------- 303 + MANUALS/PATENTS 304 + =============== 298 305 299 306 ftp://opensource.creative.com/pub/doc 300 307 ------------------------------------- 301 308 302 - Files: 303 - LM4545.pdf AC97 Codec 309 + LM4545.pdf 310 + AC97 Codec 304 311 305 - m2049.pdf The EMU10K1 Digital Audio Processor 312 + m2049.pdf 313 + The EMU10K1 Digital Audio Processor 306 314 307 - hog63.ps FX8010 - A DSP Chip Architecture for Audio Effects 315 + hog63.ps 316 + FX8010 - A DSP Chip Architecture for Audio Effects 308 317 309 318 310 319 WIPO Patents 311 320 ------------ 312 - Patent numbers: 313 - WO 9901813 (A1) Audio Effects Processor with multiple asynchronous (Jan. 14, 1999) 314 - streams 315 321 316 - WO 9901814 (A1) Processor with Instruction Set for Audio Effects (Jan. 14, 1999) 322 + WO 9901813 (A1) 323 + Audio Effects Processor with multiple asynchronous streams 324 + (Jan. 14, 1999) 317 325 318 - WO 9901953 (A1) Audio Effects Processor having Decoupled Instruction 319 - Execution and Audio Data Sequencing (Jan. 14, 1999) 326 + WO 9901814 (A1) 327 + Processor with Instruction Set for Audio Effects (Jan. 14, 1999) 328 + 329 + WO 9901953 (A1) 330 + Audio Effects Processor having Decoupled Instruction 331 + Execution and Audio Data Sequencing (Jan. 14, 1999) 320 332 321 333 322 334 US Patents (http://www.uspto.gov/) 323 335 ---------------------------------- 324 336 325 - US 5925841 Digital Sampling Instrument employing cache memory (Jul. 20, 1999) 337 + US 5925841 338 + Digital Sampling Instrument employing cache memory (Jul. 20, 1999) 326 339 327 - US 5928342 Audio Effects Processor integrated on a single chip (Jul. 27, 1999) 328 - with a multiport memory onto which multiple asynchronous 329 - digital sound samples can be concurrently loaded 340 + US 5928342 341 + Audio Effects Processor integrated on a single chip 342 + with a multiport memory onto which multiple asynchronous 343 + digital sound samples can be concurrently loaded 344 + (Jul. 27, 1999) 330 345 331 - US 5930158 Processor with Instruction Set for Audio Effects (Jul. 27, 1999) 346 + US 5930158 347 + Processor with Instruction Set for Audio Effects (Jul. 27, 1999) 332 348 333 - US 6032235 Memory initialization circuit (Tram) (Feb. 29, 2000) 349 + US 6032235 350 + Memory initialization circuit (Tram) (Feb. 29, 2000) 334 351 335 - US 6138207 Interpolation looping of audio samples in cache connected to (Oct. 24, 2000) 336 - system bus with prioritization and modification of bus transfers 337 - in accordance with loop ends and minimum block sizes 352 + US 6138207 353 + Interpolation looping of audio samples in cache connected to 354 + system bus with prioritization and modification of bus transfers 355 + in accordance with loop ends and minimum block sizes 356 + (Oct. 24, 2000) 338 357 339 - US 6151670 Method for conserving memory storage using a (Nov. 21, 2000) 340 - pool of short term memory registers 358 + US 6151670 359 + Method for conserving memory storage using a 360 + pool of short term memory registers 361 + (Nov. 21, 2000) 341 362 342 - US 6195715 Interrupt control for multiple programs communicating with (Feb. 27, 2001) 343 - a common interrupt by associating programs to GP registers, 344 - defining interrupt register, polling GP registers, and invoking 345 - callback routine associated with defined interrupt register 363 + US 6195715 364 + Interrupt control for multiple programs communicating with 365 + a common interrupt by associating programs to GP registers, 366 + defining interrupt register, polling GP registers, and invoking 367 + callback routine associated with defined interrupt register 368 + (Feb. 27, 2001)
+2
Documentation/sound/cards/index.rst
··· 7 7 joystick 8 8 cmipci 9 9 sb-live-mixer 10 + audigy-mixer 11 +