What's Changed * Add explicit error message when swapping the `samplerate` and `num_channels` arguments on AudioFile. (https://github.com/spotify/pedalboard/pull/238) * Make `.resampled_to` a no-op if the file already has the desired sample rate. (https://github.com/spotify/pedalboard/pull/239)
What's Changed * Return an integer for `AudioFile.samplerate` when possible, and allow passing a floating-point value to `AudioFile.read`. (https://github.com/spotify/pedalboard/pull/236)