Use-chromatone documentation / Exports / Chroma
Module: Chroma
Description
Global scale info and chroma
Table of contents
Interfaces
Variables
Functions
Variables
globalScale
• Const
globalScale: Object
Type declaration
Name | Type |
---|---|
chroma | string |
full | any |
isIn | (noteName : string ) => boolean |
note | NamedPitch |
pcs | string [] |
set | any |
tonic | number |
Defined in
Functions
playChroma
▸ playChroma(chroma
, tonic
): void
Parameters
Name | Type |
---|---|
chroma | string |
tonic | number |
Returns
void
Defined in
playChromaOnce
▸ playChromaOnce(chroma
, tonic
): void
Parameters
Name | Type |
---|---|
chroma | string |
tonic | number |
Returns
void
Defined in
playNote
▸ playNote(name
): void
Parameters
Name | Type |
---|---|
name | any |
Returns
void
Defined in
stopChroma
▸ stopChroma(chroma
, tonic
): void
Parameters
Name | Type |
---|---|
chroma | any |
tonic | any |
Returns
void
Defined in
stopNote
▸ stopNote(name
): void
Parameters
Name | Type |
---|---|
name | any |
Returns
void