jiaaro / pydub

Manipulate audio with a simple and easy high level interface
http://pydub.com
MIT License
8.98k stars 1.05k forks source link

Resolve #784 https://github.com/jiaaro/pydub/issues/784 #785

Closed rwmnau closed 8 months ago

rwmnau commented 8 months ago

This pull request is associated with issue #784: https://github.com/jiaaro/pydub/issues/784. Either of the commits in this pull request can be taken - they're not both needed, though it won't cause a problem if they're both taken.

rwmnau commented 8 months ago

This PR breaks Python 2.7 compatibility by adding type hinting to the method definition - whoops. I'll submit one with just the int check since that should be okay.