Menu

Finding ties

Ewi
2013-08-27
2013-09-28
  • Ewi

    Ewi - 2013-08-27

    Hi,
    I'm working on a program which marks notes played on a piano in a displayed Guido score. The basics (controlling notes) work fine, but now I would like to get the information about ties from the AR. Trying to access the mPosTagList the program crashes. Is there a way to get the positions of ties ? Thanks for any help.
    Horbi

     
  • Dominique Fober

    Dominique Fober - 2013-09-02

    Hi,
    What do you want to know exactly? the graphic position of ties or the logical position (i.e. where ties are in the abstract representation)?
    --
    Dominique

     

    Last edit: Dominique Fober 2013-09-02
  • Ewi

    Ewi - 2013-09-03

    Thanks for your answer.
    I do not need the information about graphic positions.
    For notes and rests I use a map with the time position as key value. So it would be best to get the time position of the beginning and the end of ties.

    Horbi

     
  • Dominique Fober

    Dominique Fober - 2013-09-09

    You can have a look at the following method to get an example of how to browse a score
    std::ostream & ARMusicalVoice::operator<<(std::ostream & os) const
    --
    Dominique

     

    Last edit: Dominique Fober 2013-09-09
  • Ewi

    Ewi - 2013-09-28

    It works now. Thanks again for your help Dominique.

    Horbi

     

Log in to post a comment.