Closed mcclure closed 11 months ago
If we do this, we should additionally move the import numpy
to the top of soundfile.py.
That's reasonable, I added a comment (hoping the long line length is not a problem)
To be clear, I think it would be reasonable to keep in the buffer-only case if that's a use case you want to support. But my support conversations with this project so far implies the non-numpy case is not a development priority, so…
The comment is good, thank you!
In theory, I'd prefer to keep the buffer-only use case alive in some form. But I think that it has almost no users, and the lack of numpy is causing much more trouble than it's worth. If you have a better solution, I'd be very interested.
But otherwise, I say this is a good change.
See discussion in #408. This may not be how you prefer to solve this.
It would be better if numpy were requested with a >= version number but I don't know which one is appropriate.