Server IP : 85.214.239.14 / Your IP : 216.73.216.123 Web Server : Apache/2.4.65 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/cwd/proc/2/task/2/cwd/proc/3/root/proc/3/cwd/proc/2/cwd/proc/3/cwd/lib/python2.7/ |
Upload File : |
� �,bc@s�dZddlmZeddd�[ddlZddlZddlZddlZddgZiZej �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 �e ed<ej �Zejdd �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.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/lib/python2.7/toaiff.pyR@scCs�|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/lib/python2.7/toaiff.pyROs< *8 (t__doc__twarningsRRRtpipesRt__all__R$tTemplatettRRt ExceptionRRR(((s/usr/lib/python2.7/toaiff.pyt<module> sF