On a related note, even if the user has disabled speakers or muted the website, you can still make it generate noises: https://thume.ca/screentunes/
Looks like any noise is the by-product of the electronics within the device, rather than anything playing through the speakers. Coil whine (or something to that effect), I imagine.