Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PatrickWolleb/SoundFontJS
Node JS CLI for creating MIDI.JS ready sound fonts.
https://github.com/PatrickWolleb/SoundFontJS
Last synced: 25 days ago
JSON representation
Node JS CLI for creating MIDI.JS ready sound fonts.
- Host: GitHub
- URL: https://github.com/PatrickWolleb/SoundFontJS
- Owner: PatrickWolleb
- Created: 2013-03-17T12:53:18.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-03-19T16:41:29.000Z (over 11 years ago)
- Last Synced: 2024-11-07T19:11:51.699Z (about 1 month ago)
- Language: JavaScript
- Size: 3.53 MB
- Stars: 37
- Watchers: 8
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-javascript-audio - PatrickWolleb/SoundFontJS - Node JS CLI for creating MIDI.JS ready sound fonts (Sound assets / SoundFonts)
README
SoundFontJS
===========Node JS CLI for creating MIDI.JS ready sound fonts. The tool converts high quality wav files to sound font js files compatible with [MIDI.js](https://github.com/mudcube/MIDI.js). It allows the use of Pro DAWs like Logic, Cubase etc. to create nicer sounds than what sound font synths can produce.
##Dependencies:
Make sure you have the following dependencies installed on your system.
- [oggenc](http://www.rarewares.org/ogg-oggenc.php)
- [lame](http://lame.sourceforge.net/)##Setup
`npm install sfjs -g`
##Usage
Run `ulimit -n 10000` to prevent memory allocation issues.
Run `sfjs`.
By default the program will look for a font.wav file in CWD and output the files in CWD/acoustic_grand_piano/. The default GM output instrument is acoustic_grand_piano.The source audio file should be a high quality PCM encoded .wav file.
It contains all the notes of a instrument in 2 second intervals.
The lowest note should start at A-1 and continue 8 octaves.Options:
-h, --help output usage information
-p --progress hide progress bar defaults to false
-s --source source audio file
-o --output output instrument name defaults "acoustic_grand_piano"
-b --build build directory defualts to CWD
-l --min minimum bit rate defaults to 64 Kbit/sec
-h --max maximum bit rate defaults to 128 Kbit/sec