Calculate a modular scale
Idea from http://www.modularscale.com/
npm install modularscale
varms=require('modularscale');// Defaults to using golden ratioms(1);// --> 1.618// Set desired ratioms(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.