Namespace: keyboard

music21. keyboard

keyboard namespace -- tools for creating an onscreen keyboard and interacting with it.

Source:

Requires

  • module:music21/pitch
  • module:music21/common
  • module:music21/miditools
  • module:jquery
  • module:MIDI

Classes

BlackKey
Key
Keyboard
WhiteKey

Methods

<static> jazzHighlight(e)

highlight the keyboard stored in "this" appropriately

Parameters:
Name Type Description
e Event
Source:
Example
var midiCallbacksPlay = [music21.miditools.makeChords,
                         music21.miditools.sendToMIDIjs,
                         music21.keyboard.jazzHighlight.bind(k)];

<static> triggerToggleShow(e)

triggerToggleShow -- event for keyboard is shown or hidden.

Parameters:
Name Type Description
e Event
Source:
Music21j, Copyright © 2013-2018 Michael Scott Cuthbert and cuthbertLab.
Documentation generated by JSDoc 3.5.5 on Wed Jul 4th 2018 using the DocStrap template.