Optiroc / BRRtools

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

Fix looped resampling duration calculations #8

Closed nyanpasu64 closed 6 years ago

nyanpasu64 commented 6 years ago

Previous code suffered from rounding errors, would sometimes resample 128 samples /2 = 65 samples.

Fixes #6 for my original broken sample.

I haven't noticed any other detuned samples so far. (I should probably rebuild some of my older songs from .wav to make sure)

Optiroc commented 6 years ago

👍