3 ms·
Reminds me of how LEDs are dimmed using Pulse Width Modulation: "40% brightness" actually means "on at 100% intensity for 40% of the length of each refresh cycl
by derefr 9y ago
Reminds me of how LEDs are dimmed using Pulse Width Modulation: "40% brightness" actually means "on at 100% intensity for 40% of the length of each refresh cycle, and then completely off for the rest."
- szemet 9y agoOr playing PCM on the old PC speakers having only on/off beep function... It seemed like a miracle at the time :)
- vardump 9y ago> Or playing PCM on the old PC speakers having only on/off beep function That is PWM, pulse width modulation. https://en.wikipedia.org/wiki/PC_speaker#Pulse-width_modulation https://en.wikipedia.org/wiki/PC_speaker#Pulse-width_modulat...
- szemet 9y agoOk then: playing PCM with PWM...
- Cthulhu_ 9y agoPC speakers ended up being pretty amazing for some games though - there was this golf game with good environmental sounds, some platformer that had spoken text, all through the old PC speaker. Sound blaster? Pffff.
- nine_k 9y agoWell, you could play 4-channel mods via PC speaker! Many games used it, but I most fondly remember Star Control II that was bathing in great music and sound effects, all through PWM-driven PC speaker, on a 33 MHz 80386.
- Tade0 9y agoOne notable thing is that perceived brightness is not a linear function of the duty cycle. I don't know the numbers, but there exists a frequency and duty cycle at which humans perceive the light to be brighter even though there's less energy used.
- kozak 9y agoAre you speaking of https://en.wikipedia.org/wiki/Gamma_correction https://en.wikipedia.org/wiki/Gamma_correction ?
- bmm6o 9y agoI believe microwave ovens operate this way, too. 40% power means 100% power 40% of the time.