Re: [Python-Dev] Implementation difference of audioop.lin2lin in Python2 and Python3

2016-12-14 Thread KH Luke Kim
That helped a lot, thanks! On Wed, 14 Dec 2016 at 4:58 AM Martin Panter wrote: > On 13 December 2016 at 13:37, MRAB wrote: > > > On 2016-12-13 11:31, KH Luke Kim wrote: > > >> > > >> Hello, > > >> recently there had been some issues in audiore

Re: [Python-Dev] Implementation difference of audioop.lin2lin in Python2 and Python3

2016-12-14 Thread KH Luke Kim
Yeah, but is it supposed to be avoided to apply new features in Python 3.x to Python 2.x? Sorry if there's already a consensus. 2016-12-13 22:37 GMT+09:00 MRAB : > On 2016-12-13 11:31, KH Luke Kim wrote: > >> Hello, >> recently there had been some issues in audioread

[Python-Dev] Implementation difference of audioop.lin2lin in Python2 and Python3

2016-12-13 Thread KH Luke Kim
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