fluidnode

0.3.0 • Public • Published

FluidNode

FluidNode is a Node.js wrapper for the FluidSynth software synthesizer.

Installation

npm install fluidnode

Usage

Require FluidNode in your files like this:

import { renderFile } from "fluidnode"

const wavBuffer = await renderFile(
  filePath, // Path to MIDI file to get rendered
  options,  // Set gain and alternative soundfont path (both optional)
)

Default soundfont is GeneralUser.

Check out the [test/main.ts] file for a complete example.

Development

Check out the makefile for available commands.

Readme

Keywords

Package Sidebar

Install

npm i fluidnode

Weekly Downloads

8

Version

0.3.0

License

MIT

Unpacked Size

4.98 kB

Total Files

3

Last publish

Collaborators

  • adius