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
I'm getting a NumPy DeprecationWarning when I use the library in pytest
.../lib/python3.13/site-packages/sounddevice.py:2795: DeprecationWarning: Setting the shape on a NumPy array has been deprecated in NumPy 2.5.
As an alternative, you can create a new view using np.reshape (with copy=False if needed).
data.shape = -1, channels
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Activity
mgeier commentedon Aug 22, 2026
Thanks for the report!
#641 should fix this.