ad-si / fluidnode

Node.js bindings for the FluidSynth software synthesizer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Node.js bindings for the FluidSynth software synthesizer.


Languages

Language:TypeScript 82.9%Language:Makefile 17.1%