how to retrieve summary information of a midi file?

Started by
4 comments, last by Zahlman 19 years ago
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.
http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,
Advertisement
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 :)
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.
http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,
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.
http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,
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.
You are not the one beautiful and unique snowflake who, unlike the rest of us, doesn't have to go through the tedious and difficult process of science in order to establish the truth. You're as foolable as anyone else. And since you have taken no precautions to avoid fooling yourself, the self-evident fact that countless millions of humans before you have also fooled themselves leads me to the parsimonious belief that you have too.--Daniel Rutter
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.

This topic is closed to new replies.

Advertisement