Add Gracenotes

• May 7, 2011 - 18:57

Hi

I am working on a Plugin for writing Bagpipe-Scores and for that I need to add Gracenotes (not only single Gracenotes, also Movements). But I have not found a clue, how to add them to a Note/Chord.

Just to make it clear for me, the changes are only made when I am closing the window, or is there a way to make the changes visible as soon I inserted them?

Thank you for your explanation
Chris


Comments

In reply to by [DELETED] 5

As I have seen, you are one of the developers, is it a hard way to implement this function to the framework? Maybe you could do me a favor and add this function to the plugin framework?

Or if you do not have time for that, maybe you can shortly describe, what and where it should be done, then I will do it myself (I am a developer myself, but I normally implement websites, so this is new for me).

In reply to by cschuetz

Could you describe a little bit more what the plugin is supposed to do? Adding grace notes to a chord object could be added in the plugin framework (one by one) but I'm curious about the other features you might want.

In reply to by [DELETED] 5

It is just adding Gracenotes, so, if that is possible, it should also be possible to add up to 5 gracenotes on one chord. Here is a sample http://cityofoaks2.home.netcom.com/tunes/AMansAManForAThat.gif for a bagpipe-score.

On Bagpipes you have several Movements (sequence of gracenotes), to help writing bagpipe-scores, my Plugin will add these movements to the selected chord. If there is a movement, it should be replaced. If it is possible, the plugin-window should not be closed to add it, maybe I have done something wrong, but with my example I tried, I had to close the plugin-window before the note was written or shown in the score.

In reply to by cschuetz

So you need to be able to :

-> select a note and know in the plugin which note is selected --> Not possible so far (only a "time" selection is accessible, the one with the blue rectangle)
-> Add grace notes --> not possible so far
-> let the dialog open and act on the current score -> that seems to work (see attached test plugin)

Am I wrong assuming that the movements are not always the same but depends on the pitch of the selected note?

If you want to take a look to the code, check plugins.cpp and all the files beginning by scXXXX.cpp

Attachment Size
plugins.zip 1.96 KB

Do you still have an unanswered question? Please log in first to post your question.