|
NAMEtoast — GSM 06.10 lossy sound compressionSYNOPSIStoast [ -cdfpvhualsFC ] [ filename... ]untoast [ -cfpvhuaslF ] [ filename... ] tcat [ -vhuaslF ] [ filename... ] DESCRIPTIONToast compresses the sound files given on its command line. Each file is replaced by a file with the extension .gsm . If no files are specified, the compression is applied to the standard input, and its result is written to standard output.Toasted files can be restored to something not quite unlike their original form by running toast -d , or untoast , on the .gsm-files or standard input. The program tcat (the same as running untoast -c ) uncompresses its input on standard output, but leaves the compressed .gsm-files alone. When files are compressed or uncompressed into other files, the ownership (if run by root), modes, accessed and modified times are maintained between both versions. OPTIONS
Toast, untoast and tcat try to guess the appropriate audio data
format from the file suffix. Command line options can also specify a format
to be used for all files.
In absence of options or suffixes to specify a format, μU-law encoding as forced by -u is assumed. PECULIARITIESA four bit magic number is prefixed to each 32 1/2-byte GSM frame, mainly because 32 1/2-bytes are rather clumsy to handle.WARNINGThe compression algorithm used is a lossy compression algorithm devised especially for speech; on no account should it be used for text, pictures or any other non-speech-data you consider valuable.BUGSPlease direct bug reports to jutta@pobox.com and cabo@tzi.org.SEE ALSOgsm(3)
Visit the GSP FreeBSD Man Page Interface. |