> Frustratingly, browsers can decide to block a website from playing any sound. iOS Safari seems particularly strict about this. So, if you’re not hearing a click sound when tapping the big red button, please check out this website on a desktop computer.
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 really cool. I have a suggestion, though: the samples within a button seem to have several modification types including a pitch shifter. For example, "DOWN4" under the "Multi-sampled sounds" heading sounds nearly a semitone lower than the other DOWN variants. I suggest eliminating all pitch shifting (or at least confining your use to a few cents), leaving only timbre variation. Go nuts creating variation through EQ, distortion, formant shifting, reflections/delay/reverb, etc. but keep the pitch locked. Why? Because the pitch of everything in this world is based on its resonant frequency, which is based on the size of whatever can vibrate, and in the case of a button it's resonating based on the size of the button. Many aspects of the sound would change based on things like how quickly the button is pushed or how much dampening the finger pushing it imparts, but the fundamental pitch is not one of them.
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).
This is so neat! I've been wanting to make more like tactile user interfaces for web apps and the like. Looking forward to playing around with these sounds!
This is extremely satisfying, a total joy to play around with and a huge resource for people who like clicky button sounds! Thank you for putting it together!
I've never seen a Josh Comeau project that isn't polished to 110%.
Thats awesome! Great work there and very polished. The live sounds combinations monitor is very cool. Even the Winamp player brings back a lot of memories!
> Frustratingly, browsers can decide to block a website from playing any sound. iOS Safari seems particularly strict about this. So, if you’re not hearing a click sound when tapping the big red button, please check out this website on a desktop computer.
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.
Awesome, I've always wanted to build a web UI with some nice clunky toggle switches, if I ever get around to it I might use some of these samples.
This is phenomenal and very thoughtful to offer for free. The varying in the up and down really does make it.
actually this is been almost 10-20 years since where the website felt messy and vibing with sounds and effects, but really the work brought me back to past. We will definitely try to use this work.
The sounds with multiple samples are very nicely done.
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.
No sound whatsoever in iOS
it a very cool site
> The sounds were recorded in the same sound-treated room using a Zoom H4 recorder, with additional processing to remove noise in Adobe Audition. The only exceptions are synth-on and synth-off, which were created digitally using the Current VST synth. All sounds are stereo.
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?
I hope more are added, would love to hear some toggles switches.
Very nice!
Commenting as my bookmark.
Very cool, the sound quality is great and the attention to detail is something to commend.
IPO when?
Industrial Bakelite Klunky Resonating Rotating Springy Switch Sounds:
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:
[flagged]
OT:
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.