Electric Potato
Well-known member
I know it's 2024 but I still have projects that opt for AudioPlayMemory and I was wondering why the cpp file generated by wav2sketch is always bigger than the actual wav that it's encoding. Like if I have a 16bit/44.1kHz sample with a size of 23KB, it produces a cpp file that's 32KB using 8bit ulaw encoding and 64KB using 16bit PCM encoding. I would've assumed that since the wav itself is 16bit PCM encoded, the resulting file would always be smaller if anything, since it discards the wavs header.