monochord-core
v5.5.1
Published
A low-level microtonal synth API
Downloads
57
Readme
monochord-core
A low-level microtonal synth API
What is this
The Monochord-Core library is aiming to ease mathematical calculations for musical apps, plus also add the necessary mathematical precision, that javascript lacks. The library is influenced by functional programming libraries and every function carries some beneficial properties because of it.
The library is using the Ramda for the necessary functional background, and Decimal.js for proper mathematical calculations.
Parts of the library
The library does not use classes, but provide a well organized set of functions. The functions were groupped into the following categories:
Math
This is the base of the whole library, this provides all the mathematical functions for the rest of the library. The rest of the library is using these functions, instead of the vanilla javascript operations.
Midi
Contains some helper functions to work with raw midi data, plus some constants for easier data management.
Convert
These set of functions allow conversion between musical units, for example cents and ratios.
Scala
These functions are designed to help parsing and creating scala .scl formatted files.
License
MIT