MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.138.181.90
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /../lib64/tls/../lua/../python2.7/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //../lib64/tls/../lua/../python2.7/toaiff.pyo
�
n��fc@s�dZddlmZeddd�[ddlZddlZddlZddlZddgZiZej	�Z
e
jd	d
�e
ed<ej	�Z
e
jdd
�e
ed
<ej	�Z
e
jdd
�e
ed<ej	�Z
e
jdd
�e
ed<ej	�Z
e
jdd
�e
ed<ej	�Z
e
jdd
�e
ed<ej	�Z
e
jdd
�e
ed<ej	�Zejdd
�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/lib64/python2.7/toaiff.pyR=sc	Cs}g}d}zt||�}WdxS|D]J}||kr*ytj|�Wntjk
rcnX|j|�q*q*WX|S(N(tNonet_toaifftostunlinkRtremove(tfilenamettempstretttemp((s/usr/lib64/python2.7/toaiff.pyR@scCs�|ddkrgtj�\}}tj|�|j|�tj||�}|rmt|d�qmn|}y&tj	|�}|r�|d}nWn�t
k
rO}t|�td�krt|�dkrt|d�td�krt|d�td�kr|d}nt|�td�kr;t
|�}nt|d|�nX|d	kr`|S|dksx|tkr�td
||f�ntj�\}}tj|�|j|�t|j||�}|r�t|d�n|S(
Ni����s.Zs: uncompress failediiits: taiffs"%s: unsupported audio file type %rs: conversion to aiff failed((ttempfiletmkstempRtclosetappendRtcopyRtsndhdrtwhathdrtIOErrorttypetlentreprRttable(RRtfdtfnametststftypetmsgR((s/usr/lib64/python2.7/toaiff.pyROs<

*8


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

MMCT - 2023