hckrnws
Button Sounds – collection of professionally-recorded button clicks and presses
by gaurang_tandon
by gaurang_tandon
My conjecture is that we drastically underestimate the importance of using "sensory complete" interfaces. So yeah. A button should click.
I don't think the problem you're describing has anything to do with the sensing method. You can use capacitive touch with or without haptic feedback, with or without audible alert and with or without big latencies. There are even mechanical switches using capacitive sensing. The latency is undistinguishable from a mechanical button at the input layer. What Interface designers do afterward with that may be a different story.
The issue you likely have is just bad interface design. E.g. a button that does not give any clear and immediate feedback about its state, touchable areas that are not clearly marked as such l, don't have any haptic limits or may even move around (like on a screen).
I have a controller (for audio mixing) with motor faders whose caps use capacitive touch to recognize whether I am in control to change faders or whether the computer is. That is again the same tech, but it is pretty much an improvement on old dumb faders where I had to literally write down numbers and manually recreate settings each time. Here rhe invisible nature of capacitive touch means it pretty much "just works", as should all well designed interfaces.
Deaf drivers have no access to the audio cues and don't appear to have any difficulty
As a former motorcyclist - I soon learnt to look down and check my dashboard as part of my awareness of state
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...
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?
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:
https://mechvibes.com/u/dimitri-bouriez
Josh is credited and the MIT license is included in each pack.
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)
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...
This is common issue with LLM webpages and using huge CSS blurs / etc for things like the CRT mask etc. If your browser is not GPU accelerated it will be horrifically slow and laggy and there is no fallback.
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.
Feature request: deep linking of sound configurations. I'd love to be able to send someone a URL and it would contain enough info to configure the same sound when they load the URL. I guess this would also let people bookmark/save their favorite sounds.
Typically with samples you don't want a right channel pan embedded in to the file for example
Some the worst offenders imo can be short form video that throw in obnoxious "asmr-like" noises into every single interaction, its like please, dont.
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.
Small nitpick - the CRT slider doesnt adjust a scanlines only the gun glow.
[dead]
Commenting as my bookmark.
I use the HN profile links to posts I have upvoted or marked as a favorite.
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.
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
[dead]
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.
[deleted]
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.
With a timer or alarm, I explicitly want to be interrupted so those break through.
With music or a video that I’m explicitly starting, I want I to break through.
For anything else that may be background noise that I’m not expecting, like any auto-play music/videos in the browser, sound effects, phone calls, texts, and game noise… I want it to respect the silent switch.
We’ve all seen, or been, the person who opens something on our phones in a public place that is quiet, to have the phone start playing something unintentionally. It can often be rather embarrassing. A silent switch with broad application prevents almost all of this.
I understand where you’re coming from, and I think it would require a separate switch. One for the ringtone, and one for the idea I’m talking about. But this might get even more confusing for the users.
If there is a game you play often that you want audio for, a shortcut could be setup to automatically turn silent mode on/off when the app is opened or closed. I was looking to see if there was a game mode trigger to apply more broadly, but it doesn’t look like it.
I do see an option in the Sound & Haptics settings to match Alerts and System Sounds to the ringtone volume. I wonder if turning that off would move the silent switch to a pure ringtone mute, like you want? It’s worth a shot.
RE: your solution - For iPhones with action buttons, can disable silent mode in control center.
Also stereo is not a good choice for such a recording, as the only thing that has a real stereo-effect with a sound source are the room reflections (reverberation) and that is highly dependent on the room setup. So typically such sounds are recorded in mono with a good low noise microphone at a reasonably close distance (taking care of the proximity effect of that particular microphone model).
Doing a stereo recording of what essentially is a mono source has some downsides, e.g. the precision of the transient response is reduced and there can be phase issues between the two vibrating membranes of the microphone. On the other hand the random noise of the two microphones adds by +3dB per additional mic while the signal will add by +6dB, if we assume perfect phase alignment. That means less noise.
If you then want spatialization, you typically add reverb, delay, panning, etc by taste/need afterward for such sources.
For your own recordings the most important points are:
- Having an acoustically treated room helps to record without room reflections
- Having a sound proofed room helps to record less of the outside world (note: acoustic foam does NOT help with soundproofing, here only mass and decoupling helps, solid doors, concrete walls, ...)
- put the mic as close as sounds natural, the closer you are to the sound source, the louder that source is in comparison to all the other sounds entering the mic
- if you don't have total crap equipment the above points are much more important than the gear. The best mic will sound bad in the wrong position in the wrong room
[deleted]
It basically lets you pick an IDE and a computer (5150, Apple II, etc), then hit the screensaver button. It randomly pulls source files from GitHub and types them out for infinite programmer ASMR. It also has a writing mode where you can listen to the sound of somebody writing out a book with a quill pen.
I'm on CachyOS on an old Alienware PC.
[dead]
[deleted]
Many others seem to not have any problems though…
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
[dead]
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.
[dead]
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.
[deleted]
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.
However, they were also the strongest doors ever, surviving all the abuse by a lot of mindless university students.
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.
[deleted]