| toaiff | index /usr/lib/python2.2/toaiff.py |
Convert "arbitrary" sound files to AIFF (Apple and SGI's audio format).
Input may be compressed.
Uncompressed file type may be AIFF, WAV, VOC, 8SVX, NeXT/Sun, and others.
An exception is raised if the file is not of a recognized type.
Returned filename is either the input filename or a temporary filename;
in the latter case the caller must ensure that it is removed.
Other temporary files used are removed by the function.
| Modules | ||||||
| ||||||
| Classes | ||||||||||
| ||||||||||
| Functions | ||
| ||
| Data | ||
| __all__ = ['error', 'toaiff'] __file__ = '/usr/lib/python2.2/toaiff.pyc' __name__ = 'toaiff' t = <Template instance, steps=[('sox -t sndr - -t aiff -r 16000 -', '--')]> table = {'8svx': <Template instance, steps=[('sox -t 8svx - -t aiff -r 16000 -', '--')]>, 'au': <Template instance, steps=[('sox -t au - -t aiff -r 8000 -', '--')]>, 'hcom': <Template instance, steps=[('sox -t hcom - -t aiff -r 22050 -', '--')]>, 'sndr': <Template instance, steps=[('sox -t sndr - -t aiff -r 16000 -', '--')]>, 'sndt': <Template instance, steps=[('sox -t sndt - -t aiff -r 16000 -', '--')]>, 'voc': <Template instance, steps=[('sox -t voc - -t aiff -r 11025 -', '--')]>, 'wav': <Template instance, steps=[('sox -t wav - -t aiff -', '--')]>} uncompress = <Template instance, steps=[('uncompress', '--')]> | ||