Programming Field

js-synthesizer

js-synthesizer is a library that generates audio frames with Soundfonts, enabling playing MIDI sequence on the web site or etc.

日本語版の説明ページはこちら

[Update 2023/01/02: Fixed a bug that some browsers cannot play the music with sample.js. / Updated libfluidsynth.js to able to use SF3 files]

Demo

Soundfont:

SMF file:

Status: Stopped

* Soundfont ‘ChoriumRevA’ (Chorium Revision A) by openwrld (openwrld@kebi.com) is used for this demo.
* Preparing may take seconds because of downloading Soundfont (27.5MiB)

Source code for this demo

Install

Distributed as a npm package.

npm install --save js-synthesizer

libfluidsynth, depended by js-synthesizer, is included in the package. Please note that the license of libfluidsynth is different from the one of js-synthesizer.

Usage

Please see README.md of js-synthesizer.

Source code

https://github.com/jet2jet/js-synthesizer

License: BSD 3-Clause License (except for the files in externals directory)