Help with extension of Harmonica tablature plugin
Hi, I'd like to ask for help with coding a coloring extension of the Harmonica plugin. I've studied the code and understand, how it assigns tablature based on pitch. I've looked also at the coloring plugin, how it assigns a color based on pitch.
But I need to assign a color based on different criteria than pitch - namely the difficulty to play a group of notes. Tablatures are written in an array/list of items, referenced by index from 0 to 37 (under Richter tuning).
I have 5 distinct groups based on decreasing difficulty.
Overdraws - items 25,32,37
Overblows - items 3,15,18,22
Blowbends - items 27,30,34,35
Drawbends - items 1,5,6,8,9,10,13,20
natural Draws and Blows - items 0,2,4,7,11,12,14,16,17,19,21,23,24,26,28,29,31,33,36
I am not familiar with coding in plugin language so I am unable to code logic for coloring specific groups.
I'd like to color both notes and the corresponding tablature.
Can anyone please help me - I'm not sure if Nicolas (creator of the plugin) is still available for its maintenance.
Also please note, that professional range of 10-hole diatonic harmonica is C4-Db7 (although very few people are capable to play the highest note as it is overdraw, so it is more like a professional professional range)
Thank you very much in advance for your help