Skip to content

kmturley/sfizz-webaudio

 
 

Repository files navigation

sfizz WebAudio/WebMidi demo

Live demo (requires Chrome or one of its derivatives): https://sfz.tools/sfizz-webaudio/

This repository contains a HTML/Javascript/WebAssembly front-end for sfizz, which allows prototyping of virtual instruments in the SFZ format. Right now only generators and embedded sample files are supported. This uses the emscripten branch off my sfizz's fork, available here. Compared the main sfizz branch, the background loader is deactivated and all files are loaded in memory (since WebAssembly through browsers only allows access to a virtual file system).

Building

This assumes you have the emsdk installed and activated.

mkdir build
cd build
emcmake cmake -DCMAKE_BUILD_TYPE=Release ..
make -j

From the build directory, you may then host the result on localhost:8000 using python as

python3 -m http.server --directory ..

About

sfizz as a WebAudio library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 90.9%
  • C++ 5.1%
  • HTML 2.0%
  • CSS 1.5%
  • CMake 0.5%