Premium Only Content

No Game Engine Game Dev: Word Sleuth 102: Which sounds are mu-law encoded and decoding QOI images
Streamed on 2024-12-18 (https://www.twitch.tv/thediscouragerofhesitancy)
Game Engines are for sissies!
Yesterday we made it possible to set a given audio file to have different encodings and numbers of channels. Today I coded into the Sandbox a way to run through every sound in the game and play/stop it. I set every sound to mono channel and mu-law encoded. Then I scanned through every sound file and listened to it. If it had audio artifacts I marked it back to PCM encoding. A couple of rounds of testing later and all the sounds are reasonably good quality while cutting my embedded audio data to about 25% of the original size (down to about 1 million lines of audio data in my code file instead of 4 million).
After that I started trying to code up QOI image file processing. It has a single page specification and is very straightforward. Even if the compression isn't as good as PNG or JPEG, the simplicity is a reasonable tradeoff for me with this project. I downloaded some example files from the QOI webpage, read the specification and went to work. I got to where we read the file and generated the expected number of pixels in the resulting image. I copy/pasted some code to write that data out as uncompressed BMP to verify. It isn't right yet, but with some debugging tomorrow I think we'll get it.
-
LIVE
The Mike Schwartz Show
2 hours agoTHE MIKE SCHWARTZ SHOW Evening Edition 09-03-2025
4,165 watching -
1:06:42
TheCrucible
3 hours agoThe Extravaganza! EP: 31 (9/03/25
67K1 -
LIVE
Wayne Allyn Root | WAR Zone
6 hours agoWAR Zone LIVE | 3 SEPTEMBER 2025
91 watching -
1:28:57
Redacted News
3 hours agoBREAKING! Putin's DEVASTATING news for Europe | Secret UFO Space Base in Huntsville | Redacted Live
85.8K99 -
1:17:49
vivafrei
6 hours agoEpstein Press Conference DEBACLE! Missing Minute FOUND? Canada Continues to Fall! & MORE!
85.6K68 -
29:30
Stephen Gardner
3 hours ago🟢YES! Trump’s Doing It! Ben Shapiro UNLEASHES on Democrat STUPIDITY!
34.4K23 -
LIVE
Dr Disrespect
8 hours ago🔴LIVE - DR DISRESPECT - METAL EDEN - NEW 2025 SCI-FI FPS LAUNCH STREAM
946 watching -
DVR
StoneMountain64
6 hours agoBattlefield's Easter Egg Phantom Project is STILL ALIVE
33.9K -
LIVE
LFA TV
12 hours agoLFA TV ALL DAY STREAM - WEDNESDAY 9/3/25
788 watching -
1:38:04
freecastle
8 hours agoTAKE UP YOUR CROSS- Love...Light...TRUTH!
14.3K3