UNPKG

launchpad-mini

Version:

JavaScript library for interacting with the Novation’s midi board LAUNCHPAD MINI.

7 lines (6 loc) 260 B
/** * This method finds the best duty cycle match for the given brightness. * @param {Number} t Brightness level between 0 and 1 * @returns {Array.<Number>} Array [ numerator, denominator, fraction ] */ export function getNumDen(t: number): Array<number>;