DSP file summary

This topic lists the DSP files needed for particular ADI service functions. Specify the files to be loaded in the board keyword file. Use the OAM API to load DSP files onto boards. For more information, refer to the board installation and developer's manual.

DSP files ending in .dsp have mu-law and A-law versions. The names shown here are for the mu-law version. The A-law files have _a appended to the file name. For example, the A-law version of voice.dsp is voice_a.dsp. Some DSP files have versions with _j appended to the file name. For example, the V.23 version of adsir.dsp is adsir_j.dsp.

Note: DSP files CG 6565/C and CG 6060/C boards use an .f41 file extension.

AG boards

CG boards

Description

adsir(_j).m54

adsir(_j).fxx

Contains the caller ID function that decodes the modem burst occurring between the first and second rings on a loop start line. This file also contains the FSK data receiver.

Use adsir.xxx if one of the loop start protocols is used and the parameter adilps.cidsupport is set to 1.

Use this file for adiStartReceivingFSK.

(_j) is the V.23 variant.

adsix(_j).m54

adsix(_j).fxx

Contains the FSK data transmitter. Use this file for adiStartSendingFSK.

(_j) is the V.23 variant.

callp.m54

callp.fxx

Contains voice and tone detectors used for call progress detection and for general tone detection.

Use callp.xxx if any outgoing or two-way trunk protocol is in use and for adiStartCallProgress.

dtmf.m54

dtmf.fxx

Contains the DTMF receiver and the energy/silence detector. Use dtmf.xxx for DTMF detection. The energy/silence detector is used by the record functions and by adiStartEnergyDetector.

dtmfe.m54

dtmfe.fxx

Is a variation of dtmf.xxx, optimized for use with the echo canceller (echo.xxx). dtmfe.xxx yields better talk-off resistance but requires the echo canceller to achieve the best cut through performance.

echo.m54

echo.fxx

Contains the echo cancellation function. The echo canceller removes reflected energy from the incoming signal, which improves DTMF detection and voice recognition while playing.

Use echo.xxx if echo cancellation is enabled. See adiStartProtocol and the ADISTART_PARMS category.

Note: Substitute dtmfe.xxx for dtmf.xxx when using the echo canceller.

echo_v3.m54

echo_v3.fxx

Provides higher performance and support for longer echo tails. Requires more resources than echo.x54 and can decrease the number of ports.

echo_v4.m54

echo_v4.fxx

Contains the echo cancellation functions available in echo_v3.x54, as well as comfort noise generation and tone disabling features.

None

g723.fxx

CG boards only. Contains ITU G.723.1 play and record functions for both 5.3 kbit/s and 6.3 kbit/s rates. The codec data is output as raw bytes of the encoded 30 ms frames.

g726.m54

g726.fxx

Contains ITU G.726 ADPCM play and record functions. G.726 is a standard for 32 kbit/s speech coding.

Note: These functions require more DSP processing time than the functions in voice.xxx. You cannot run as many actively playing or recording contexts as you can with other speech encodings.

None

g729.fxx

CG boards only. Contains ITU G.729A play and record functions. The 8 kbit/s codec data is output as raw bytes of the encoded 10 ms frames.

gsm_ms.m54

gsm_ms.fxx

Contains play and record functions for MS-GSM speech encoding at 13 kbit/s.

gsm_mspl.m54

gsm_mspl.fxx

Similar in operation to gsm_ms.m54, except that maximum output of the play function is limited.

ima.m54

ima.fxx

Contains play and record functions for IMA ADPCM speech encoding, at 24 kbit/s or 32 kbit/s.

mf.m54

mf.fxx

Contains the multi-frequency receiver function. Required for any trunk protocol that uses MF signaling and also by adiStartMFDetector.

oki.m54

oki.fxx

Contains play and record functions for OKI ADPCM speech encoding, at 24 kbit/s or 32 kbit/s.

ptf.m54

ptf.fxx

Contains precise tone filters. On AG boards, loop start protocols use ptf.xxx for the cleardown detector. On AG and CG boards, use ptf.xxx for adiStartToneDetector and adiStartCallProgress.

rvoice.m54

rvoice.fxx

Contains PCM play and record functions.

rvoice.xxx is required to play or record with an encoding of ADI_ENCODE_MULAW, ADI_ENCODE_ALAW, or ADI_ENCODE_PCM8M16.

rvoice_vad.m54

rvoice_vad.fxx

Contains PCM play and record functions. Record functions can enable voice activity detection.

rvoice_vad.xxx is required to play or record with an encoding of ADI_ENCODE_MULAW, ADI_ENCODE_ALAW, or ADI_ENCODE_PCM8M16.

signal.m54

qtsignal.f54,
for CG 6000/C boards

8tsignal.f54,
for CG 6100C and CG 6500C boards

(not required for CG 6565/C and CG 6060/C boards)

Contains signaling, ring detector, and pulse functions. These are out-of-band functions that typically operate on the MVIP signaling stream.

Required for any trunk protocol except NOCC. Also required for adiStartSignalDetector, adiQuerySignalState, and adiStartPulse.

tone.m54

tone.fxx

Contains the tone generation function.

Required for all trunk protocols except NOCC. Also required for adiStartTones, adiStartDTMF and adiStartDial, and for any record function to generate the beep.

voice.m54

voice.fxx

Contains NMS Communications ADPCM play and record functions. The compressed speech is in a framed format with 20 milliseconds of data per frame. Speech is compressed to 16, 24, or 32 kbit/s, or it is stored as uncompressed mu-law or A-law (64 kbit/s). This file is required to play or record with encoding values of ADI_ENCODE_NMS_16, ADI_ENCODE_NMS_24, ADI_ENCODE_NMS_32, or ADI_ENCODE_NMS_64.

None

None

Substitute these files for voice.dsp to apply speed up to NMS Communications ADPCM encoded speech.

wave.m54

wave.fxx

Contains play and record functions for PCM speech in formats commonly used in WAVE files, including 8 and 16 bit, 11 kilo-samples per second sampling.