-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for multi-block ADPCM #1
Comments
Ideally VocTool needs to be married with adpcm-xq's noise shaping algorithm that improves perceived audio fidelity and also its prediction initialization algorithm that minimizes the error. UP: I actually did add support for Creative Lab's 4-bit ADPCM to adpcm-xq at some point, albeit getting away with the RIFF container format instead of VOC: https://github.com/viciious/adpcm-xq/blob/c9652e80f87557ac85e1c072026b330f00441bad/adpcm-lib.c |
That sounds very interesting. Currently VocTool pretty much brute forces the encoding of ADPCM and simply minimizes the squared error. No noise shaping at all. The code you linked is quite intriguing, as I've not found any other open source Creative Lab's 4-bit ADPCM code before. |
Hello!
Thanks for writing and publishing your project on github! Getting VEDIT2 to work is such an ordeal, so VocTool is a godsend.
If I may, I'd like to suggest adding support for multi-block ADPCM files. Looking at the source code, it appears that source PCM data is always encoded as a single block, meaning the predictor is never reset when mean error gets too high. Or maybe just do that at fixed intervals to keep the error in line.
Cheers!
The text was updated successfully, but these errors were encountered: