Tick()??

• Nov 20, 2020 - 00:18

Hello,
I am working with a team in a community college on a project that is to find a way to create sheet music from real-time MIDI inputs using a USB drum pad. As for now I am looking at the mathematical part of it and I need help to fine the tick() method that I found it in the noteentry.cpp file I went through a lot of file in MuseScore and I didn't get lucky yet. I would really appreciate any help. Thanks.


Comments

In reply to by mdwidar

If you don't mind me asking, but what is your programming background? (any experience with c++?) .

Assuming I don't need to explain the programming techniques involved, then what you're likely missing is what a segment is. It is the class that represents a position in time in the score, containing all elements notated at that vertical notationwise slice of the score.
See https://musescore.org/en/developers-handbook/references/musescore-inter… for a bit more comprehensive explanation about the basic internal score structure.

In reply to by jeetee

Thank you, I will take a look at the handbook. The project I am working on is my first time working with C++ and I am trying to learn a lot of aspects and techniques in a very short time. I worked before with Java and a little bit of Python. Again, I do appreciate you fast respond.

In reply to by jeetee

It is the class that represents a position in time in the score, containing all elements notated at that vertical notationwise slice of the score.
That's actually what I figured out yesterday and have been looking at every class since last night and I think I found what I am looking for. I was just not quite sure and I thought it wouldn't hurt to ask you for clarifications. Thank You.

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