4 ms·
I love the web audio API. I've been making a game where the theme is "I don't do art" so my assets are CSS, emojis, and manually made sounds using frequency an
by Waterluvian 4y ago
I love the web audio API. I've been making a game where the theme is "I don't do art" so my assets are CSS, emojis, and manually made sounds using frequency and sinewaves and such.
The one lesson I learned the hard way is that if you run a full-volume sine wave long enough you can permanently destroy your laptop speakers.
- Minor49er 4y agoReminds me of DOS terminal games like Rogue and ZZT which used ASCII characters to draw everything. I hope you post it once it's ready
- Waterluvian 4y agoIndeed it's a dungeon crawler. Don't hold your breath. It'll be rudimentary. I'm making it for my own joy and learning, but will probably publish it by EOY.
- n4bz0r 4y ago> if you run a full-volume sine wave long enough you can permanently destroy your laptop speakers Minutes? Hours?
- Waterluvian 4y agoMinutes. I never repeated the experiment. Maybe my laptop was a dud or something.
- deleted 4y ago[deleted]
- nyanpasu64 4y agoReminds me of Marcan trying to make Asahi not do that on MacBooks, and so far failing (https://github.com/AsahiLinux/linux/issues/53 https://github.com/AsahiLinux/linux/issues/53). I didn't know that Windows laptops also had speakers that would burn out with high-volume playback.