Description
WebAudioFont is a JavaScript library and set of instrument resources for playing music in the browser using sample-based synthesis. It covers the full General MIDI set of instruments, with thousands of instrument samples in its catalog, and can play single notes, chords, strums, drum sounds, sound effects and whole MIDI files. It also supports reverberation, an equalizer, a mixer and custom AHDSR envelopes. It runs in plain HTML5 with no plugins or Flash, on desktop and mobile browsers. To use it, you add WebAudioFontPlayer.js and an instrument file to a page and call queueWaveTable; instruments can also be loaded dynamically, and there are notes on use with React. Examples include a virtual piano, drums, a MIDI keyboard, a MIDI player and a piano roll editor. It suits developers adding virtual instruments, generated music or sound effects to web apps.…
Highlights
- Full General MIDI instrument set with a large sample catalog
- Play notes, chords, strums, drums and MIDI files
- Reverb, equalizer, mixer and AHDSR envelopes
- Pure HTML5, works in desktop and mobile browsers
- Dynamic instrument loading and ReactJS usage notes
Ratings & Reviews
No ratings yet
Be the first to rate Webaudiofont.
People also visit
Chip Player JS
Web-based music player for a variety of video game and chiptune music formats
Webaudiofont FAQ
What is WebAudioFont?
A browser library and instrument collection that plays General MIDI instruments, notes and effects using sample-based synthesis.
Does it need a plugin?
No. It is a pure HTML5 implementation that works in desktop and mobile browsers without plugins or Flash.
How do I play a note?
Include WebAudioFontPlayer.js and an instrument file, then call queueWaveTable. Use queueChord, queueSnap, queueStrumDown or queueStrumUp for chords.
What can I build with it?
Virtual instruments, music generated on the fly and sound effects for other apps. Examples include a piano, drums, a MIDI player and a piano roll editor.
What license is it under?
See LICENSE.md in the repository; the author can be contacted for a different license.
What are the best Webaudiofont alternatives?
Popular alternatives to Webaudiofont include Html Midi Player, Wad and Web Synth. See all Webaudiofont alternatives



