wasgen
webaudio-examples
wasgen | webaudio-examples | |
---|---|---|
4 | 39 | |
70 | 1,192 | |
- | 1.2% | |
2.6 | 5.1 | |
11 months ago | about 1 month ago | |
JavaScript | HTML | |
- | Creative Commons Zero v1.0 Universal |
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.
wasgen
-
Web FM synthesizer made with HTML5
Very neat, though I got prominent clicks and artifacts in both chrome and firefox.
If anyone's interested, some years ago I made a wrapper library for things like this, to wallpaper over the famously hairy WebAudio synthesis API. Basically you pass in a static object describing the audio graph and parameters you want, and the lib creates the WebAudio nodes and then cleans them up after the sound releases.
https://github.com/fenomas/wasgen
-
Elementary Audio: a modern platform for writing high performance audio software
I work on this space a lot, and maintain a couple of libraries you might be interested in. They are very much focused on light quick "good enough" web audio music/sound effects.
https://github.com/fenomas/wasgen - a declarative abstraction layer around web audio oscillators and filters
https://fenomas.github.io/wafxr/ - a GUI front-end demo for the previous
-
Octave Compass
You might try wasgen, which I maintain. Basically you pass it an object that describes your audio graph, and a frequency/duration/volume, and it creates/disposes all the audio nodes.
https://github.com/andyhall/wasgen
Making the sound program objects isn't trivial if you're unfamiliar with low-level audio, but the live demo has examples for all MIDI instruments: https://andyhall.github.io/wasgen/
webaudio-examples
-
How to Create an Audio Visualizer using Nextjs
In this article, we'll explore three essential terms in the Web Audio API for our project. For more in-depth information, visit MDN Docs.
-
Mobile Web Audio: Removing Media Controls from Notifications Tray
Exhausted and having tried out various approaches without much success, I decided to give Web Audio API a try. While it appeared slightly harder to work with, I was frankly running out of options. All that said, moving from HTML5 Audio to Web Audio API involved quite a fair bit of changes and experimentation.
-
Tone.js and the Web Audio API
MDN Web Audio Doc
-
Web FM synthesizer made with HTML5
I found the wikipedia article [1] on the subject to be helpful to understand a little bit whats going on here.
I wonder if there's more performant wasm implementations that can interface with the WebAudio API [2]? Quick search brings up things like [3]
[1] https://en.wikipedia.org/wiki/Frequency_modulation_synthesis
[2] https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_A...
[3] https://github.com/a-cordier/wasm-audio
-
Creating a Cyberpunk-Themed Music Player with React, Web Audio API, and Canvas
Feel free to refer to the official documentation to learn more about the Web Audio API.
-
JavaScript Web APIs Series: Audio and Video APIs
You can see details on how to implement this API in your application, including the interfaces that it extends, the necessary permissions, browser compatibility, and much more on its MDN page.
-
Generating sound in modern Web Audio API
As part of my effort to remake my old Artsy demo in more modern JavaScript, I decided to start with the music player. The original Amiga demo from 1993 used the SoundTracker MOD format, but my remake from 2013 uses an MP3 file, which was a bit of a cheat. Playing an MP3 is efficient and requires almost zero code, but it's not very interesting. Also, it requires loading several megabytes of data. So I decided to try to make a MOD player from scratch, using only the Web Audio API
-
How to Use Rust Code in a JavaScript Worklet (Without wasm-pack)
After taking a good look through the Web Audio API documentation, I decided that the best way for my synthesizer to output sound to the speakers was through the use of the AudioWorkletNode combined with an AudioWorkletProcessor. This combination of two nodes would allow me to generate audio in a background thread which could then be played through the speakers.
- I want to recreate this piano website
-
Introduction to Web Audio API
Let us take a look at various concepts behind Web Audio API.
What are some alternatives?
beepbox - An online tool for sketching and sharing instrumental melodies.
butterchurn - Butterchurn is a WebGL implementation of the Milkdrop Visualizer
elementary - A JavaScript runtime for writing native audio applications, as well as a library and framework for composing audio signal processes.
standardized-audio-context - A cross-browser wrapper for the Web Audio API which aims to closely follow the standard.
vst-rs - VST 2.4 API implementation in rust. Create plugins or hosts. Previously rust-vst on the RustDSP group.
audioworklet-polyfill - 🔊 Polyfill AudioWorklet using the legacy ScriptProcessor API.
vst3sdk - VST 3 Plug-In SDK
particle-emitter - A particle system for PixiJS
fundsp - Library for audio processing and synthesis
emsdk - Emscripten SDK
react-juce - Write cross-platform native apps with React.js and JUCE
sound - WebAudio API playback library, with filters. Modern audio playback for modern browsers.