Skip to main content
Topic: Writing a plugin's transpose - how to apply semitones to staff position? (Read 4802 times) previous topic - next topic

Writing a plugin's transpose - how to apply semitones to staff position?

I'd like to write a transpose function that moves the staff position of my user object - but how can I change the staff position from inside the transpose method? Any help is appreciated ...

H.M.

Re: Writing a plugin's transpose - how to apply semitones to staff position?

Reply #1
I'd like to write a transpose function that moves the staff position of my user object - but how can I change the staff position from inside the transpose method? Any help is appreciated ...

H.M.
You should be able to update t.Pos, which determines the staff position. Let me know if this does not work.

 

Re: Writing a plugin's transpose - how to apply semitones to staff position?

Reply #2
Works! - somehow, I was locked into thinking that it must be .StaffPos or the like - didn't think/search for .Pos.

Thanks
H.M.