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:

General-purpose evaluation board
Altron Arrow DSP, Micros & Memory
Based on the 32-bit Arm Cortex-M7 S32K3 MCU in a 172 HDQFP package, the S32K3X4EVB-T172 offers dual cores configured in lockstep mode, ASIL D safety hardware, and HSE security engine.

Read more...
Zero drift current shunt monitors
Altron Arrow Power Electronics / Power Management
The NCS21671 and NCV21671 from onsemi are a series of voltage output current sense amplifiers offered in gains of 25, 50, 100, and 200 V/V.

Read more...
Unlock power efficiency with the new generation of ultra-low-power MCUs
DSP, Micros & Memory
STMicroelectronics has announced a one-hour webinar on its STM32U0, the company’s latest generation of entry-level, ultra-low-power MCUs.

Read more...
Wi-Fi 6/BLE module enables rapid development
Altron Arrow Telecoms, Datacoms, Wireless, IoT
Telit Cinterion has announced the WE310K6, a fully integrated, low-power module featuring dual-band, dual-stream Wi-Fi 6, and dual-mode Bluetooth/BLE.

Read more...
Using AMD HLS to supercharge your design performance
DSP, Micros & Memory
This workshop explores the power and capabilities of High-Level Synthesis (AMD Vitis HLS) to dramatically accelerate embedded software to hardware speeds.

Read more...
Analysis of switch-mode power supply: inductor violations
Altron Arrow Editor's Choice Power Electronics / Power Management
Common switch-mode power supply (SMPS) design errors are discussed, and their appropriate rectification is specified, with details on complications that arise with the power stage design of DC-DC switching regulators.

Read more...
Microsoft Windows IoT on ARM
Altron Arrow Computer/Embedded Technology
This expansion means that the Windows IoT ecosystem can now harness the power of ARM processors, known for their energy efficiency and versatility.

Read more...
The 8-bit survival syndrome – Part 2
DSP, Micros & Memory
Just like the 4-bit pre-microcontroller, the 8-bit MCU has been finding ways to stick around. Their features and speeds have been improving, offering competitive reasons to work with them.

Read more...
Accelerating the commercialisation of the 5G IoT markets
Altron Arrow Editor's Choice Telecoms, Datacoms, Wireless, IoT
Fibocom unveils Non-Terrestrial Networks (NTN) module MA510-GL, enabling satellite and cellular connectivity to IoT applications.

Read more...
Microchip introduces ECC608 TrustMANAGER
Altron Arrow Circuit & System Protection
To increase security on IoT products and facilitate easier setup and management, Microchip Technology has added the ECC608 TrustMANAGER with Kudelski IoT keySTREAM, Software as a Service (SaaS) to its Trust Platform portfolio of devices, services and tools.

Read more...