(original) (raw)

That helped a lot, thanks!

On Wed, 14 Dec 2016 at 4:58 AM Martin Panter <vadmium+py@gmail.com> wrote:
On 13 December 2016 at 13:37, MRAB <python@mrabarnett.plus.com> wrote:

> On 2016-12-13 11:31, KH Luke Kim wrote:

>>

>> Hello,

>> recently there had been some issues in audioread and librosa that 3-byte

>> samples can be loaded in Python 3 but 2.

>>

>> The documentation says that the audioop.lin2lin function in Python 3

>> support 1-, 2-, 3-, 4-byte samples but only 1-, 2-, 4-byte samples in

>> Python 2.

>>

>> I wonder why 3-byte support is not implemented in Python 2\. If there is

>> any previous thread or history regarding this issue, could you refer it

>> to me?

>>

> The Python docs say that support for 3-byte (24-bit) samples was added in

> Python 3.4, so anyone using a version before that one is out of luck!



The 3.4 reference leads you to What’s New, which leads to discussion

in the bug tracker:

https://docs.python.org/3/whatsnew/3.4.html#audioop

https://bugs.python.org/issue12866