Urgent.News

What's breaking now, across hundreds of outlets.

Tech

The ULC Audio Codec is a Perfect Fit for the N64

The ULC Audio Codec is a promising solution for the Nintendo 64 (N64), offering near-Opus bitrates with minimal CPU usage. Initially, the N64 lacked the ability to utilize the RSP for audio processing, limiting options to compressed ADPCM audio. However, the emergence of the RSP-accelerated Opus decoder in Libdragon proved too slow for gameplay integration.

Alternative codecs like MP3 and QOA were considered, but their performance gains over ADPCM were marginal, and quality and compression suffered. The Ultra Low Complexity Codec (ULC) emerged as a potential solution, a transform codec that operates with minimal complexity, similar to MP3 but without its limitations. ULC transforms PCM data slices into the frequency domain using the Modified Discrete Cosine Transform (MDCT) and stores coefficients in a nibble-based format, significantly reducing complexity.

The codec's simple nibble-based packaging allows for efficient unpacking, making it a viable option for background music and spoken dialog during gameplay on the N64. The author successfully compiled and tested the ULC reference decoder for the N64, proving its feasibility for real-time audio processing.

Rewritten by urgent.news; may contain errors — check the original.

Read the original at phoboslab.org →

Report a problem with this story

More in Tech

More from Thursday 5 November →