Skip to content

sebpiq/waa-benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Audio API benchmarks

GO GO

A series of (not)automated benchmarks for testing the performance of different options of doing sound synthesis in the browser :

  • Using native Web Audio API nodes
  • ScriptProcessorNode and JavaScript DSP in the main thread
  • ScriptProcessorNode and JavaScript DSP in one web worker
  • ScriptProcessorNode and JavaScript DSP in several web workers
  • ScriptProcessorNode and WebAssembly DSP in the main thread

At the moment there are only tests with oscillators, and it would be interesting to try different operations, such as interpolated buffer playback, etc ...

To build the web assembly code, install the compiler and run:

cd wasm_dsp
./compile.sh

About

A series of benchmarks to test performance of native Web Audio VS JavaScript DSP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published