[jmsl] EditStateProvider bug / feature request

jmsl at music.columbia.edu jmsl at music.columbia.edu
Tue Jun 10 11:16:16 EDT 2008


I'm working on code that allows the user to toggle between the  
EditStateProvider's accidental state (ex. adding shift sets to sharp  
temporarily).  There's a bug (sort of) in the way that EditManager  
handles enharmonic spellings with the EditStateProvider.

To reproduce:
In the ScoreEditPanel, select flat as the accidental, then try to  
enter the C one octave above middle C.  It gives B natural (C flat)  
which is logically consistent, but perhaps not as helpful, and, if  
you're going to be entering a bunch of flats, tends to stick out due  
to the odd hole around C.

Would it be possible to set this to display the alternate enharmonic  
for Cb, B#, E#, Fb by default when #/b is set as the default accidental?

thanks,
Peter McCulloch




More information about the jmsl mailing list