Player - Wed, Jan 31, 1996
Player - A96 music player.
About
A music player demonstrating the A96 Audio codec.
MP3 is too slow for my games, and WAVE is too large, so I’ve created an audio codec that does a ‘pretty good’ job of compressing audio, while being fast enough to decode on realtime on low end hardware.
The goal is to decode at 30x realtime on a P166 MMX, at 6:1 compression, with no noticeable loss of quality. Currently the HIGH profile (used in this demo) gets 4.6:1 with 21x decode speed.
The format is fairly simple. Just delta-modulated ULAW using Rice codes.
| Setting | Ratio | Speed |
|---|---|---|
| LOW | 10.2 | 29x |
| MEDIUM | 7.8 | 27x |
| HIGH | 4.6 | 21x |
| VERYHIGH | 3.0 | 21x |
| Q8 | 5.4 | 22x |
| Q10 | 3.5 | 21x |
| Q12 | 2.5 | 21x |
| Q16 | 1.5 | 20x |
| MP3@128 | 11.0 | 4x |
| MP3@192 | 7.3 | 4x |
Controls
- Up/Down - select track
- Enter - play track
- S - toggle stats
- ESC - Quit to DOS
Play
Play in Browser
Downloads
- player_dos.zip - For DOS
- player_win64.zip - For Win64
Extra stuff…
Compression Testing
Exit the program with escape, then then run player test to enable test mode.
- [1..8] - Select compression level.
- hold shift - Listen to the difference signal.