Description
Extracted from #20958.
What if there was a setting in the web UI where you could get a little sound notification to play if the fuzzer found a bug? It would be like a little cherry on top of a big bowl of ice cream.
Of course, we're not going to commit any sampled audio to the zig source repository, so the jingle would need to be procedurally generated by some DSP golf zig code that runs in wasm populating a buffer that gets played with the browser's audio API 😎
And it should probably be disabled by default, but have a persistent setting so that someone could toggle it on and it would stay on. Or perhaps it could be on by default, but only plays if a long time has passed between starting fuzzing and finding the bug, and rate limited to 1 per hour or something like that.
Activity
geon commentedon Aug 20, 2024
You don't even need to generate a buffer. You can just use an oscillator.
Mario coin sound: https://mohayonao.github.io/web-audio-sound-examples/
andrewrk commentedon Aug 29, 2024
Mario coin sound is a great example! For this issue however, it is a chance to exercise a little creativity and produce a unique sound.
Rexicon226 commentedon Aug 29, 2024
Moving my suggestion from the Discord, I thought it'd be cool if the sound was generated as a normalization of the bytes that were used to find the bug 😄 .