162306a36Sopenharmony_ci================================================== 262306a36Sopenharmony_ciE-MU Digital Audio System mixer / default DSP code 362306a36Sopenharmony_ci================================================== 462306a36Sopenharmony_ci 562306a36Sopenharmony_ciThis document covers the E-MU 0404/1010/1212/1616/1820 PCI/PCI-e/CardBus 662306a36Sopenharmony_cicards. 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciThese cards use regular EMU10K2 (SoundBlaster Audigy) chips, but with an 962306a36Sopenharmony_cialternative front-end geared towards semi-professional studio recording. 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ciThis document is based on audigy-mixer.rst. 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ciHardware compatibility 1562306a36Sopenharmony_ci====================== 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ciThe EMU10K2 chips have a very short capture FIFO, which makes recording 1862306a36Sopenharmony_ciunreliable if the card's PCI bus requests are not handled with the 1962306a36Sopenharmony_ciappropriate priority. 2062306a36Sopenharmony_ciThis is the case on more modern motherboards, where the PCI bus is only a 2162306a36Sopenharmony_cisecondary peripheral, rather than the actual arbiter of device access. 2262306a36Sopenharmony_ciIn particular, I got recording glitches during simultaneous playback on an 2362306a36Sopenharmony_ciIntel DP55 board (memory controller in the CPU), but had success with an 2462306a36Sopenharmony_ciIntel DP45 board (memory controller in the north bridge). 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ciThe PCI Express variants of these cards (which have a PCI bridge on board, 2762306a36Sopenharmony_cibut are otherwise identical) may be less problematic. 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ciDriver capabilities 3162306a36Sopenharmony_ci=================== 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ciThis driver supports only 16-bit 44.1/48 kHz operation. The multi-channel 3462306a36Sopenharmony_cidevice (see emu10k1-jack.rst) additionally supports 24-bit capture. 3562306a36Sopenharmony_ci 3662306a36Sopenharmony_ciA patchset to enhance the driver is available from `a GitHub repository 3762306a36Sopenharmony_ci<https://github.com/ossilator/linux/tree/ossis-emu10k1>`_. 3862306a36Sopenharmony_ciIts multi-channel device supports 24-bit for both playback and capture, 3962306a36Sopenharmony_ciand also supports full 88.2/96/176.4/192 kHz operation. 4062306a36Sopenharmony_ciIt is not going to be upstreamed due to a fundamental disagreement about 4162306a36Sopenharmony_ciwhat constitutes a good user experience. 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ci 4462306a36Sopenharmony_ciDigital mixer controls 4562306a36Sopenharmony_ci====================== 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ciNote that the controls work as attenuators: the maximum value is the neutral 4862306a36Sopenharmony_ciposition leaving the signal unchanged. Note that if the same destination is 4962306a36Sopenharmony_cimentioned in multiple controls, the signal is accumulated and can be clipped 5062306a36Sopenharmony_ci(set to maximal or minimal value without checking for overflow). 5162306a36Sopenharmony_ci 5262306a36Sopenharmony_ciExplanation of used abbreviations: 5362306a36Sopenharmony_ci 5462306a36Sopenharmony_ciDAC 5562306a36Sopenharmony_ci digital to analog converter 5662306a36Sopenharmony_ciADC 5762306a36Sopenharmony_ci analog to digital converter 5862306a36Sopenharmony_ciLFE 5962306a36Sopenharmony_ci low frequency effects (used as subwoofer signal) 6062306a36Sopenharmony_ciIEC958 6162306a36Sopenharmony_ci S/PDIF 6262306a36Sopenharmony_ciFX-bus 6362306a36Sopenharmony_ci the EMU10K2 chip has an effect bus containing 64 accumulators. 6462306a36Sopenharmony_ci Each of the synthesizer voices can feed its output to these accumulators 6562306a36Sopenharmony_ci and the DSP microcontroller can operate with the resulting sum. 6662306a36Sopenharmony_ci 6762306a36Sopenharmony_ciname='Clock Source',index=0 6862306a36Sopenharmony_ci--------------------------- 6962306a36Sopenharmony_ciThis control allows switching the word clock between interally generated 7062306a36Sopenharmony_ci44.1 or 48 kHz, or a number of external sources. 7162306a36Sopenharmony_ci 7262306a36Sopenharmony_ciNote: the sources for the 1616 CardBus card are unclear. Please report your 7362306a36Sopenharmony_cifindings. 7462306a36Sopenharmony_ci 7562306a36Sopenharmony_ciname='Clock Fallback',index=0 7662306a36Sopenharmony_ci----------------------------- 7762306a36Sopenharmony_ciThis control determines the internal clock which the card switches to when 7862306a36Sopenharmony_cithe selected external clock source is/becomes invalid. 7962306a36Sopenharmony_ci 8062306a36Sopenharmony_ciname='DAC1 0202 14dB PAD',index=0, etc. 8162306a36Sopenharmony_ci--------------------------------------- 8262306a36Sopenharmony_ciOutput attenuation controls. Not available on 0404 cards. 8362306a36Sopenharmony_ci 8462306a36Sopenharmony_ciname='ADC1 14dB PAD 0202',index=0, etc. 8562306a36Sopenharmony_ci--------------------------------------- 8662306a36Sopenharmony_ciInput attenuation controls. Not available on 0404 cards. 8762306a36Sopenharmony_ci 8862306a36Sopenharmony_ciname='Optical Output Mode',index=0 8962306a36Sopenharmony_ci---------------------------------- 9062306a36Sopenharmony_ciSwitches the TOSLINK output port between S/PDIF and ADAT. 9162306a36Sopenharmony_ciNot available on 0404 cards (fixed to S/PDIF). 9262306a36Sopenharmony_ci 9362306a36Sopenharmony_ciname='Optical Input Mode',index=0 9462306a36Sopenharmony_ci--------------------------------- 9562306a36Sopenharmony_ciSwitches the TOSLINK input port between S/PDIF and ADAT. 9662306a36Sopenharmony_ciNot available on 0404 cards (fixed to S/PDIF). 9762306a36Sopenharmony_ci 9862306a36Sopenharmony_ciname='PCM Front Playback Volume',index=0 9962306a36Sopenharmony_ci---------------------------------------- 10062306a36Sopenharmony_ciThis control is used to attenuate samples from left and right front PCM FX-bus 10162306a36Sopenharmony_ciaccumulators. ALSA uses accumulators 8 and 9 for left and right front PCM 10262306a36Sopenharmony_cisamples for 5.1 playback. The result samples are forwarded to the DSP 0 & 1 10362306a36Sopenharmony_ciplayback channels. 10462306a36Sopenharmony_ci 10562306a36Sopenharmony_ciname='PCM Surround Playback Volume',index=0 10662306a36Sopenharmony_ci------------------------------------------- 10762306a36Sopenharmony_ciThis control is used to attenuate samples from left and right surround PCM FX-bus 10862306a36Sopenharmony_ciaccumulators. ALSA uses accumulators 2 and 3 for left and right surround PCM 10962306a36Sopenharmony_cisamples for 5.1 playback. The result samples are forwarded to the DSP 2 & 3 11062306a36Sopenharmony_ciplayback channels. 11162306a36Sopenharmony_ci 11262306a36Sopenharmony_ciname='PCM Side Playback Volume',index=0 11362306a36Sopenharmony_ci--------------------------------------- 11462306a36Sopenharmony_ciThis control is used to attenuate samples from left and right side PCM FX-bus 11562306a36Sopenharmony_ciaccumulators. ALSA uses accumulators 14 and 15 for left and right side PCM 11662306a36Sopenharmony_cisamples for 7.1 playback. The result samples are forwarded to the DSP 6 & 7 11762306a36Sopenharmony_ciplayback channels. 11862306a36Sopenharmony_ci 11962306a36Sopenharmony_ciname='PCM Center Playback Volume',index=0 12062306a36Sopenharmony_ci----------------------------------------- 12162306a36Sopenharmony_ciThis control is used to attenuate samples from the center PCM FX-bus accumulator. 12262306a36Sopenharmony_ciALSA uses accumulator 6 for center PCM samples for 5.1 playback. The result samples 12362306a36Sopenharmony_ciare forwarded to the DSP 4 playback channel. 12462306a36Sopenharmony_ci 12562306a36Sopenharmony_ciname='PCM LFE Playback Volume',index=0 12662306a36Sopenharmony_ci-------------------------------------- 12762306a36Sopenharmony_ciThis control is used to attenuate samples from the LFE PCM FX-bus accumulator. 12862306a36Sopenharmony_ciALSA uses accumulator 7 for LFE PCM samples for 5.1 playback. The result samples 12962306a36Sopenharmony_ciare forwarded to the DSP 5 playback channel. 13062306a36Sopenharmony_ci 13162306a36Sopenharmony_ciname='PCM Playback Volume',index=0 13262306a36Sopenharmony_ci---------------------------------- 13362306a36Sopenharmony_ciThis control is used to attenuate samples from left and right PCM FX-bus 13462306a36Sopenharmony_ciaccumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples for 13562306a36Sopenharmony_cistereo playback. The result samples are forwarded to the virtual stereo mixer. 13662306a36Sopenharmony_ci 13762306a36Sopenharmony_ciname='PCM Capture Volume',index=0 13862306a36Sopenharmony_ci--------------------------------- 13962306a36Sopenharmony_ciThis control is used to attenuate samples from left and right PCM FX-bus 14062306a36Sopenharmony_ciaccumulators. ALSA uses accumulators 0 and 1 for left and right PCM. 14162306a36Sopenharmony_ciThe result is forwarded to the standard capture PCM device. 14262306a36Sopenharmony_ci 14362306a36Sopenharmony_ciname='Music Playback Volume',index=0 14462306a36Sopenharmony_ci------------------------------------ 14562306a36Sopenharmony_ciThis control is used to attenuate samples from left and right MIDI FX-bus 14662306a36Sopenharmony_ciaccumulators. ALSA uses accumulators 4 and 5 for left and right MIDI samples. 14762306a36Sopenharmony_ciThe result samples are forwarded to the virtual stereo mixer. 14862306a36Sopenharmony_ci 14962306a36Sopenharmony_ciname='Music Capture Volume',index=0 15062306a36Sopenharmony_ci----------------------------------- 15162306a36Sopenharmony_ciThese controls are used to attenuate samples from left and right MIDI FX-bus 15262306a36Sopenharmony_ciaccumulator. ALSA uses accumulators 4 and 5 for left and right MIDI samples. 15362306a36Sopenharmony_ciThe result is forwarded to the standard capture PCM device. 15462306a36Sopenharmony_ci 15562306a36Sopenharmony_ciname='Front Playback Volume',index=0 15662306a36Sopenharmony_ci------------------------------------ 15762306a36Sopenharmony_ciThis control is used to attenuate samples from the virtual stereo mixer. 15862306a36Sopenharmony_ciThe result samples are forwarded to the DSP 0 & 1 playback channels. 15962306a36Sopenharmony_ci 16062306a36Sopenharmony_ciname='Surround Playback Volume',index=0 16162306a36Sopenharmony_ci--------------------------------------- 16262306a36Sopenharmony_ciThis control is used to attenuate samples from the virtual stereo mixer. 16362306a36Sopenharmony_ciThe result samples are forwarded to the DSP 2 & 3 playback channels. 16462306a36Sopenharmony_ci 16562306a36Sopenharmony_ciname='Side Playback Volume',index=0 16662306a36Sopenharmony_ci----------------------------------- 16762306a36Sopenharmony_ciThis control is used to attenuate samples from the virtual stereo mixer. 16862306a36Sopenharmony_ciThe result samples are forwarded to the DSP 6 & 7 playback channels. 16962306a36Sopenharmony_ci 17062306a36Sopenharmony_ciname='Center Playback Volume',index=0 17162306a36Sopenharmony_ci------------------------------------- 17262306a36Sopenharmony_ciThis control is used to attenuate samples from the virtual stereo mixer. 17362306a36Sopenharmony_ciThe result samples are forwarded to the DSP 4 playback channel. 17462306a36Sopenharmony_ci 17562306a36Sopenharmony_ciname='LFE Playback Volume',index=0 17662306a36Sopenharmony_ci---------------------------------- 17762306a36Sopenharmony_ciThis control is used to attenuate samples from the virtual stereo mixer. 17862306a36Sopenharmony_ciThe result samples are forwarded to the DSP 5 playback channel. 17962306a36Sopenharmony_ci 18062306a36Sopenharmony_ciname='Tone Control - Switch',index=0 18162306a36Sopenharmony_ci------------------------------------ 18262306a36Sopenharmony_ciThis control turns the tone control on or off. The samples forwarded to 18362306a36Sopenharmony_cithe DSP playback channels are affected. 18462306a36Sopenharmony_ci 18562306a36Sopenharmony_ciname='Tone Control - Bass',index=0 18662306a36Sopenharmony_ci---------------------------------- 18762306a36Sopenharmony_ciThis control sets the bass intensity. There is no neutral value!! 18862306a36Sopenharmony_ciWhen the tone control code is activated, the samples are always modified. 18962306a36Sopenharmony_ciThe closest value to pure signal is 20. 19062306a36Sopenharmony_ci 19162306a36Sopenharmony_ciname='Tone Control - Treble',index=0 19262306a36Sopenharmony_ci------------------------------------ 19362306a36Sopenharmony_ciThis control sets the treble intensity. There is no neutral value!! 19462306a36Sopenharmony_ciWhen the tone control code is activated, the samples are always modified. 19562306a36Sopenharmony_ciThe closest value to pure signal is 20. 19662306a36Sopenharmony_ci 19762306a36Sopenharmony_ciname='Master Playback Volume',index=0 19862306a36Sopenharmony_ci------------------------------------- 19962306a36Sopenharmony_ciThis control is used to attenuate samples for all DSP playback channels. 20062306a36Sopenharmony_ci 20162306a36Sopenharmony_ciname='EMU Capture Volume',index=0 20262306a36Sopenharmony_ci---------------------------------- 20362306a36Sopenharmony_ciThis control is used to attenuate samples from the DSP 0 & 1 capture channels. 20462306a36Sopenharmony_ciThe result is forwarded to the standard capture PCM device. 20562306a36Sopenharmony_ci 20662306a36Sopenharmony_ciname='DAC Left',index=0, etc. 20762306a36Sopenharmony_ci----------------------------- 20862306a36Sopenharmony_ciSelect the source for the given physical audio output. These may be physical 20962306a36Sopenharmony_ciinputs, playback channels (DSP xx, specified as a decimal number), or silence. 21062306a36Sopenharmony_ci 21162306a36Sopenharmony_ciname='DSP x',index=0 21262306a36Sopenharmony_ci-------------------- 21362306a36Sopenharmony_ciSelect the source for the given capture channel (specified as a hexadecimal 21462306a36Sopenharmony_cidigit). Same options as for the physical audio outputs. 21562306a36Sopenharmony_ci 21662306a36Sopenharmony_ci 21762306a36Sopenharmony_ciPCM stream related controls 21862306a36Sopenharmony_ci=========================== 21962306a36Sopenharmony_ci 22062306a36Sopenharmony_ciThese controls are described in audigy-mixer.rst. 22162306a36Sopenharmony_ci 22262306a36Sopenharmony_ci 22362306a36Sopenharmony_ciMANUALS/PATENTS 22462306a36Sopenharmony_ci=============== 22562306a36Sopenharmony_ci 22662306a36Sopenharmony_ciSee sb-live-mixer.rst. 227