Commit Graph

19 Commits

Author SHA1 Message Date
camthesaxman 543820c726 strip debugging symbols from tools 2017-05-11 21:57:48 -05:00
Cameron 46048394ac add LDFLAGS variable to tools makefiles 2017-05-11 21:51:54 -05:00
YamaArashi 42e277b298 simplify delta compression algorithm 2017-01-08 16:54:21 -08:00
yenatch c1330157ee aif2pcm: Accept .aiff files too. 2017-01-08 18:08:25 -05:00
yenatch de69de433b aif2pcm: Fix delta compression for foreign audio.
The direction should not be reversed if the delta is too large.
The new code is redundant, but the intent is more obvious.
2017-01-08 18:00:49 -05:00
yenatch 10e5474a65 aif2pcm: Fix length reporting. Don't use a MARK chunk if no loop.
The reported sample length in the aif header can differ from the actual
length of the SSND chunk. The END marker was being misused to contain
the reported length, but this still counts as a loop in aif2agb, even
if the START marker is omitted (it defaults to the END value).

Now the reported length is in the COMM chunk, which is more correct.
2017-01-08 16:06:19 -05:00
YamaArashi 8c4b69e1d0 make ROM match 2017-01-06 21:01:49 -08:00
yenatch c7398d66cb Dump the cries and rewrite aif2pcm. (#156) 2017-01-06 20:12:47 -08:00
yenatch 7901739b40 aif2pcm: Initialize pcm length if there are no MARK chunks. 2016-11-13 02:07:44 -05:00
yenatch 2fe1ee8638 aif2pcm: Avoid reading past eof. 2016-11-13 02:04:55 -05:00
yenatch 6dd4d9fd31 aif2pcm: Use uint8_t and fix implicitly signed char. 2016-11-13 01:47:11 -05:00
Cameron Hall 02860a983c add aif2pcm to .gitignore 2016-09-29 15:39:00 -07:00
YamaArashi a7aee9914e include stdint.h in aif2pcm main.c 2016-09-10 18:06:57 -07:00
yenatch 9ce874ce6d aif2pcm: Use uint32_t instead of unsigned long for .bin output. 2016-09-10 19:54:50 -04:00
YamaArashi 9cbf1aae19 make aif2pcm compatible with VS2015 2016-09-10 13:27:38 -07:00
Marcus Huderle f7351a803b Remove debugging statement from aif2pcm. 2016-09-10 11:24:33 -07:00
Marcus Huderle b96fa854e1 Use .aif files for programmable wave instruments. 2016-09-08 17:57:29 -07:00
Marcus Huderle 001e1c77b8 Output .bin file for direct sound metadata (loop point, pitch adust, and number of samples). This was needed since we couldn't incbin a string argument in a macro. 2016-09-08 16:42:47 -07:00
Marcus Huderle ccdc106333 Convert .aif files to .pcm samples, and update Makefile to use aif2pcm tool. 2016-09-08 14:06:35 -07:00