jherr / jmusic

Javascript Music project
19 stars 12 forks source link

Create Tableture Component #18

Closed mohyddintash closed 3 years ago

mohyddintash commented 3 years ago

Added a Tableture Component

example usage:

 <Tableture
            instrument={guitar}
            tab={[
              [1, 2, 4, 10, 2, 3],
              [1, 2, 6, -1, 2, 3],
              [1, 5, -1, 3, 2, 3],
              [1, 2, 6, 1, 2, 3],
            ]}
            clickHandler={(idx) => {
              console.log(idx);
            }}
            selected={[1, 3]}
/>