Tick()??
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
Looking at https://github.com/musescore/MuseScore/blob/master/libmscore/noteentry… it seems that all tick() calls are called upon a segment.
I strongly advise you to set up a development environment with an IDE to allow for code browsing.
In reply to Looking at https://github… by jeetee
Thank you so much for getting back to me so quick. I will work on your feedback and see what can I find.
In reply to Thank you so much for… by mdwidar
@jeetee , I just not quite sure what do you mean by that the method is called upon a segment? Can you explain what you exactly means about that?
Thanks.
In reply to @jeetee , I just not quite… 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 If you don't mind me asking,… 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 If you don't mind me asking,… 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.