That's right... changing things could break lots of works, and as I said, the object is working fine now
Didn't you see the code in my objects?? I'm sorry but I can't be worst programing in ANY language , in fact, those plugins are my first contact with programing, I'm really sorry...
But I have some suggestion about entering chords, here's one of them (it's only the code for spec table... it won't work, but you can see the idea):
-- Version 0.0
--[[--------------------------------------------------------------------------
--]]--------------------------------------------------------------------------
local strumStyles = { 'up', 'down' }
local fretTextPos = { 'top', 'bottom' }
local styleList = { 'Serif', 'Sans', 'Swing' }
local FretList = {'o', '1', '2', '3', '4', '5', 'x'}
local obj_spec = {
{ id='Name', label='Chord Name', type='text', default='Enter Chord Name Here' },
{ id='Style', label='Font Style', type='enum', default=styleList[1], list=styleList },
{ id='Size', label='Chart Size', type='float', default=1, min=0.5, max=5, step=.5 },
{ id='Span', label='Note Span', type='int', default=0, min=0 },
{ id='6th_Fret', label='6th String', type='enum', default=FretList[1], list=FretList},
{ id='5th_Fret', label='5th String', type='enum', default=FretList[1], list=FretList},
{ id='4th_Fret', label='4th String', type='enum', default=FretList[1], list=FretList},
{ id='3th_Fret', label='3rd String', type='enum', default=FretList[1], list=FretList},
{ id='2th_Fret', label='2nd String', type='enum', default=FretList[1], list=FretList},
{ id='1th_Fret', label='1st String', type='enum', default=FretList[1], list=FretList},
{ id='Barre', label='Barres', type='text', default='' },
{ id='Capo', label='Capo Position', type='int', default=0, min=0 },
{ id='TopFret', label='Top Fret', type='int', default=1, min=1 },
{ id='Strum', label='Strum Direction', type='enum', default='down', list=strumStyles },
{ id='TopBarreOffset', label='Top Barre Offset', type='float', default=0, min=0, step=.5 },
{ id='Anticipated', label='Anticipated Playback', type='bool', default=true },
}
return {
spec = obj_spec,
}
The finger picking option could even be more interesting with a tablature object. I'm not sure how fingerpicking must be shown in Chord Charts (are we talking about P I M A fingers, right?) but, could it be added to the Fret List in the code above (0, 1, 1p, 1i, 1m, 1a, 2, 2p,...)? anyway, if it's only for playback purposes, well... maybe it will be too much information for only a chord chart, don't you think? Of course, it's the same for strum speed/rate... but I'm still thinking that at least the option "disabled" must be present within the strum options