jmusic icon indicating copy to clipboard operation
jmusic copied to clipboard

Tabulature Component

Open jherr opened this issue 3 years ago • 2 comments

Build a responsive component (most likely using SVG) that displays guitar tabulature.

Blank-Tab-LARGE_300DPI_PNG

Props:

  • instrument - to specify the number of strings
  • tabulature - an array of arrays of finger positions with either -1 meaning X and any number above that being the finger position
  • selected - an array of array indexes of the selected elements of the tabulature
  • onClick - event handler that sends back a click message with the index of the tabulature item that was clicked on

Example Vue code: https://github.com/jherr/vue-music-notation/blob/master/src/components/Tabulature.vue

jherr avatar Jan 24 '21 18:01 jherr