Introduction
An .sph file is speech audio in the SPHERE format of the US National Institute of Standards and
Technology (NIST). It is the usual format of the speech corpora published by the Linguistic Data Consortium.
SPHERE is also the name of NIST’s library and tools for these files.
Structure
The file starts with a plain-text header, normally 1,024 bytes long, whose first line is
NIST_1A and whose second gives the header length. The following lines are typed name and value
fields, such as the sample coding and byte order. The audio data follows: PCM, µ-law or A-law, in either byte
order. Some corpora compress it with Shorten.
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 fields and sample codings, including compressed data, which the corpus documentation and open source readers cover.
- Viewer: the site has no viewer for this format.
Links
Software
- sph2pipe – converter from SPHERE to other formats, first written at the Linguistic Data Consortium
- FFmpeg – command-line audio converter that reads SPHERE files (Windows, macOS, Linux)
- libsndfile – sound file library that reads and writes SPHERE files (Windows, macOS, Linux)
Developers
- libsndfile nist.c – reader and writer (C)
- FFmpeg nistspheredec.c – the SPHERE demuxer (C)
Reference
- Waveform file specification – a Linguistic Data Consortium corpus document on SPHERE files