Home · Standalone · rtcmix~ · iRTcmix · Tutorials · Reference |
RTcmix an open-source digital signal processing and sound synthesis language |
about · links · contact |
sfprint - print soundfile information
Synopsissfprint [-v] [-q] filename [filename...]
DescriptionPrints the following information about a soundfile: the header type and data format, the sampling rate, the number of channels, the number of bytes per sample word ("class''), the maximum amplitude value for each channel and its location (if available), and the duration of the sound. Without a filename argument, sfprint prints a help summary.
Options
Returns0 if successful; 1 if any of the file arguments is not a sound file.
NotesThe output is roughly in the same format as sfprint in classic cmix. Recognizes any sound file type understood by the sndlib sound file library, including AIFF, AIFC, WAV, NeXT, Sun, IRCAM, among others. Raw (headerless) sound files are not recognized and will produce an error message.
See Also
AuthorsJohn Gibson <johgibso at indiana edu>, based on the original Cmix sfprint, but revised to work with multiple soundfile header types. Thanks to Bill Schottstaedt, whose sndlib sound file library makes this possible. |