ericweitzel.me
Under construction
28 August 2022 #c
Generating audio with pure C

I've been working on a project that requires the ability to generate uncompressed PCM audio. Luckily, C lets us do this very easily just using structs and fwrite.

Continue reading
1 April 2022 #openbsd
Persistent display-brightness on OpenBSD with rc and wsconsctl

Laptop users of OpenBSD know that there's no built-in functionality for keeping the display's brightness persistent across reboots. It's possible to use rc(8) and wsconsctl(8) to write the display's brightness setting to a file on shutdown and read it during startup.

Continue reading