mx
mx copied to clipboard
Timing information of individual notes ?
I'd like to do the following with the library and need you guidance as to where to start.
I have no problem building the library and linking it via CMake. It is the API that I need a little guidance with.
I'd like to
- Load a MusicXML file (piano, two hands)
- Find the beam (hands ?)
- For each beam, iterate all the notes
- For each note, extract the timing information for each note for further mathematical processing.
Which example or test code illustrate some of the above ?
What classes or methods should I dive further into ?
Cheers
Sorry I haven't answered yet. I'll try to get you an answer, but the short answer is that the tickTime field tells you when the note starts and duration tells you how long it is. Search for tickTime in the "api" directory.