All Projects â†’ GoogleChromeLabs â†’ Audioworklet Polyfill

GoogleChromeLabs / Audioworklet Polyfill

Licence: apache-2.0
🔊 Polyfill AudioWorklet using the legacy ScriptProcessor API.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Audioworklet Polyfill

Awesome Web Audio
A list of resources and projects to help learn about audio
Stars: ✭ 73 (-59.22%)
Mutual labels:  audio-processing, web-audio
glicol
(Audio) graph-oriented live coding language and music DSP library written in Rust
Stars: ✭ 853 (+376.54%)
Mutual labels:  webaudio, web-audio
fastidious-envelope-generator
Envelope generator (aka ADSR) for the Web Audio API that aims to be free of artifacts and handle edge cases well
Stars: ✭ 56 (-68.72%)
Mutual labels:  webaudio, web-audio
Io 808
An attempt at a fully recreated web-based TR-808 drum machine.
Stars: ✭ 576 (+221.79%)
Mutual labels:  webaudio, web-audio
Gs Wa Components
The audio code behind the GridSound's DAW
Stars: ✭ 38 (-78.77%)
Mutual labels:  webaudio, web-audio
Daw
GridSound (0.33.0) wants to be an open source online digital audio workstation following the new WebAudio API 🎛🎹🎵✨
Stars: ✭ 804 (+349.16%)
Mutual labels:  webaudio, web-audio
Jzz
MIDI library for Node.js and web-browsers
Stars: ✭ 325 (+81.56%)
Mutual labels:  webaudio, web-audio
Sonorous
Sonorous streamlines working with web audio, enabling easy audio integration into web apps and games.
Stars: ✭ 47 (-73.74%)
Mutual labels:  webaudio, web-audio
R Audio
A library of React components for building Web Audio graphs.
Stars: ✭ 129 (-27.93%)
Mutual labels:  audio-processing, web-audio
Spectrographic
Turn an image into sound whose spectrogram looks like the image.
Stars: ✭ 147 (-17.88%)
Mutual labels:  audio-processing
Sono
A simple yet powerful JavaScript library for working with Web Audio
Stars: ✭ 164 (-8.38%)
Mutual labels:  web-audio
Fsynth
Web-based and pixels-based collaborative synthesizer
Stars: ✭ 146 (-18.44%)
Mutual labels:  webaudio
Dtln
Tensorflow 2.x implementation of the DTLN real time speech denoising model. With TF-lite, ONNX and real-time audio processing support.
Stars: ✭ 147 (-17.88%)
Mutual labels:  audio-processing
Dynamicaudio.js
An interface for the Web Audio API with a Flash shim for older browsers
Stars: ✭ 164 (-8.38%)
Mutual labels:  webaudio
Guitar Tuner
Browser-based guitar tuner
Stars: ✭ 146 (-18.44%)
Mutual labels:  webaudio
Tonejs Instruments
A small instrument sample library with quick-loader for tone.js
Stars: ✭ 172 (-3.91%)
Mutual labels:  web-audio
Mediapipe
Cross-platform, customizable ML solutions for live and streaming media.
Stars: ✭ 15,338 (+8468.72%)
Mutual labels:  audio-processing
Python Pesq
PESQ (Perceptual Evaluation of Speech Quality) Wrapper for Python Users (narrow band and wide band)
Stars: ✭ 144 (-19.55%)
Mutual labels:  audio-processing
Awesome Deep Learning Music
List of articles related to deep learning applied to music
Stars: ✭ 2,195 (+1126.26%)
Mutual labels:  audio-processing
Wax
An experimental, JSX-compatible renderer for the Web Audio API
Stars: ✭ 171 (-4.47%)
Mutual labels:  web-audio

AudioWorklet Polyfill

AudioWorklet Polyfill npm

1kB polyfill for AudioWorklet.

audioworklet-polyfill is a tiny JavaScript library that brings AudioWorklet support to all major browsers: Chrome, Firefox, Safari and Edge. It uses ScriptProcessorNode under the hood, and runs your Worklet code in an isolated scope on the main thread (read why).

Basic Demo DSP Playground Demo

New to AudioWorklet? Check out this great Introduction and Demos or the AudioWorklet Examples.

Usage

<script src="audioworklet-polyfill.js"></script>
<!-- or: -->
<script src="https://unpkg.com/audioworklet-polyfill/dist/audioworklet-polyfill.js"></script>

Or with a bundler:

import 'audioworklet-polyfill';

... or with ES Modules on the web:

import('https://unpkg.com/audioworklet-polyfill/dist/audioworklet-polyfill.js');

Roadmap

  • Improve support for custom parameters

Why are Worklets emulated on the main thread?

This polyfill is intended to be a bridging solution until AudioWorklet is implemented across all browsers. It's an improvement over ScriptProcessorNode even though that's what it uses under the hood, because code written using this polyfill is forwards-compatible: as native support improves, your application improves. This polyfill offers a simple, future-proof alternative to ScriptProcessorNode without introducing Workers or relying on shared memory.

Similar Libraries

@jariseon has implemented a similar polyfill that uses Web Workers for audio processing.

License

Apache 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].