I&#39;ve uploaded a patch for the aifc module (<a href="http://bugs.python.org/issue2847">http://bugs.python.org/issue2847</a>). I&#39;m still working on the testsuite.<br>Comments are welcome!<br><br>Quentin<br><br><div class="gmail_quote">
On Thu, May 29, 2008 at 5:39 PM, Quentin Gallet-Gilles &lt;<a href="mailto:qgallet@gmail.com">qgallet@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Thu, May 29, 2008 at 4:56 PM, Lars Immisch &lt;<a href="mailto:lars@ibp.de" target="_blank">lars@ibp.de</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

&lt;snip&gt;<div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 &nbsp; &nbsp; &nbsp; &nbsp;Issue 2847 - the aifc module still imports the cl module in 3.0.<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Problem is that the cl module is gone. =) So it seems silly to have<br>
 &nbsp; &nbsp; &nbsp; &nbsp;the imports lying about. This can probably be changed to critical.<br>
<br>
<br>
 &nbsp; &nbsp;It shouldn&#39;t be a problem to rip everything cl-related out of aifc.<br>
 &nbsp; &nbsp;The question is how useful aifc will be after that ...<br>
<br>
<br>
Has someone already used that module ? I took a look into it, but I&#39;m a bit confused about the various compression types, case-sensitivity and compatibility issues [1]. Are Apple&#39;s &quot;alaw&quot; and SGI&#39;s &quot;ALAW&quot; really the same encoding ? Can we use the audioop module for ALAW, just like it&#39;s already done for ULAW ?<br>


</blockquote>
<br></div>
There is just one alaw I&#39;ve ever come across (G.711), and the audioop implementation could be used (audioop&#39;s alaw support is younger than the aifc module, BTW)<br>
<br>
The capitalisation is confusing, but your document [1] says: &quot;Apple Computer&#39;s QuickTime player recognize only the Apple compression types. Although &quot;ALAW&quot; and &quot;ULAW&quot; contain identical sound samples to the &quot;alaw&quot; and &quot;ulaw&quot; formats and were in use long before Apple introduced the new codes, &nbsp;QuickTime does not recognize them.&quot;<br>


<br>
So this seems just a matter of naming in the AIFC, but not a matter of two different alaw implementations.<br><font color="#888888">
<br>
- Lars</font><div><div></div><div></div></div></blockquote></div></div><div><br>Ok, I&#39;ll handle this issue. I&#39;ll be using the audioop implementation as a replacement of the SGI compression library. I&#39;ll also create a test suite, as Brett mentioned in the bug tracker the module was missing one.<br>
<font color="#888888">
&nbsp;<br>Quentin<br><br></font></div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><br>
<br>
[1] <a href="http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/AIFF/AIFF.html" target="_blank">http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/AIFF/AIFF.html</a><br>
</div></div></blockquote></div></div><br>
</blockquote></div><br>