0xfe / vextab

A VexTab Parser for VexFlow
Other
588 stars 115 forks source link

Hiding accidentals when they are in the key signature #31

Open MikesBarto2002 opened 10 years ago

MikesBarto2002 commented 10 years ago

Is there any way to hide accidentals when they are already in the key signature? For instance, if I am in the Key of D, then all C's and F's should be played sharp. So if I set the key signature to the Key of D, and then type:

notes :q C#-E-F#/4

The sharps on the C and the F shouldn't actually appear in the tabliture automatically. Maybe there should be a setting for accidentals. "True" would mean that it always shows accidentals, and "False" means that it only shows accidentals if they are not already in the key signature.

0xfe commented 9 years ago

Right now this only works for notes provided in tab. It should be straightforward to make it work with non-tab syntax too.