this post was submitted on 30 Dec 2024
656 points (98.7% liked)

Programmer Humor

19883 readers
130 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
656
AI in reality (slrpnk.net)
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 week ago

Man alive, don't get the managers working with audio. "Doubling the stream" might work if you're using a signed audio format rather than an unsigned one, and the format is in the same endianness as the host computer uses. Neither of which are guaranteed when working with audio.

But of course, the ear perceives loudness in a logarithmic way (the decibel scale), so for it to be perceived as "twice as loud", it generally needs an exponential increase. Very high and low frequencies need more, since we're less sensitive to them and don't perceive increases so well.