tonal-pcset
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -45,3 +45,3 @@ 'use strict'; | ||
* @param {Array|String} set - the pitch class set | ||
* @return {String} a binary representation of the pitch class set | ||
* @return {string} a binary representation of the pitch class set | ||
* @example | ||
@@ -102,3 +102,3 @@ * PcSet.chroma(["C", "D", "E"]) // => "1010100000000" | ||
* Test if the given string is a pitch class set chroma. | ||
* @param {String} chroma - the pitch class set chroma | ||
* @param {string} chroma - the pitch class set chroma | ||
* @return {Boolean} true if its a valid pcset chroma | ||
@@ -105,0 +105,0 @@ * @example |
@@ -40,3 +40,3 @@ /** | ||
* @param {Array|String} set - the pitch class set | ||
* @return {String} a binary representation of the pitch class set | ||
* @return {string} a binary representation of the pitch class set | ||
* @example | ||
@@ -97,3 +97,3 @@ * PcSet.chroma(["C", "D", "E"]) // => "1010100000000" | ||
* Test if the given string is a pitch class set chroma. | ||
* @param {String} chroma - the pitch class set chroma | ||
* @param {string} chroma - the pitch class set chroma | ||
* @return {Boolean} true if its a valid pcset chroma | ||
@@ -100,0 +100,0 @@ * @example |
{ | ||
"name": "tonal-pcset", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "Create and manipulate pitch class sets", | ||
@@ -24,5 +24,5 @@ "keywords": [ | ||
"dependencies": { | ||
"tonal-array": "^2.2.1", | ||
"tonal-interval": "^2.2.1", | ||
"tonal-note": "^2.2.1" | ||
"tonal-array": "^2.2.2", | ||
"tonal-interval": "^2.2.2", | ||
"tonal-note": "^2.2.2" | ||
}, | ||
@@ -29,0 +29,0 @@ "babel": { |
@@ -26,3 +26,3 @@ <a name="module_PcSet"></a> | ||
* [PcSet](#module_PcSet) | ||
* [`.chroma(set)`](#module_PcSet.chroma) ⇒ <code>String</code> | ||
* [`.chroma(set)`](#module_PcSet.chroma) ⇒ <code>string</code> | ||
* [`.chromas()`](#module_PcSet.chromas) ⇒ <code>Array</code> | ||
@@ -40,3 +40,3 @@ * [`.modes(set, normalize)`](#module_PcSet.modes) ⇒ <code>Array.<String></code> | ||
## `PcSet.chroma(set)` ⇒ <code>String</code> | ||
## `PcSet.chroma(set)` ⇒ <code>string</code> | ||
Get chroma of a pitch class set. A chroma identifies each set uniquely. | ||
@@ -49,3 +49,3 @@ It"s a 12-digit binary each presenting one semitone of the octave. | ||
**Kind**: static method of [<code>PcSet</code>](#module_PcSet) | ||
**Returns**: <code>String</code> - a binary representation of the pitch class set | ||
**Returns**: <code>string</code> - a binary representation of the pitch class set | ||
@@ -98,3 +98,3 @@ | Param | Type | Description | | ||
| --- | --- | --- | | ||
| chroma | <code>String</code> | the pitch class set chroma | | ||
| chroma | <code>string</code> | the pitch class set chroma | | ||
@@ -101,0 +101,0 @@ **Example** |
39144
8
838
Updatedtonal-array@^2.2.2
Updatedtonal-interval@^2.2.2
Updatedtonal-note@^2.2.2