NeuCodec Demo (16kHz -> 24kHz)

This app demonstrates the NeuCodec model (neuphonic/neucodec) used in NeuTTS-Air.

How it works:

  1. Upload an audio file (wav, mp3, flac, etc.).
  2. The audio will be automatically resampled to 16kHz for encoding.
  3. The 16kHz audio is encoded into discrete codes by NeuCodec.
  4. These codes are then decoded back into 24kHz audio by NeuCodec.
  5. You can listen to the original, the 16kHz version, and the final reconstructed 24kHz audio.

Technical details:

  • Input sample rate: 16kHz (for encoding)
  • Output sample rate: 24kHz (after decoding)
  • Architecture: 50Hz neural audio codec with single codebook
  • Hop length: 480 samples

Note: If the input is stereo, it will be converted to mono.