Re: [Lily4jedit-devel] QuickLily Pitches Shortcuts + Plus what I play around today
Brought to you by:
fodber
From: Joshua K. <zz...@us...> - 2005-04-20 14:15:27
|
Do you see a jLabel in the wizard which shows what note and shortcut is for the key below the mouse cursor? The problem now is that the keys are implemented in jButtons (I guess that time I wanted to implement the wild idea I had in my mind), and in order to show the letters, the key width must be enlarged, which makes the keyboard unsightly. If not, the letters become dots. Even if the width is wide enough, the black keys overlapping the letter might cause it to turn it into dots. One way is to implement a custom jButton, or recode the implementation for the keys, but for now I just add the note name and binding to its ToolTip. I also modified the quickpitch action such that if onscreen piano is visible, it will cause an onclick on the button, making it look "better". But with the current implementation I'm worried how well will it run on a slow machine. Another module added is the MidiManager. Would be used when a note is pressed, and the midi manager should play the note. I'm not sure how well its going to work, my soundcard seems its not working well at all to test it. So so far, its seems to me like i'm recoding tons of stuff i previously coded in that Keyboard class, except splitting into different classes. I wondering how much is it worth and well will it turn up soon.... Joshua ======= At 2005-04-20, 20:06:05 you wrote: ======= > >>Do you mean displaying the shortcut key on the keyboard or the letter of the note on the keyboard? >> >> >The shortcut key, (to make me now, what I should redefine). > >>to place it in the wizard or the onscreen piano? >> >> >I think both (but it came into my mind with the wizard) > >Bert > > = = = = = = = = = = = = = = = = = = = = |