Cantabile JavaScript API
  • Getting Started
  • API Reference
    • Application
    • BindingParam
    • BindingPoint
    • BindingPointEntry
    • BindingPointInfo
    • BindingPointKind
    • BindingPointValueFormat
    • Bindings
    • BindingWatcher
    • BindingWatcherCallback
    • Cantabile
    • ColorEntry
    • CommandInfo
    • Commands
    • ConnectionState
    • ControllerWatcher
    • ControllerWatcherCallback
    • EndPoint
    • Engine
    • KeyRange
    • KeyRanges
    • MidiControllerEvent
    • MidiControllerEventKind
    • MidiControllerKind
    • OnscreenKeyboard
    • PatternWatcher
    • PatternWatcherCallback
    • PreparedBindingPoint
    • SetList
    • SetListItem
    • SetListItemKind
    • ShowNote
    • ShowNotes
    • ShowNoteTextAlignment
    • Song
    • SongStates
    • State
    • States
    • Transport
    • TransportLoopMode
    • TransportState
    • Variables
  • State Interface

    An anonymous type representing a state

    interface State
    {
        name: string;
        pr: number;
        color: number;
    }
    

    #color

    The color of the state (0 to 15)

    color: number;
    

    #name

    The name of the state

    name: string;
    

    #pr

    The zero based program number of the state

    pr: number;
    

    On This Page