Post

Random Chatto Fun Fact: We didn't want to cram the executable with megabytes of notification sounds, so instead Chatto is synthesizing all of them at runtime through the miracle that is the Web Audio API. Some are even slightly randomized! Pew pew pew!

1 repost19 likes

Very cool! That's like using an svg instead of a png. Ship instructions instead of the final computed thing 🥳

That's clever! Did you know WebAudio API comes with binaural 3D positioning, so if someone's wearing headphones you can play different notification sounds from different directions around them?