Sign in to follow this  
mickey

how to retrieve summary information of a midi file?

Recommended Posts

mickey    100
i'd like to know how i can get the summary information on a midi file when you go to it's properties. ie, right click->properties->summary tab. i tried to open the file on a hex editor but wasn't able to see those information. thanks.

Share this post


Link to post
Share on other sites
philipptr    260
well do you want to collect this information through code? if yes what language are you coding in? i guess you could give a little bit more information about your problem :)

Share this post


Link to post
Share on other sites
mickey    100
yeah through code. i'm using c++ plus wxwindows.

i can use a 3rd party library, win32, or directx. or just plain raw file i/o. just tell me which part i can decode/retrieve the information.

thanks.

Share this post


Link to post
Share on other sites
mickey    100
anybody can help me here please?

try checking the properties of a midi file and going thru the summary tab.

you can see various information there that you can change.

i'd like to retrieve this information in my code.

Share this post


Link to post
Share on other sites
Plasmadog    205
I don't know about midi files in particular, but Windows normally stores that kind of summary info in an alternate stream. Google for "ntfs" and "ads" (that's Alternative Data Streams) for more info about this little known feature of Windows.
The Win32 API can provide access to streams.

Share this post


Link to post
Share on other sites
Zahlman    1682
Quote:
Original post by mickey
i'd like to know how i can get the summary information on a midi file when you go to it's properties. ie, right click->properties->summary tab.

i tried to open the file on a hex editor but wasn't able to see those information.

thanks.


It's there, it just isn't necessarily labelled as nicely as you might hope.

Try looking up the file format documentation here.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this