Added some description and examples of multi-accidentals and negative octaves
This commit is contained in:
parent
79453ac2c3
commit
b8c46d6b26
3 changed files with 95 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ export const { n } = registerControl('n');
|
|||
*
|
||||
* - a letter (a-g or A-G)
|
||||
* - optional accidentals (b or #)
|
||||
* - optional octave number (0-9). Defaults to 3
|
||||
* - optional (possibly negative) octave number (0-9). Defaults to 3
|
||||
*
|
||||
* Examples of valid note names: `c`, `bb`, `Bb`, `f#`, `c3`, `A4`, `Eb2`, `c#5`
|
||||
*
|
||||
|
|
@ -126,6 +126,8 @@ export const { n } = registerControl('n');
|
|||
* note("c4 a4 f4 e4")
|
||||
* @example
|
||||
* note("60 69 65 64")
|
||||
* @example
|
||||
* note("fbb1 a#0 cbbb-1 e##-2").sound("saw")
|
||||
*/
|
||||
export const { note } = registerControl(['note', 'n']);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue