All Projects → mdn → Webaudio Examples

mdn / Webaudio Examples

Licence: cc0-1.0
Code examples that accompany the MDN Web Audio documentation

Projects that are alternatives of or similar to Webaudio Examples

xenpaper
Repo for xenpaper.com
Stars: ✭ 25 (-95.76%)
Mutual labels:  webaudio
Essentia.js
JavaScript library for music/audio analysis and processing powered by Essentia WebAssembly
Stars: ✭ 294 (-50.08%)
Mutual labels:  webaudio
Taro
A lightweight 3D game engine for the web.
Stars: ✭ 345 (-41.43%)
Mutual labels:  webaudio
pitch-shifter-chrome-extension
Chrome extension that pitch shifts videos on a page using web audio
Stars: ✭ 21 (-96.43%)
Mutual labels:  webaudio
vult
Vult is a transcompiler well suited to write high-performance DSP code
Stars: ✭ 316 (-46.35%)
Mutual labels:  webaudio
Eternal
👾~ music, eternal ~ 👾
Stars: ✭ 323 (-45.16%)
Mutual labels:  webaudio
old-time-radio
An internet radio station streaming classic shows from the Golden Age of Radio
Stars: ✭ 19 (-96.77%)
Mutual labels:  webaudio
Recorder
html5 js 浏览器 web端录音
Stars: ✭ 429 (-27.16%)
Mutual labels:  webaudio
Vult
Vult is a transcompiler well suited to write high-performance DSP code
Stars: ✭ 272 (-53.82%)
Mutual labels:  webaudio
Jzz
MIDI library for Node.js and web-browsers
Stars: ✭ 325 (-44.82%)
Mutual labels:  webaudio
canopy
Web Audio API programming/debugging suite
Stars: ✭ 67 (-88.62%)
Mutual labels:  webaudio
muzikilo.js
A code driven synth for the browser
Stars: ✭ 20 (-96.6%)
Mutual labels:  webaudio
Scribbletune
Create music with JavaScript
Stars: ✭ 3,509 (+495.76%)
Mutual labels:  webaudio
musicplayer-api
Simple wrapper around Web Audio API providing gapless playback
Stars: ✭ 16 (-97.28%)
Mutual labels:  webaudio
Awesome Webrtc
A curated list of awesome WebRTC modules and resources.
Stars: ✭ 395 (-32.94%)
Mutual labels:  webaudio
birds
Bird Sound Synthesis based on AM+FM
Stars: ✭ 46 (-92.19%)
Mutual labels:  webaudio
Virtual Audio Graph
🎶 Library for declaratively manipulating the Web Audio API
Stars: ✭ 299 (-49.24%)
Mutual labels:  webaudio
Io 808
An attempt at a fully recreated web-based TR-808 drum machine.
Stars: ✭ 576 (-2.21%)
Mutual labels:  webaudio
Jsnes Web
A browser UI for JSNES, a JavaScript NES emulator
Stars: ✭ 398 (-32.43%)
Mutual labels:  webaudio
Melonjs
a fresh & lightweight javascript game engine
Stars: ✭ 3,721 (+531.75%)
Mutual labels:  webaudio

webaudio-examples

Code examples that accompany the MDN Web Audio documentation https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API

Audio analyser

The audio-analyser directory contains a very simple example showing a graphical visualization of an audio signal drawn with data taken from an AnalyserNode interface. Run the demo live.

Audio basics

The audio-basics directory contains a fun example showing a retro-style "boombox" that allows audio to be played, stereo-panned, and volume-adjusted. Run the demo live.

Audio buffer

The audio-buffer directory contains a very simple example showing how to use an AudioBuffer interface in the Web Audio API. Run the demo live.

Audio param

The audio-param directory contains some simple examples showing how to use the methods of the Web Audio API AudioParam interface. Run example live.

Audio context states

The audiocontext-states directory contains a simple demo of the new Web Audio API AudioContext methods, including the states property and the close(), resume(), and suspend() methods. Run the demo live.

Compressor example

The compressor-example directory contains a simple demo to show usage of the Web Audio API BaseAudioContext.createDynamicsCompressor() method and DynamicsCompressorNode interface. Run the example live.

Create media stream destination

The create-media-stream-destination directory contains a simple example showing how the Web Audio API AudioContext.createMediaStreamDestination() method can be used to output a stream - in this case to a MediaRecorder instance - to output a sinewave to an opus file. Run the demo live.

Decode audio data

The decode-audio-data directory contains a simple example demonstrating usage of the Web Audio API BaseAudioContext.decodeAudioData() method. View example live.

IIR filter node

The iirfilter-node directory contains an example showing usage of an IIRFilterNode interface. Run the demo live.

Media source buffer

The media-source-buffer directory contains a simple example demonstrating usage of the Web Audio API AudioContext.createMediaElementSource() method. View the demo live.

Multi track

The multi-track directory contains an example of connecting separate independently-playable audio tracks to a single AudioDestinationNode interface. Run the example live.

Offline audio context

The offline-audio-context directory contains a simple example to show how a Web Audio API OfflineAudioContext interface can be used to rapidly process/render audio in the background to create a buffer, which can then be used in any way you please. For more information, see https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext. Run example live.

Offline audio context promise

The offline-audio-context-promise directory contains a simple example to show how a Web Audio API OfflineAudioContext interface can be used to rapidly process/render audio in the background to create a buffer, which can then be used in any way you please. Run the example live.

Output timestamp

The output-timestamp directory contains an example of how the AudioContext.getOutputTimestamp() property can be used to log contextTime and performanceTime to the console. Try the demo live.

Panner node

The panner-node directory contains a demo to show basic usage of the Web Audio API BaseAudioContext.createPanner() method to control audio spatialization. Run the example live.

Script processor node

The script-processor-node directory contains a simple demo showing how to use the Web Audio API's ScriptProcessorNode interface to process a loaded audio track, adding a little bit of white noise to each audio sample. See the live demo.

Spacialization

The spacialization directory contains an example of how the various properties of a PannerNode interface can be adjusted to emulate sound in a three-dimensional space. For more information see Web audio spatialization basics. Try the live demo.

Step sequencer

The step-sequencer directory contains a simple step-sequencer that loops and manipulates sounds based on a dial-up modem. For more information see Advanced techniques: creating sound, sequencing, timing, scheduling. See the live demo also.

Stereo panner node

The stereo-panner-node directory contains a simple example to show how the Web Audio API StereoPannerNode interface can be used to pan an audio stream. Run the example live.

Stream source buffer

The stream-source-buffer directory contains a simple example demonstrating usage of the Web Audio API AudioContext.createMediaElementSource() method. View example live.

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].