bmcfee / pyrubberband

python wrapper for rubberband
ISC License
154 stars 20 forks source link

Preserve original data type #24

Closed abbioro closed 3 years ago

abbioro commented 3 years ago

sf.read defaults to reading files as float64, which causes pyrubberband to implicitly convert all processed audio into float64 regardless of the original data type. This change makes pyrubberband preserve the data type of the input by reading it back in the same format.

bmcfee commented 3 years ago

LGTM, thanks for catching this!