Introduction
AVR is a sampled sound format named after Audio Visual Research, used on the Atari ST by a number of
commercial packages. An .avr file holds one 8-bit or 16-bit sample, mono or stereo, with loop
points and a MIDI key assignment.
Structure
A 128-byte header starts with the magic 2BIT and an 8-byte sample name, then flags for stereo,
resolution, signed data and looping, the MIDI note assignment, the sample rate, length and loop points,
reserved fields, extra name space and a 64-byte user text. The sample data follows.
Not described
This page is a first outline. The details of the layout are not yet described here.
Known, not yet covered
- Reference: the header field by field and the layout of the samples, which the libsndfile and FFmpeg readers show.
- Viewer: the site has no viewer for this format.
Links
Software
- FFmpeg – command-line audio converter that reads AVR (Windows, macOS, Linux)
- libsndfile – sound file library used by many audio programs (Windows, macOS, Linux)
Developers
- libsndfile avr.c – reader and writer, with a description of the header (C)
- FFmpeg avr.c – the AVR demuxer (C)
Reference
- libsndfile avr.c – the source used for this page