I need show score from a midi

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

I need show score from a midi

Panchubi
Hello

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?????

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: I need show score from a midi

wschweer
Administrator
Hi,

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".

Regards,
Werner

On Sonntag 18 Mai 2008, Panchubi wrote:
>
> Hello
>
> 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?????
>
> Thanks




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer