tonal-interval
Advanced tools
Comparing version 2.2.0 to 2.2.1
26
index.ts
@@ -102,3 +102,3 @@ type IntervalName = string; | ||
* List basic (perfect, major, minor) interval names within a octave | ||
* @param {String} qualities - (Optional, default "PMm") the valid types | ||
* @param {string} qualities - (Optional, default "PMm") the valid types | ||
* @return {Array} the interval names | ||
@@ -211,3 +211,3 @@ * @example | ||
* @function | ||
* @param {String} interval - the interval | ||
* @param {string} interval - the interval | ||
* @return {Object} the interval in the form [number, alt] | ||
@@ -224,3 +224,3 @@ */ | ||
* @function | ||
* @param {String} interval - the interval | ||
* @param {string} interval - the interval | ||
* @return {Integer} | ||
@@ -240,4 +240,4 @@ * @example | ||
* @function | ||
* @param {String} interval - the interval string or array | ||
* @return {String} the interval name or null if not valid interval | ||
* @param {string} interval - the interval string or array | ||
* @return {string} the interval name or null if not valid interval | ||
* @example | ||
@@ -253,3 +253,3 @@ * Interval.name("m-3") // => "-3m" | ||
* @function | ||
* @param {String} ivl | ||
* @param {string} ivl | ||
* @return {Integer} the number of semitones or null if not an interval | ||
@@ -269,3 +269,3 @@ * @example | ||
* @function | ||
* @param {String} str | ||
* @param {string} str | ||
* @return {Number} | ||
@@ -311,3 +311,3 @@ */ | ||
* | ||
* @return {String} the interval name | ||
* @return {string} the interval name | ||
* @example | ||
@@ -333,4 +333,4 @@ * Interval.build({ step: 1, alt: -1, oct: 0, dir: 1 }) // => "1d" | ||
* @function | ||
* @param {String} interval - the interval to simplify | ||
* @return {String} the simplified interval | ||
* @param {string} interval - the interval to simplify | ||
* @return {string} the simplified interval | ||
* | ||
@@ -356,5 +356,5 @@ * @example | ||
* @function | ||
* @param {String} interval - the interval to invert in interval shorthand | ||
* @param {string} interval - the interval to invert in interval shorthand | ||
* notation or interval array notation | ||
* @return {String} the inverted interval | ||
* @return {string} the inverted interval | ||
* | ||
@@ -386,3 +386,3 @@ * @example | ||
* @param {Integer} num - the number of semitones (can be negative) | ||
* @return {String} the interval name | ||
* @return {string} the interval name | ||
* @example | ||
@@ -389,0 +389,0 @@ * import { fromSemitones } from "tonal-interval" |
{ | ||
"name": "tonal-interval", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Music interval creation and manipulation", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/danigb/tonal/packages/interval", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet