This is a tool for converting a WAV file into a DSPADPCM format usable with the Nintendo Alarmo.
This is heavily based off of the gc-dspadpcm-encode project and reuses basically all of its code; I just tweaked it to make it produce audio files that work with the Nintendo Alarmo instead.
gcc -o encode main.c grok.c
ShiroADPCM Encoder
Usage: encode <file.wav> [options]
Options:
-o, --outfile <file> Write output data to the specified file
-s, --start <sample> Loop start sample number
-e, --end <sample> Loop end sample number
-n, --name <name> Name of the track
-p, --split Generate both SHAA and SHSA files
-h, --help Show this help text