
κΛχ2c      sΐ    	 k  Z  
 k Z  k Z  k Z  h  Z  e i   Z  e i d  d   e e d < e i   Z  e i d d   e e d < e i   Z  e i d d    e e d <" e i   Z # e i d d  $ e e d <& e i   Z ' e i d	 d  ( e e d
 <* e i   Z + e i d d  , e e d <. e i   Z / e i d d  0 e e d <2 e i   Z 3 e i d d  6 d Z	 8 d   Z
 G d   Z d S(   s   sox -t au - -t aiff -r 8000 -s   --s   aus    sox -t hcom - -t aiff -r 22050 -s   hcoms   sox -t voc - -t aiff -r 11025 -s   vocs   sox -t wav - -t aiff -s   wavs    sox -t 8svx - -t aiff -r 16000 -s   8svxs    sox -t sndt - -t aiff -r 16000 -s   sndts    sox -t sndr - -t aiff -r 16000 -s   sndrs
   uncompresss   toaiff.errorc   s΄   8 9 g  } : t } ; z < t |  |  } Wd  = > xn | d > r` } ? | | j oJ @ y A t i |  Wn B t i j
 o
 C n XD | i	 |  n qA WXE | Sd  S(   Ni    (
   s   tempss   Nones   rets   _toaiffs   filenames   temps   oss   unlinks   errors   remove(   s   filenames   tempss   rets   temps   /usr/lib/python1.4/toaiff.pys   toaiffc   s2  G H |  d d j oV I t i   } J | i |  K t i |  |  } L | o M t	 |  d  n n
 O |  } P y1 Q t
 i |  } R | o S | d } n WnΞ T t j
 oΏ U t |  t f   j oJ t |  d j o7 t | d  t d  j o t | d  t d  j o W | d } n X t |  t d  j o Y | } n Z t	 |  d |  n X[ | d j o \ | Sn ] | t j p t i |  o ^ t	 |  d	 |  n ` t i   } a | i |  b t | i | |  } c | o d t	 |  d
  n e | Sd  S(   Ni   s   .Zs   : uncomress failedi    i   s    s   : s   aiffs   : unsupported audio file type s   : conversion to aiff failed(   s   filenames   tempfiles   mktemps   fnames   tempss   appends
   uncompresss   copys   stss   errors	   whatsounds   whathdrs   ftypes   IOErrors   types   msgs   lens   Nones   tables   has_keys   temp(   s   filenames   tempss   fnames   stss   ftypes   msgs   temps   /usr/lib/python1.4/toaiff.pys   _toaiffN(   s   oss   tempfiles   pipess	   whatsounds   tables   Templates   ts   appends
   uncompresss   errors   toaiffs   _toaiff(    s   /usr/lib/python1.4/toaiff.pys   ?