- MATLAB → fixed-point C
- multi-year · ongoing
Speaker boost & protection for mobile phones
A customer's proprietary algorithm lets small loudspeakers play louder while protecting them from damage. We turned it into production code that now ships in phones and other devices.
01Challenge
The algorithm existed as a MATLAB reference model. It had to become an efficient, portable software component that device makers could integrate on several processors.
02Constraints
Runs continuously in the audio path: real-time, low latency, tight cycle and memory budgets, several target processors — and the fixed-point code must preserve the behavior of the original model.
03What CODECart did
- Converted the MATLAB reference algorithm to fixed-point
- Wrote the fixed-point C reference implementation
- Designed the module structure and the API
- Built a set of elementary functions used as building blocks throughout the code
- Designed the tests and validated each implementation
- Ported and optimized the code for specific processors
- Supported the customer and device makers during integration
04Platform & technology
MATLAB model → fixed-point C → processor-specific optimized code; audio DSPs and embedded processors.
05 Result
In production in multiple commercial mobile phones and other products. The collaboration has run for several years and is still ongoing.