wav file shenanigans
I go around fixing problems with wav files.
March 19, 2024 · 65 words · 1 min read · tech, programming
Reading input from users is difficult. I faced this issue with
Python’s default wave library throws this error on specific wave file.
wave.Error: unknown format: 65534
This sucks because now, untrusted wav files can just crash the code. In this case, it is better to utilize Soundfile, which is more robust and is able to I also uploaded this as a pip installable package .
a quote i like
My life is the highest of values, too high to give up without a fight. ― Ayn Rand, Atlas Shrugged