Skip to content

jariseon/yoshimi

 
 

Repository files navigation

yoshimi

This repo contains a headless yoshimi soft synth for web browsers. Forked from upstream yoshimi, and ported to Web Assembly. My goal was to produce as minimal changes to the original codebase as possible, and manage the port using #ifdefs and stub header dependencies. KissFFT and mxml bitcode files are linked in from the build folder.

online demo

building on osx

cd wam/build
sh build.sh

The build script produces yoshimi.wasm and yoshimi.js files, and moves them to wam/dist/worklet folder. yoshimi.wasm is the web assembly binary, and yoshimi.js contains its supporting glue code. Build process relies on emscripten wasm toolchain. Be sure to add emscripten tools directory (i.e., the one containing emmake) to path before running the yoshimi build script.

running

wam/dist folder contains a pre-compiled distribution. Simply copy the presets from repository root banks folder into wam/dist/banks, serve the files with a localhost, and browse to wam/dist/index.html for a sweet sonic experience.

credits

license

Yoshimi is GPL-2.0, WAMs and audioworklet-polyfill are under MIT. Please click the links above for other library licenses.

Packages

No packages published

Languages

  • C++ 97.8%
  • CMake 1.3%
  • Other 0.9%