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:

Ultra-low power MEMS accelerometer
Altron Arrow Analogue, Mixed Signal, LSI
Analog Devices’ ADXL366 is an ultra-low power, 3-axis MEMS accelerometer that consumes only 0,96 µA at a 100 Hz output data rate and 191 nA when in motion-triggered wake-up mode.

Read more...
ESP32-C6 achieves PSA-L2
iCorp Technologies DSP, Micros & Memory
Espressif Systems recently announced that its ESP32-C6 microcontroller has achieved PSA Certified Level 2 (PSA-L2) security certification, making it the first RISC-V-based MCU to reach this level.

Read more...
Microprocessor with integrated NPU
Avnet Silica DSP, Micros & Memory
The RZ/G3E from Renesas is a microprocessor integrated with quad CPU and NPU in one chip, improving power efficiency, reliability, and security.

Read more...
Nordic Semiconductor launches nRF Connect SDK Bare Metal option for nRF54L series
Avnet Silica DSP, Micros & Memory
This is a new, RTOS-independent software solution for Bluetooth LE development, designed to ease developers’ migration from the legacy nRF5 SDK and nRF52 series to the next-generation nRF54L series.

Read more...
Dual-core support in NECTO Studio
DSP, Micros & Memory
MIKROE recently announced that version 7.3.0 of its NECTO Studio Integrated Development Environment now supports dual-core MCUs, allowing designers to program and debug each core independently.

Read more...
Post Quantum Cryptographic firmware library
DSP, Micros & Memory
The STM32 post-quantum cryptographic library enables developers to satisfy application requirements for any combination of data integrity, confidentiality, identification/authentication, and nonrepudiation.

Read more...
Converting high voltages without a transformer
Altron Arrow Editor's Choice Power Electronics / Power Management
With appropriate power converter ICs, such as the LTC7897 from Analog Devices, many applications can be suitably powered without having to use complex and cost-intensive transformers.

Read more...
MultiVolt series of oscillators
Future Electronics DSP, Micros & Memory
The ECS-3225MVQ from ECS Inc. is a compact, quartz-based MultiVolt oscillator designed for precision timing in automotive, industrial, and portable electronic systems.

Read more...
MCU platform for battery-powered devices
Altron Arrow DSP, Micros & Memory
The MCX W23 is a new dedicated wireless MCU platform from NXP for battery-powered sensing devices.

Read more...
Drive innovation with AURIX TriCore MCUs
Future Electronics DSP, Micros & Memory
Infineon’s AURIX TriCore family balances safety, performance, and energy efficiency to offer a scalable and future-ready portfolio.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved