so i'd like to discover tha way that tool restores headers on raw files. for now i need to compress each raw file with that tool, than cut first bytes until tBaK (magic of TAK format) and decode it to normal wave pcm. if I have ten seconds of a square wave in PCM wave form in 8-bit 8kHz, it takes up 8000samples/sec 1byte/sample 10seconds 80000 bytes, whereas in PWM tone-duration pair form, one can use just two bytes to encode the. this tool restores headers and compresses that files with TAK. The reason why I am not trying to trying to push the PCM data to the chip is that PCM data takes up a lot of memory, e.g. ![]() Ok, lets forget abou scanner and talk about already extracted and splitted raw pcm from the game. If the data has an header then it's a format (RIFF WAV for example) and, yes, in that case it's possible to search the files, but it's a format scanner and not a "raw" scanner. I want to be sure that we are in sync on the correct terms, with PCM raw data I mean just the sequence of audio without headers. ![]() That's the reason why it's not possible to find headerless raw PCM audio data (no RIFF, no other magic signatures to search) in a file, and I already tested the tool and it failed. The generated file can be a sequence of random bytes or just a "noisy" PCM 8 or 16bit raw audio file, nobody can tell or maybe a valid PCM raw in the middle of other non-audio data. ![]() The reason is logic, go on Linux and make: cat /dev/urandom > /tmp/audio_data.raw ![]() I made a test and that tool didn't work with me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |