howler.js
use-sound
howler.js | use-sound | |
---|---|---|
39 | 8 | |
23,079 | 2,537 | |
- | - | |
2.7 | 0.0 | |
about 1 month ago | about 2 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
howler.js
- Howler JavaScript – Audio library for the modern web
-
Interactive articles with audio on click/hover?
I don’t have any references on hand but I know what you’re talking about and have created similar stuff using https://howlerjs.com
-
Need help with unexpected state
Hi /r/react. I'm fairly new to react and I can't quite figure out what I'm doing wrong here. Hoping someone can help point me in the right direction. I've built a web-based audio player that pulls tracks from a secure backend, and uses howler.js to play the audio.
-
Image Clicking Plays Sound
Take a look at the howler library.
-
Spice Up Your Svelte App with Sound Interactions using svelte-sound 😎
Lightweight and performant: It uses only the core of howler.js, a popular JavaScript audio library for the modern web. Howler.js handles all the edge cases and bugs across browsers and platforms, supports all codecs for full cross-browser compatibility, and caches sounds for better performance.
-
What is the best method fast / low latency method of repeatedly triggering a sound on keypress?
https://github.com/goldfire/howler.js Howler is a nice high level wrapper for the web audio api. I’ve found it to work well for similar cases
-
Simple way to play audio from URLs? (to help kids with language difficulties)
Open Prompt from js import alert, prompt, localStorage, window, confirm, Audio import time import random import re horn = Audio.new("https://github.com/goldfire/howler.js/blob/master/examples/3d/assets/sprite.mp3?raw=true") def promptMe(): user_answer = str(prompt("play? (yes) or (no)")) if user_answer.lower() == 'yes': horn.play() print('yes') print('end')
-
Getting Started with PyScript [2023]
horn = Audio.new("https://github.com/goldfire/howler.js/blob/master/examples/3d/assets/sprite.mp3?raw=true")
-
Ask HN: Those making $0/month or less on side projects – Show and tell
Thanks. The spatial audio is just a feature of the excellent https://howlerjs.com/.
But I added MIDI keyboard support to the secret fart piano recently and thus Firefox throws up a scary warning. It's now disabled unless you access https://frt.rip#midi. But you can also use your computer keyboard to play/fart a little tune, see Web Inspector for instructions :)
-
I want to make a web music player in java script but I don't know where to store music files and how to play them on client. What should I use?
When it comes to playing music in the Browser my go to library is https://howlerjs.com/. It uses Web Audio API and falls back to HTML5 Audio in older browsers.
use-sound
-
[Question]: Play sounds inside useEffect in a multiplayer online game
As some of you may know, sounds can only be played back after the user has interacted with the document. And this seems to be exactly where it is becoming tricky. I tried a very promising library called use-sound. However as it turns out it is currently impossible to trigger a sound effect on useEffect with this, as tracked in this issue: https://github.com/joshwcomeau/use-sound/issues/100. Somehow it works whenever the dev server hot reloads - and then it is really snappy, but I can't make it work on initial page load.
-
Building a Music Player in React
use-sound: This will handle the audio file. It will load, play, and pause the audio along with other features.
-
Chrome does not allow meadi autoplay since 2018 - but some websites are still able to do it. How?
However, after a lot of experimenting, I was able to play a sound in chrome when I explicitly enabled sound for our url in the chrome site settings, but only as long as the tab was in focus it would play. I was using this react library to do so: https://www.npmjs.com/package/use-sound you can find a proof of concept on the developers website: https://www.joshwcomeau.com/react/announcing-use-sound-react-hook/ if you scroll a bit down there will be a few things you can click that will trigger a sound - but all of them requires a browser event!
-
Best audio handling library for React in 2022?
use-sound
-
How to play sound on button click in Next.js app?
I found this use-sound package for react when I'm trying to import audio file I'm getting this error. Cannot find the .mp3 file.
-
How to reproduce Death Stranding UI with react and react-three-fiber
For the sounds part we’re going to create a sound manager component using useSound hook from Joshua Comeau. After that, we’re going to put our sound functions newly-created into our state so that we can everywhere in the app.
-
The Only React Hook for Sound Effects You Will Ever Need
sprite allows you to use a single useSound hook for multiple sound effects. See “Sprites” below.
What are some alternatives?
tonejs-instruments - A small instrument sample library with quick-loader for tone.js
gltf-pipeline - Content pipeline tools for optimizing glTF assets. :globe_with_meridians:
meyda - Audio feature extraction for JavaScript.
react-three-fiber - 🇨🇭 A React renderer for Three.js [Moved to: https://github.com/pmndrs/react-three-fiber]
waveform-playlist - Multitrack Web Audio editor and player with canvas waveform preview. Set cues, fades and shift multiple tracks in time. Record audio tracks or provide audio annotations. Export your mix to AudioBuffer or WAV! Add effects from Tone.js. Project inspired by Audacity.
awesome-react-three-fiber - 🍕 A loose collection of cool r3f links, gifs, people, stuff
camilladsp - A flexible cross-platform IIR and FIR engine for crossovers, room correction etc.
react-sound - Sound component to play audio in your web apps
harlowe-audio - An audio library for use with the Twine 2 story format Harlowe (v2.x or higher).
death-stranding-ui - Death Stranding UI made in React
scrollreveal - Animate elements as they scroll into view.
gltfjsx - 🎮 Turns GLTFs into JSX components