Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/montyanderson/soundfont-parser
JS parser for SoundFont files.
https://github.com/montyanderson/soundfont-parser
Last synced: 3 months ago
JSON representation
JS parser for SoundFont files.
- Host: GitHub
- URL: https://github.com/montyanderson/soundfont-parser
- Owner: montyanderson
- License: mit
- Created: 2017-09-06T11:43:38.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-06T11:50:19.000Z (about 7 years ago)
- Last Synced: 2024-06-30T23:53:00.857Z (4 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-javascript-audio - montyanderson/soundfont-parser - soundfont parser that gets the detais/contents of .sfz files (Sound assets / SoundFonts)
README
# soundfont-parser
JS parser for SoundFont files.## Usage
``` javascript
const fs = require("fs");
const soundfontParser = require("soundfont-parser");const file = fs.readFileSync(`${__dirname}/soundfont.sfz`, "utf8");
console.log(soundfontParser(file));
``````
...
pitchlfo_freq: '8.176',
fil_type: 'lpf_2p',
cutoff: '19914' },
{ regions:
[ [Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object] ],
lokey: '0',
hikey: '127',
lovel: '0',
hivel: '127',
loop_mode: 'no_loop',
ampeg_attack: '0.001',
amplfo_freq: '8.176',
fillfo_freq: '8.176',
pitchlfo_freq: '8.176',
fil_type: 'lpf_2p',
cutoff: '19914' } ]
```