Use-chromatone documentation / Exports / index
Module: index
Table of contents
References
- AubioFeature
- Chain
- ChromaNote
- ClickSampler
- MidiInterface
- NamedPitch
- NoteMessageEvent
- calcBg
- cameras
- cast
- channels
- chordList
- chordType
- chords
- chromaColorMix
- createAndDownloadBlobFile
- createChannel
- currentCamera
- currentMic
- defaultScheme
- devices
- download
- ensureDevicesListPermissions
- fileNames
- flats
- forwardMidi
- freqColor
- freqPitch
- getCents
- getCircleCoord
- getColorInfo
- getEuclideanRhythm
- getFilename
- getStandardFrequency
- getSupportedMimeTypes
- globalScale
- initGetUserMedia
- intervals
- isInChroma
- lchToHsl
- learnCC
- levelColor
- master
- maxRatio
- mic
- microphones
- midi
- midiA
- midiColor
- mimeExtMap
- mimeType
- naturals
- noteColor
- noteNames
- notes
- pitchColor
- pitchFreq
- pitchNoteOctave
- playChroma
- playChromaOnce
- playKey
- playNote
- quantizeModes
- record
- recordCamera
- recorder
- recording
- recordingName
- renderMidi
- renderMidiFile
- rotateArray
- scaleList
- scaleType
- scales
- scheme
- setupKeyboard
- sharps
- showRecordingDialog
- sortNotes
- stopAll
- stopChroma
- stopNote
- synth
- tap
- tempo
- tracks
- tuner
- useAudio
- useCopy
- useLoop
- useMic
- useMidi
- useNoise
- usePiano
- useRecorder
- useRecording
- useSequence
- useSvgMouse
- useSynth
- useTempo
- useTuner
Functions
- init
- midiAttack
- midiOnce
- midiPlay
- midiRelease
- midiStop
- pianoAttack
- pianoOnce
- pianoRelease
- pianoReleaseAll
- setCC
- synthAttack
- synthInit
- synthOnce
- synthRelease
- synthReleaseAll
References
AubioFeature
Re-exports AubioFeature
Chain
Re-exports Chain
ChromaNote
Re-exports ChromaNote
ClickSampler
Re-exports ClickSampler
MidiInterface
Re-exports MidiInterface
NamedPitch
Re-exports NamedPitch
NoteMessageEvent
Re-exports NoteMessageEvent
calcBg
Re-exports calcBg
cameras
Re-exports cameras
cast
Re-exports cast
channels
Re-exports channels
chordList
Re-exports chordList
chordType
Re-exports chordType
chords
Re-exports chords
chromaColorMix
Re-exports chromaColorMix
createAndDownloadBlobFile
Re-exports createAndDownloadBlobFile
createChannel
Re-exports createChannel
currentCamera
Re-exports currentCamera
currentMic
Re-exports currentMic
defaultScheme
Re-exports defaultScheme
devices
Re-exports devices
download
Re-exports download
ensureDevicesListPermissions
Re-exports ensureDevicesListPermissions
fileNames
Re-exports fileNames
flats
Re-exports flats
forwardMidi
Re-exports forwardMidi
freqColor
Re-exports freqColor
freqPitch
Re-exports freqPitch
getCents
Re-exports getCents
getCircleCoord
Re-exports getCircleCoord
getColorInfo
Re-exports getColorInfo
getEuclideanRhythm
Re-exports getEuclideanRhythm
getFilename
Re-exports getFilename
getStandardFrequency
Re-exports getStandardFrequency
getSupportedMimeTypes
Re-exports getSupportedMimeTypes
globalScale
Re-exports globalScale
initGetUserMedia
Re-exports initGetUserMedia
intervals
Re-exports intervals
isInChroma
Re-exports isInChroma
lchToHsl
Re-exports lchToHsl
learnCC
Re-exports learnCC
levelColor
Re-exports levelColor
master
Re-exports master
maxRatio
Re-exports maxRatio
mic
Re-exports mic
microphones
Re-exports microphones
midi
Re-exports midi
midiA
Re-exports midiA
midiColor
Re-exports midiColor
mimeExtMap
Re-exports mimeExtMap
mimeType
Re-exports mimeType
naturals
Re-exports naturals
noteColor
Re-exports noteColor
noteNames
Re-exports noteNames
notes
Re-exports notes
pitchColor
Re-exports pitchColor
pitchFreq
Re-exports pitchFreq
pitchNoteOctave
Re-exports pitchNoteOctave
playChroma
Re-exports playChroma
playChromaOnce
Re-exports playChromaOnce
playKey
Re-exports playKey
playNote
Re-exports playNote
quantizeModes
Re-exports quantizeModes
record
Re-exports record
recordCamera
Re-exports recordCamera
recorder
Re-exports recorder
recording
Re-exports recording
recordingName
Re-exports recordingName
renderMidi
Re-exports renderMidi
renderMidiFile
Re-exports renderMidiFile
rotateArray
Re-exports rotateArray
scaleList
Re-exports scaleList
scaleType
Re-exports scaleType
scales
Re-exports scales
scheme
Re-exports scheme
setupKeyboard
Re-exports setupKeyboard
sharps
Re-exports sharps
showRecordingDialog
Re-exports showRecordingDialog
sortNotes
Re-exports sortNotes
stopAll
Re-exports stopAll
stopChroma
Re-exports stopChroma
stopNote
Re-exports stopNote
synth
Re-exports synth
tap
Re-exports tap
tempo
Re-exports tempo
tracks
Re-exports tracks
tuner
Re-exports tuner
useAudio
Re-exports useAudio
useCopy
Re-exports useCopy
useLoop
Re-exports useLoop
useMic
Re-exports useMic
useMidi
Re-exports useMidi
useNoise
Re-exports useNoise
usePiano
Re-exports usePiano
useRecorder
Re-exports useRecorder
useRecording
Re-exports useRecording
useSequence
Re-exports useSequence
useSvgMouse
Re-exports useSvgMouse
useSynth
Re-exports useSynth
useTempo
Re-exports useTempo
useTuner
Re-exports useTuner
Functions
init
▸ init(): void
Returns
void
Defined in
midiAttack
▸ midiAttack(note
, options
): void
Parameters
Name | Type |
---|---|
note | Object |
note.channel | number |
note.number | string | number |
options | Object |
options.attack? | number |
options.channels? | number | number [] |
options.duration? | number |
options.rawAttack? | number |
options.rawRelease? | number |
options.release? | number |
options.time? | string | number |
Returns
void
Defined in
midiOnce
▸ midiOnce(note
, options?
): void
Parameters
Name | Type |
---|---|
note | string | number | string [] | number [] | Note | Note [] |
options? | Object |
options.attack? | any |
options.channels | number | number [] |
options.duration? | number |
options.rawAttack? | number |
options.rawRelease | number |
options.release | number |
options.time | string | number |
Returns
void
Defined in
midiPlay
▸ midiPlay(note
, options?
): void
Parameters
Name | Type |
---|---|
note | string | number | string [] | number [] | Note | Note [] |
options? | Object |
options.attack? | number |
options.channels? | number | number [] |
options.duration? | number |
options.rawAttack? | number |
options.rawRelease? | number |
options.release? | number |
options.time? | string | number |
Returns
void
Defined in
midiRelease
▸ midiRelease(note
): void
Parameters
Name | Type |
---|---|
note | Object |
note.channel | number |
note.number | string | number |
Returns
void
Defined in
midiStop
▸ midiStop(note?
, options?
): void
Parameters
Name | Type |
---|---|
note? | string | number | string [] | number [] | Note | Note [] |
options? | Object |
options.channels? | number | number [] |
options.rawRelease? | number |
options.release? | number |
options.time? | string | number |
Returns
void
Defined in
pianoAttack
▸ pianoAttack(note?
, velocity
): void
Parameters
Name | Type | Default value |
---|---|---|
note | string | "A4" |
velocity | number | undefined |
Returns
void
Defined in
pianoOnce
▸ pianoOnce(note?
, duration?
, time
): void
Parameters
Name | Type | Default value |
---|---|---|
note | string | 'A4' |
duration | string | '8n' |
time | string | undefined |
Returns
void
Defined in
pianoRelease
▸ pianoRelease(note?
): void
Parameters
Name | Type | Default value |
---|---|---|
note | string | "A4" |
Returns
void
Defined in
pianoReleaseAll
▸ pianoReleaseAll(): void
Returns
void
Defined in
setCC
▸ setCC(cc
, value
): void
Parameters
Name | Type |
---|---|
cc | Object |
cc.channel | Object |
cc.channel.channels? | number | number [] |
cc.channel.time? | string | number |
cc.number | string | number |
value | number |
Returns
void
Defined in
synthAttack
▸ synthAttack(note
, velocity?
): void
Parameters
Name | Type |
---|---|
note | string | number | string [] |
velocity? | number |
Returns
void
Defined in
synthInit
▸ synthInit(): void
Returns
void
Defined in
synthOnce
▸ synthOnce(note
, duration?
, time?
): void
Parameters
Name | Type | Default value |
---|---|---|
note | string | number | string [] | undefined |
duration | string | number | '16n' |
time? | string | number | undefined |
Returns
void
Defined in
synthRelease
▸ synthRelease(note
): void
Parameters
Name | Type |
---|---|
note | any |
Returns
void
Defined in
synthReleaseAll
▸ synthReleaseAll(): void
Returns
void