Package Exports
- modularscale
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (modularscale) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
modularscale
Calculate a modular scale
Idea from http://www.modularscale.com/
Install
npm install modularscale
Usage
var ms = require('modularscale');
// Defaults to using golden ratio
ms(1);
// --> 1.618
// Set desired ratio
ms(1, "minor second");
// --> 1.066
// See modularscale.com for the full list of preset ratios.
// You can also pass it any ratio you'd like.