1
.TH cspctl 1 "April 27, 2000"
4
cspctl \- Sound Blaster 16 ASP/CSP control program
8
command [\-options] <filename>
12
is a simple CSP microcode loader for Crative Sound Blaster 16ASP and some Sound Blaster AWE32 sound cards with Creative Signal Processor (CSP) chip (CT1748A) installed.
14
can also be used as a post-install function to
16
module to load default codec at module installation. If CSP chip is succesfully detected and initialized, it will be installed as a hardware dependant device
18
into /dev/snd directory. Currently, following codecs can be loaded to CSP device:
22
.ta \w'\fBwfm0000a.csp\fP 'u
23
\&\fBwfm0001a.csp\fP QSound decoder
24
\&\fBwfm0006a.csp\fP A\-law codec
25
\&\fBwfm0007a.csp\fP u\-law codec
26
\&\fBwfm0011a.csp\fP IMA ADPCM codec (distorted output for IMA test files)
27
\&\fBwfm0200a.csp\fP Creative ADPCM codec (sounds like Intel/DVI IMA ADPCM compatible)
28
\&\fBwfm0202a.csp\fP Fast Speech 8 codec
29
\&\fBwfm0203a.csp\fP Fast Speech 10 codec
33
These codecs are not yet supported by ALSA:
35
.ta \w'\fBwfm0000a.csp\fP 'u
36
\&\fBwfm0201a.csp\fP Text2Speech decoder
40
Qsound microcode file has
42
each function is a decoder for different sample rate. Rates for QSound functions #1, #2, #3 and #4 are 44100, 22050, 11025 and 8000Hz respectively. IMA ADPCM and FastSpeech codecs are formed of
44
the first one is for capture and the second one is for playback. A\-law and u\-law codecs have only
46
To load for example function #2 from QSound microcode file (decoder for 22050Hz), run as follows:
48
% cspctl load \-f 2 \-d QSound wfm0001a.csp
50
After successful loading, /proc/asound/SB16/cspD2 will show:
54
Creative Signal Processor [v1.0]
56
Codec: QSound [func #2]
58
QSound decoder disabled
62
With QSound decoder microcode loaded, all simple PCM file formats can be played with QSound 180 degree positioning applied. QSound element is dynamically added into mixer structure as
64
element. It will only show if support for CSP has been compiled into ALSA drivers, CSP chip has been found, and QSound codec is loaded into CSP. When enabled, QSound position can be dynamically changed by mixer slider, and proc interface should follow the state of CSP chip and its current QSound position:
68
Creative Signal Processor [v1.0]
70
Codec: QSound [func #2]
72
QSound decoder enabled
73
Processing 16bit mono PCM samples
74
Qsound position: left = 0x9, right = 0x9
78
Driver supports autoloading of u\-Law, A\-Law and Ima\-ADPCM hardware codecs. Autoloading is active only when there is no microcode loaded to CSP, and there is no need to preload appropriate *.csp files. To unload manually loaded microcode, you should run
82
If hardware codec microcode has been manually loaded, then CSP will support only loaded PCM format and autoloading will be disabled. In such case, proc interface will show loaded codec properties:
86
Creative Signal Processor [v1.0]
88
Codec: IMA\-ADPCM [func #2]
90
PCM format ID: 0x400000 (16bit/\-) [mono/stereo] [playback/\-]
97
Load microcode from filename to CSP.
100
Unload microcode from CSP.
104
Display a short help.
107
Select a card number. Option defaults to 0.
110
Select a function from microcode file. Option defaults to 1.
113
Optional microcode description string.
116
Uros Bizjak <uros@kss\-loka.si>.