i'm not sure i understand what do you want to achieve. Do you really want
to convert major parts of mscore to C#?. You will need a _lot_ of time for this.
There are other problems as mscore is not very smart on importing midi files.
This is an AI problem as a midi file has not enough information to display
it properly as a score. Mscore can not distinguish between lets say a 1/16
note and a staccato 1/4. Other things as voice separation, tuple detection etc.
are also missing in current mscore.
Despite this you maybe should consider using mscore unmodified. On Linux there is
the possibility to synchronise two applications with the JACK transport mechanism.
Mscore uses the Trolltech Qt library which offers D-Bus interprocess communication
which should work for linux and windows. This could possibly be used to remote
control mscore on windows. Whats left is to interface D-Bus to C#.
To your original question: you will need about 70% of the mscore code. So the
best advice is to start reading at main() and look whats going on.
As Obi-Wan says: "May The Source Be With You".
On Sonntag 18 Mai 2008, Panchubi wrote:
> I am working in C#. I need show in a form a score from a midi file. I only
> need to show the score and move with the playing of the midi file. What
> modules of mscore can I study to achieve it?????