-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ghost note feature request #129
Comments
I guess the main problem is when a new note creates a new line (which may change the layout significantly). One solution is to use a page format with an infinite (very long) width. But it supposes to edit the score in 'line mode'
That's not really possible. It's quite difficult to interfer with the layout algorithm. |
@WindowsNT To my knowledge GuidoLib is not designed for that but depending on the kind of application, you can achieve this using Guido Mappings: If the inserted "ghost note" is not supposed to change the entire rhythmic structure of the measure (let's say it's just some annotation), what I would do is to simply draw it on a transparent Layer on top of the rendered Guido Layer. The different internal maps available are there to help! |
You can set the height so that to get a single line (e.g. h=5cm). You can also extend the width to a larger value (e.g. w=1000cm or more) |
another idea comes to mind: |
That I 've done, but it still changes the layout ocassionally when I add a note. Basically I 'd like a line edit mode without the need of setting height... can this be done? I can't seem to make it working. |
I made it working (single line), testing if ghost note works well. |
I still have issues. In order to draw manually I must first erase the rest and this will also change the layout perhaps. |
The idea is to display a ghost note on mouse over so when the user clicks, I create a note at that position.
The problem that is when I actually draw a grey note is that the layout sometimes changes. This creates flashing when the mouse moves.
An easy solution to this is to provide hit testing for the staff (notes) so I draw a circle manually.
A more complex solution which is generally advisable is to lock the measures in place no matter how many notes they contain.
The text was updated successfully, but these errors were encountered: