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.
-
10:05:38
Dr Disrespect
13 hours ago🔴LIVE - DR DISRESPECT - BLACK OPS 7 - GIVE ME BACK MY NUKE
141K17 -
LIVE
Drew Hernandez
3 hours agoTARGETED LEFTIST TERRORIST ATTACK IN CHICAGO & ISRAEL GEOFENCING U.S. MEGA CHURCHES
999 watching -
8:58
Degenerate Jay
14 hours ago $0.63 earnedXbox Game Pass Is Getting Ridiculous
14K2 -
7:03
GBGunsRumble
1 day agoGBGuns Range Report 05OCT25
9.17K2 -
1:32:30
Glenn Greenwald
10 hours agoWill the War in Gaza Finally End? Flotilla Activists Predictably Abused in Israel's Dungeons; Van Jones' Revealing Joke about "Dead Gazan Babies" | SYSTEM UPDATE #527
93.1K66 -
LIVE
SpartakusLIVE
6 hours ago#1 King of Content brings MOTIVATION to the MASSES on Monday
377 watching -
1:48:32
megimu32
5 hours agoON THE SUBJECT: 2000s Hits That Vanished! 🎶
8.21K5 -
12:19
China Uncensored
12 hours agoWas This Death China's Turning Point?
12.3K34 -
2:51:40
This is the Ray Gaming
4 hours ago $0.39 earnedThe MonRAYest MonRay | Rumble Premium Creator
6.94K -
7:39:50
GritsGG
9 hours agoWarzone Win Grinding! Most Wins in WORLD! 3680+!
4.42K1