DSP, Micros & Memory


New speech compression/decompression library now available for dsPIC controllers

29 June 2005 DSP, Micros & Memory

Microchip has introduced a speech encoding (compression) and decoding (decompression) library for its 16-bit dsPIC digital signal controllers (DSCs). The dsPIC30F Speech Encoder/Decoder Library enables embedded designers to transmit more messages over a given bandwidth or store longer amounts of speech in a given memory space, while maintaining superior sound quality and intelligibility.

This library is based on the Speex (www.speex.org/fsos.html) open source compression format and achieves a 16:1 compression ratio and toll quality speech (PESQ 3.7-4.2).

Many design engineers are seeking to add speech compression to their bandwidth or memory-constrained applications, but have opted for lower compression methodologies to avoid a stiff per-unit royalty for the intellectual property. Microchip says that the adoption of the open-source Speex audio compression format in the dsPIC30F library offers a significant cost reduction over competitive options and brings non-royalty bearing 8 Kbps encoding to the embedded world. Any embedded application that transmits voice over limited bandwidth or has memory constrained playback can benefit from this speech compression/decompression library.

Some product applications are, VoIP, tapeless answering machines, voice announcement systems, medical equipment, building and home safety systems, intercoms and proprietary communications equipment.

This library has a well-documented application programmer's interface (API) that makes it easy to incorporate speech functions into an application. It also supports optional voice activity detection. The speech encoder samples data at 8 kHz, using either the dsPIC DSC's on-chip 12-bit ADC or a 16-bit input obtained from an external codec, via the on-chip codec interface port. The encoder achieves up to a 16:1 compression ratio and generates a fixed 8 Kbps output rate.

Output of decoded speech can be accomplished using the dsPIC DSC's standard PWM or via the interface to an external Codec. The encoder requires 19 MIPS (worst case), 33 Kbytes of program memory and 6,2 Kbytes of RAM. The decoder requires 3 MIPS, 15 Kbytes of program memory and 3,2 Kbytes of RAM. Storing speech requires 1 Kbyte of memory for each second of speech.

The library permits the compressed speech data to be stored in on-chip memory (Flash, EEPROM or RAM) or to an external Flash memory. Playback-only applications can benefit from a PC-based speech encoder utility that is included on the library CD. This utility creates encoded speech files from a PC microphone or WAV files.

The following dsPIC DSCs have the on-chip resources needed for this library: dsPIC30F5011/3, dsPIC30F6011/2/3/4.

For more information contact Arrow Altech Distribution, +27 (0)11 923 9600, Avnet Kopp, +27 (0)11 809 6100, Memec SA, +27 (0)21 674 4103, or Tempe Technologies, +27 (0)11 452 0530.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Ryzen-based computer on module
Altron Arrow AI & ML
SolidRun announced the launch of its new Ryzen V3000 CX7 Com module, configurable with the eight-core/16-thread Ryzen Embedded V3C48 processor.

Read more...
QuecPython live demonstration
Quectel Wireless Solutions DSP, Micros & Memory
QuecPython allows designers to adapt Quectel’s modules quickly, with a low-code approach to suit their precise requirements in less time and at reduced cost, while maintaining high security standards.

Read more...
Robust and customisable SBC
Altron Arrow DSP, Micros & Memory
Pairing the powerful i.MX8M Plus System on Module (SoM) from SolidRun, which features the i.MX 8M Plus SoC from NXP, this high-performance SBC is set to transform industrial environments.

Read more...
New family supports future cryptography
Altron Arrow DSP, Micros & Memory
NXP has introduced its new i.MX 94 family, which contains an i.MX MPU with an integrated time-sensitive networking (TSN) switch, enabling configurable, secure communications with rich protocol support in industrial and automotive environments.

Read more...
Fast and reliable 4G connectivity worldwide
TRX Electronics DSP, Micros & Memory
Powered by a powerful Quectel LTE Cat 4 modem, the Arduino Pro 4G module’s fast data throughput and high bandwidths ensure reliable and quick data download and upload, even in remote locations.

Read more...
NXP’s all-purpose microcontroller series
Altron Arrow DSP, Micros & Memory
NXP has released its MCX A14x and A15x series of all-purpose microcontrollers which are part of the larger MCX portfolio that shares a common Arm Cortex-M33 core platform.

Read more...
ESP32-P4 SoC
iCorp Technologies DSP, Micros & Memory
Espressif Systems announced its latest SoC, the ESP32-P4 which is powered by a RISC-V CPU, with an AI instructions extension, an advanced memory subsystem, and integrated high-speed peripherals.

Read more...
Non-terrestrial network module
Altron Arrow Telecoms, Datacoms, Wireless, IoT
Fibocom unveiled its MA510-GL (NTN), a non-terrestrial networks module which is compliant with 3GPP Release 17 standard.

Read more...
Microchip SoC FPGA
ASIC Design Services DSP, Micros & Memory
Microchip Technology introduced the RT PolarFire SoC FPGA, the first real-time Linux capable, RISC-V-based microprocessor subsystem on a proven RT PolarFire FPGA platform.

Read more...
QLC Flash memory using BiCS tech
EBV Electrolink DSP, Micros & Memory
KIOXIA announced it had started shipping its 2 Tb Quad-Level-Cell memory devices with its 8th-generation BiCS FLASH 3D flash memory technology.

Read more...