Use-sound
Dev tools
react hook library
SHOW HN2020
How HN took it
5 positive, 9 neutral or asking, 0 mixed, 5 critical, out of 19 comments about the project. Thread score -0.01.
Design: 3 for, 3 againstIdea: 2 for, 1 againstPerformance: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Nice showcase website and design
From 3 comments
I've been following your site for a few weeks, and I just love it. The design, the writing, the interactive examples, the little sounds... it's all so thoughtful! I'm thinking of…
mtm7 on HNReally cool. Also, the showcase website is made really well, kudos.
spidersandstuff on HNThis is really cool & you have a great website! The one thing I don’t quite understand is why this needs to be a React hook per se - couldn’t it just be a normal library function…
jacobsimon on HN
Fun for building small games with sound
From 2 comments
God forbid I want to create a little game with sound effects using React. This is a great little tool!
hazz99 on HNYeah! And I love that we can explore every nook and cranny without a lot of "oh wow why would you ever want this?!" Stuff like this is super useful for the countless non-standard…
Waterluvian on HN
Objections
Sound on the web is annoying and hostile to users
From 3 comments
This is cool but, oh boy, a mute button that makes a sound when you click it is user hostile.
timharding on HNI wish I could think of a leveled way to speak my mind but gosh, there's something about all this that really makes me want to throw up. The idea of adding a tiny little button…
d33 on HNI run all tabs muted by default - I find sound effects on the web to be rather frustrating. Especially combined with autoplay.
xfitm3 on HN
Mute button that plays a sound is user hostile
From 1 comment
This is cool but, oh boy, a mute button that makes a sound when you click it is user hostile.
timharding on HN
Requests
Source code is hard to find in the npm package
From 1 comment
I was hoping to see the source for the lib, but I can't find it in the npm package listing. Anyone manage to track it down?
desert_boi on HN
Questions
Why it must be a hook rather than a plain function
From 1 comment
This is really cool & you have a great website! The one thing I don’t quite understand is why this needs to be a React hook per se - couldn’t it just be a normal library function…
jacobsimon on HN
Concurrent mode behavior of volume updates in effects
From 1 comment
Not to nitpick, but I'm wondering about the tradeoffs of adjusting volume/playback rate in an effect (https://github.com/joshwcomeau/use-sound/blob/master/src/index.ts#L75). I'm…
bennyg on HN
Why return values are in an array
From 1 comment
Could some one clarify for me why the consts for the useSound() are declared inside an array? const [play] = useSound()
vcoelho on HN
Does not work on iOS Safari
From 1 comment
Ok not working on iOS safari for me, but that’s not your fault... I had a howler based app that seemed to work 6 months ago and after some update stopped working on iOS (no more…
quickthrower2 on HN
Alternatives named
Howler library
From 1 comment
Ok not working on iOS safari for me, but that’s not your fault... I had a howler based app that seemed to work 6 months ago and after some update stopped working on iOS (no more…
quickthrower2 on HN
CSS-only or emoji approaches
From 2 comments
Is there a way to do all of this with CSS only ?
bestouff on HNOr emojis?
quickthrower2 on HN