Chromatone logo
Theory
11
Back to main

Use-chromatone documentation / Exports / index

Module: index

Table of contents

References

Functions

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

use/piano.ts:16


midiAttack

midiAttack(note, options): void

Parameters

NameType
noteObject
note.channelnumber
note.numberstring | number
optionsObject
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

use/midi.ts:394


midiOnce

midiOnce(note, options?): void

Parameters

NameType
notestring | number | string[] | number[] | Note | Note[]
options?Object
options.attack?any
options.channelsnumber | number[]
options.duration?number
options.rawAttack?number
options.rawReleasenumber
options.releasenumber
options.timestring | number

Returns

void

Defined in

use/midi.ts:457


midiPlay

midiPlay(note, options?): void

Parameters

NameType
notestring | 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

use/midi.ts:406


midiRelease

midiRelease(note): void

Parameters

NameType
noteObject
note.channelnumber
note.numberstring | number

Returns

void

Defined in

use/midi.ts:441


midiStop

midiStop(note?, options?): void

Parameters

NameType
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

use/midi.ts:426


pianoAttack

pianoAttack(note?, velocity): void

Parameters

NameTypeDefault value
notestring"A4"
velocitynumberundefined

Returns

void

Defined in

use/piano.ts:65


pianoOnce

pianoOnce(note?, duration?, time): void

Parameters

NameTypeDefault value
notestring'A4'
durationstring'8n'
timestringundefined

Returns

void

Defined in

use/piano.ts:60


pianoRelease

pianoRelease(note?): void

Parameters

NameTypeDefault value
notestring"A4"

Returns

void

Defined in

use/piano.ts:70


pianoReleaseAll

pianoReleaseAll(): void

Returns

void

Defined in

use/piano.ts:75


setCC

setCC(cc, value): void

Parameters

NameType
ccObject
cc.channelObject
cc.channel.channels?number | number[]
cc.channel.time?string | number
cc.numberstring | number
valuenumber

Returns

void

Defined in

use/midi.ts:465


synthAttack

synthAttack(note, velocity?): void

Parameters

NameType
notestring | number | string[]
velocity?number

Returns

void

Defined in

use/synth.ts:118


synthInit

synthInit(): void

Returns

void

Defined in

use/synth.ts:94


synthOnce

synthOnce(note, duration?, time?): void

Parameters

NameTypeDefault value
notestring | number | string[]undefined
durationstring | number'16n'
time?string | numberundefined

Returns

void

Defined in

use/synth.ts:112


synthRelease

synthRelease(note): void

Parameters

NameType
noteany

Returns

void

Defined in

use/synth.ts:123


synthReleaseAll

synthReleaseAll(): void

Returns

void

Defined in

use/synth.ts:128