ACC SHELL

Path : /usr/lib/python/
File Upload :
Current File : //usr/lib/python/toaiff.pyc

Ñò
oÄMc@s½dZddklZedddƒ[ddkZddkZddkZddkZddgZhZei	ƒZ
e
id	d
ƒe
ed<ei	ƒZ
e
idd
ƒe
ed
<ei	ƒZ
e
idd
ƒe
ed<ei	ƒZ
e
idd
ƒe
ed<ei	ƒZ
e
idd
ƒe
ed<ei	ƒZ
e
idd
ƒe
ed<ei	ƒZ
e
idd
ƒe
ed<ei	ƒZeidd
ƒde
fd„ƒYZd„Zd„ZdS(sª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.
iÿÿÿÿ(twarnpy3ks0the toaiff module has been removed in Python 3.0t
stackleveliNterrorttoaiffssox -t au - -t aiff -r 8000 -s--taus sox -t hcom - -t aiff -r 22050 -thcomssox -t voc - -t aiff -r 11025 -tvocssox -t wav - -t aiff -twavs sox -t 8svx - -t aiff -r 16000 -t8svxs sox -t sndt - -t aiff -r 16000 -tsndts sox -t sndr - -t aiff -r 16000 -tsndrt
uncompresscBseZRS((t__name__t
__module__(((s/usr/lib/python2.6/toaiff.pyR=scCsg}d}zt||ƒ}WdxW|D]N}||jo;yti|ƒWntij
onX|i|ƒq*q*WX|S(N(tNonet_toaifftostunlinkRtremove(tfilenamettempstretttemp((s/usr/lib/python2.6/toaiff.pyR@s
cCs|ddjoZtiƒ\}}ti|ƒ|i|ƒti||ƒ}|ot|d‚qqn|}y(ti	|ƒ}|o|d}nWnÃt
j
o·}t|ƒtdƒjo[t|ƒdjoHt|dƒtdƒjo+t|dƒtdƒjo|d}nt|ƒtdƒjot
|ƒ}nt|d|‚nX|d	jo|S|djp
|tjotd
||f‚ntiƒ\}}ti|ƒ|i|ƒt|i||ƒ}|ot|d‚n|S(
Niþÿÿÿs.Zs: uncompress failediiits: taiffs"%s: unsupported audio file type %rs: conversion to aiff failed((ttempfiletmkstempRtclosetappendRtcopyRtsndhdrtwhathdrtIOErrorttypetlentreprRttable(RRtfdtfnametststftypetmsgR((s/usr/lib/python2.6/toaiff.pyROs<

,:


(t__doc__twarningsRRRtpipesRt__all__R$tTemplatettRRt	ExceptionRRR(((s/usr/lib/python2.6/toaiff.pyt<module>	sF






	

ACC SHELL 2018