You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cl module has been removed from Python 3.0, but the aifc module still
imports it in multiple locations. The module needs to be updated (with
tests hopefully) so as to not use the cl module.
The attached patch removes all cl references from the aifc module and
updates it to make it usable in 3.0. It also supports more compression
types because audioop has been enhanced throughout the years (i.e.
support for alaw encoding since 2.5). The changes are the following :
replace strings with bytes for frames read from an aiff/aifc file.
Activity
brettcannon commentedon May 14, 2008
The cl module has been removed from Python 3.0, but the aifc module still
imports it in multiple locations. The module needs to be updated (with
tests hopefully) so as to not use the cl module.
quentingallet-gilles commentedon May 29, 2008
I'm working on this one.
quentingallet-gilles commentedon Jun 1, 2008
The attached patch removes all cl references from the aifc module and
updates it to make it usable in 3.0. It also supports more compression
types because audioop has been enhanced throughout the years (i.e.
support for alaw encoding since 2.5). The changes are the following :
because audioop supports them (I've tested them successfully, using the
samples from this URL :
http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/AIFF/Samples.html )
I'm not an AIFF/AIFC expert, so criticism is welcome!
quentingallet-gilles commentedon Jun 3, 2008
Updated the patch with the following corrections/improvements :
birkenfeld commentedon Jun 7, 2008
I found a few more bytes/str problems, committed patch in r64023.