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.
-
1:02:11
DeVory Darkins
1 hour ago $3.58 earnedDemocrats suffers ANNIHILATION during heated hearing with Bondi as Jack Smith bombshell drops
6.99K25 -
40:59
Dad Saves America
23 hours ago $0.66 earnedThe Radical Left’s True Romance: Revolution & Chaos
4.95K10 -
1:07:42
vivafrei
5 hours agoJack Smith SPIED on GOP Lawmakers? Ottawa Trucker Protest Organizers SENTENCED! & MORE!
105K46 -
LIVE
LFA TV
20 hours agoLIVE & BREAKING NEWS! | TUESDAY 10/7/25
995 watching -
2:00:50
The Quartering
4 hours agoPam Bondi GRILLED, CIA Coverup, DEI Backfire & Taylor Swift Cancelled!
116K49 -
1:25:13
Awaken With JP
5 hours agoKirk Conspiracies Heat Up, Netflix Castrates Itself, and More!
60.6K52 -
LIVE
freecastle
6 hours agoTAKE UP YOUR CROSS- Press on toward the goal to win the prize for which GOD has called You!
127 watching -
LIVE
The Nunn Report - w/ Dan Nunn
3 hours ago[Ep 764] Jack Smith For Prison | Pritzker Says Ice Lies, Sides w/ Criminals | Guest Sam Anthony
182 watching -
1:48:42
Steven Crowder
9 hours agoDid You Vote for This: Why The Podcast Bros are Turning on Trump
495K612 -
1:31:37
The HotSeat
3 hours agoBondi On The Hill + Equitable Grading? We Are Failing Our KIDS!
14.9K3