Optiroc / BRRtools

Tools to convert between standard RIFF .wav format and SNES's built-in BRR sound format
46 stars 8 forks source link

Unintuitive definition of resampling ratio #7

Open nyanpasu64 opened 5 years ago

nyanpasu64 commented 5 years ago

brr_encoder treats resampling ratio as in/out (sampling rate), similar to a downsampling amount.

To me, "resampling ratio" would indicate out/in (sampling rate), which seems like a subjectively more natural definition to me. I wrote a tool which takes the reciprocal of the rate before passing to the program, and takes reciprocal again when parsing the output (though I did get a bit of confusion once with my definition).