scurest / apicula

Convert Nintendo DS .nsbmd models
BSD Zero Clause License
156 stars 17 forks source link

Read full sample list #55

Open stxticOVFL opened 1 year ago

stxticOVFL commented 1 year ago

This PR adds the correct behavior of reading past the then-called end_frame, which is actually where interpolation ends on higher rates. Extra samples past interp_last are read directly, so some (correctly replicated) linear interpolation is done after actually reading the values.

It should be noted this implementation is not very clean (just made it ASAP to get the job done,) so a proper review would be helpful.