(buttons.joshwcomeau.com)
a friend was working for a very large automotive manufacturer. He was working in the "audio control".
In the "audio control" responsible for meassuring if each of the poduced cars doors had the >correct sound< when opening/closing the door and how it sounds if you pick/release the door handle.
He explained that car manufacturers investing huge money to get >that specific brand touch< when you are experiencing the >audio performance< of a car: They found out that some sounds/frequency spectrums are perceived as of higher/better quality than others, thus designers even have attention on how it sounds if your put your bunch of keys with the car key attached onto a wood table etc.
But after reading your comment I realized that those sounds are designed and an integral part of the design of the car. Thanks for enlightening me!
Until I read your full comment I had visions of cats pawing at doors and making different scratching noises, but wondered how the owner trained them to close the door behind them
I went from a VW Golf to a Subaru Outback and now a Hyundai Ioniq 5 and the VW Golf had the most pleasant sound.
Outback was close but the Golf was distinctly better, more satisfying sound.
Hyundai doesn’t care about the perceived quality of their cars. On a blind test, you would think you are handling a 10k$ used American small, badly maintained shitbox.
So I'd guess the same thing happening with Audi doors: They have the department, they could get the sound right, they just don't to save a few cents or so that some manager gets his way.
Back in the 1970s, there was a sort of "shared wisdom," that you could tell the quality of a car, by the sound of its door closing.
This became so prevalent, that car manufacturers spent a lot of effort, making sure that their doors "clunked" properly.
But I suspect your friend worked for a high-end manufacturer. They take that kind of thing to the next level (I used to work for a high-end camera company).
[EDIT] I see that it was Mercedes, which tracks.
However, they were also the strongest doors ever, surviving all the abuse by a lot of mindless university students.
Id say classic engineering offices/companies are sourced; there are tons of smaller engineering shops, specialized in whatever niche; e.g. I know a company supporting online subscription services in finding "the optimal price" for their subscriptions for different customer bucktes. So I would bet therefore that companies doing such things already exist.
When playing a violin, if you move up the fingerboard, the pitch of the string increases. But if instead of playing the string you knock on the body as if knocking on someone's front door, the main pitch of that knocking never changes. The sympathetic vibrations of the strings will have frequencies that vary as the finger position varies, and the brightness and RT60 of the reverberation through the wood will vary from knock to knock, but the fundamental frequency generally excited by the knock only changes if the violin's volumetric size changes, and it never will.
Maybe a drum is a better example than a violin, since it's "unpitched" and yet still gets tuned to have some fundamental frequency. Only the noisy stuff varies from hit to hit, and the fundamental frequency does not (until you re-tune, or from temperature/humidity changing).
While I understand this behavior from Apple in a user-first perspective and do find audio on mobile web to be annoying in most cases, an easy way to allow audio to play on an iPhone that isn't "use a desktop" seems to be flipping the hardware switch to turn off silent mode.
I'm not proud to admit it took 5 minutes of poking and a Google/Gemini search to figure that out...
After a lot of trial and error, I've taken to putting a button on any page I make that uses audio with the label "Click here to unmute". Have it play a silent audio clip when it's pressed. After that, audio works.
The UI on this page should work fine on ios if the big red play button simply plays audio directly via webaudio. Who knows how it's actually coded though. It looks like an LLM's work. Probably a mess.
Also, here's the author's AI policy: https://www.joshwcomeau.com/ai-policy/
They're also a somewhat active user here.
untill you get stuck in some CORS permissions nightmare like try to click through a link or expose iFrames etc this is as much W3C as it is Apple also big blocker for immersive web (webxr) permissioning just gets in the way
So anyone who wants to defy the reason for this limitation simply needs to lead the visitor to click something that doesn't reload the page? Instead of "unmute," maybe a throbbing "next" arrow or any innocuous link such as a menu item...
I wonder if some set of navigation-like things, such as doing a history.pushState() to change the address bar, cancels what this trick would otherwise achieve.
I would find it frustrating if my phone was set to silent and it played button noises on a website.
However, a bunch of 3rd-party apps misinterpreted the meaning of this signal, so for example, a number of popular games mute all of their audio when the silent switch is enabled, meaning I have to un-silence the ringer just to hear game audio.
RE: your solution - For iPhones with action buttons, can disable silent mode in control center.
None the less, very cool project, and satisfying to click around with! Could be a nice asset package to upload on https://itch.io/game-assets/tag-sound-effects
This might interest you as well: "Sound library cataloging 100 different keyboard switches: https://switchlab.app" (https://news.ycombinator.com/item?id=50164780)
https://mechvibes.com/u/dimitri-bouriez
Josh is credited and the MIT license is included in each pack.
I'm on CachyOS on an old Alienware PC.
What in the world could it possibly be doing in the background?? Is it a bad implementation of a react SPA? Since the entire site is stored in this 700kb JS file...
FYI, setting `navigator.audioSession.type` to `"playback"` will allow the sounds to play on iOS even when silent mode is on. (It defaults to `"ambient"`.)
On iOS versions below 16.4, this won't work as reliably; there are hacks you can do with `AudioContext`^[1] instead.
This is impressive, nice work, thanks for this contribution! A writeup on this process specifically could be intriguing. Just to clarify, I understand you've chosen to license the sounds themselves are under the MIT license?
Small nitpick - the CRT slider doesnt adjust a scanlines only the gun glow.
For me this website spins up the fans on my M4 Pro Mac mini when running it in Firefox Developer Edition.
Ironically, I think it's the "Whimsical Animations" ad banner.
Typically with samples you don't want a right channel pan embedded in to the file for example
Many others seem to not have any problems though…
Commenting as my bookmark.
https://www.youtube.com/shorts/o_n5W2I2p_M
Switch Courtesy of the Amsterdam Bakelite Collection:
https://www.amsterdambakelitecollection.com/collection.php
Majestic Stone Zen Garden Gorilla Courtesy of Boeddha Beelden: