OnWorks favicon

cspctl - Online in the Cloud

Run cspctl in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cspctl that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



cspctl - Sound Blaster 16 ASP/CSP control program


cspctl command [-options] <filename>


cspctl is a simple CSP microcode loader for Creative Sound Blaster 16ASP and some Sound
Blaster AWE32 sound cards with Creative Signal Processor (CSP) chip (CT1748A) installed.
cspctl can also be used as a post-install function to snd-sb16-csp module to load default
codec at module installation. If CSP chip is successfully detected and initialized, it
will be installed as a hardware dependent device hwC0D2 into /dev/snd directory.
Currently, following codecs can be loaded to CSP device:

wfm0001a.csp QSound decoder
wfm0006a.csp A-law codec
wfm0007a.csp u-law codec
wfm0011a.csp IMA ADPCM codec (distorted output for IMA test files)
wfm0200a.csp Creative ADPCM codec (sounds like Intel/DVI IMA ADPCM compatible)
wfm0202a.csp Fast Speech 8 codec
wfm0203a.csp Fast Speech 10 codec

These codecs are not yet supported by ALSA:

wfm0201a.csp Text2Speech decoder

Qsound microcode file has four functions, 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 two functions, the first one
is for capture and the second one is for playback. A-law and u-law codecs have only one
function. To load for example function #2 from QSound microcode file (decoder for
22050Hz), run as follows:

% cspctl load -f 2 -d QSound wfm0001a.csp

After successful loading, /proc/asound/SB16/cspD2 will show:

Creative Signal Processor [v1.0]
State: -x--L
Codec: QSound [func #2]
Sample rates: 22050Hz
QSound decoder disabled

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 3DEffect1-space 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:

Creative Signal Processor [v1.0]
State: Qx-RL
Codec: QSound [func #2]
Sample rates: 22050Hz
QSound decoder enabled
Processing 16bit mono PCM samples
Qsound position: left = 0x9, right = 0x9

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

% cspctl unload

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:

Creative Signal Processor [v1.0]
State: -x--L
Codec: IMA-ADPCM [func #2]
Sample rates: All
PCM format ID: 0x400000 (16bit/-) [mono/stereo] [playback/-]


load Load microcode from filename to CSP.

unload Unload microcode from CSP.


-h, --help
Display a short help.

-c card
Select a card number. Option defaults to 0.

-f function
Select a function from microcode file. Option defaults to 1.

-d description
Optional microcode description string.

Use cspctl online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 2
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 3
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    Download XISMuS
  • 4
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 5
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 6
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • 7
    Play YouTube video on LMS (porting of
    Triode's to YouTbe API v3) This is
    an application that can also be fetched
    Download LMS-YouTube
  • More »

Linux commands

  • 1
    2vcard - convert addressbooks to VCARD
    format ...
    Run 2vcard
  • 2
    xml2 - convert xml documents in a flat
    format 2xml - convert flat format into
    xml html2 - convert html documents in a
    flat format 2html - convert flat format
    Run 2xml
  • 3
    cpupower - Shows and sets processor
    power related values ...
    Run cpupower
  • 4
    CQRLOG - Advanced logging program for
    hamradio operators DESCRIPTION: CQRLOG
    is an advanced ham radio logger based on
    MySQL database. Provides radio control
    Run cqrlog
  • 5
    gammu-smsd - SMS daemon for Gammu ...
    Run gammu-smsd
  • 6
    gammu - Does some neat things with your
    cellular phone or modem. ...
    Run gammu
  • More »