Oriel — AI & technology worth noticing, every day.

Why This Obscure Audio Codec Is a Perfect Fit for the N64

Web page · https://phoboslab.org/log/2026/11/n64-ulc-codec

First seen by Oriel on .

AI summary

The post describes porting the Ultra Low Complexity Codec (ULC) to the N64, where it enables 44.1 kHz stereo playback at Opus-like bitrates while using about 4% of CPU time.

  • ULC is a transform codec using a full-band MDCT and simple nibble-based coefficient syntax instead of Huffman coding; noise fill helps represent percussion efficiently.
  • The N64 decoder moves the IMDCT and related work to the RSP, using 16-bit Q1.14 fixed point and 1024-sample blocks to fit its limited data memory.
  • The RSP implementation occupies nearly all 4096 bytes of instruction memory and uses about 5% of RSP time for a 44.1 kHz stereo track.
  • ULC quality and bitrate are close to Opus, with complexity about four times that of ADPCM; it supports background music, speech, ambience, and longer sound effects.
  • A sparse seek table adds about 20 bytes per second, and the decoder has been merged into Libdragon's preview branch.

#ulc #n64 #libdragon #audio codecs

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Hacker News: 264, latest observation ; +261 over observed period since
  • Lobsters: 7, latest observation ; +6 over observed period since

Comments

Comment count reported by the source.

  • Hacker News: 31, latest observation ; +31 over observed period since
  • Lobsters: 0, latest observation ; 0 over observed period since

Aliases

SourceExternal IDURL
Hacker News50378508https://phoboslab.org/log/2026/11/n64-ulc-codec Read discussion
Lobsterscm9b92https://phoboslab.org/log/2026/11/n64-ulc-codec Read discussion