If during playback means at rendermidi() or in process(), then you have
NPlayEvent and they have a note() function, from there you can get the
string().

lasconic


Le dim. 6 janv. 2019 à 17:15, Sideways Skullfinger <
sidew...@sidewaysskullfinger.com> a écrit :

> I don't know about note events, but the Note class has a string() method
> which might be of use to you.
>
> On 1/6/2019 9:08 AM, Tommaso Cucinotta wrote:
> > Hi,
> >
> > I see that in a MuseScore guitar tab score, I can customize the
> > string each note is played on, if I'm not fine with the default pick
> > (ie, drag the note onto a different string in the tab).
> >
> > Now, during playback, I'd like to know what the string is, but a note
> > event has only pitch(), ontime() and len() attributes. How can I
> > programmatically retrieve the string of the note, if the score is showing
> > a tab ?
> >
> > Thanks,
> >
> >     T.
>
>
>
>
> _______________________________________________
> Mscore-developer mailing list
> Mscore-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to