#725·pydub

audioop deprecation - Python 3.12

Author: elderlabsCreated Apr 4, 2023Updated Sep 9, 2026

Audioop is deprecated as of Python 3.11, removal in 3.13 (source). What's the plan for its replacement once it's no longer available? I've seen snippets floating around of audio manipulation with numpy arrays, but from my reading, it's also possible to overflow in instances of volume scaling/manipulation. It doesn't seem like there's an ideal solution to this or a replacement for audioop once it's gone. Perhaps someone will port it to a package...

Thanks.