For Programmers: Free Programming Magazines  


Home > Archive > VC Language > June 2005 > Calculate the length of a MIDI file









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Calculate the length of a MIDI file
hans

2005-06-06, 3:59 am

My app opens a midi file using the MCI api. how to retrieve the length of
the MIDI in seconds? The MCI_STATUS_LENGTH status command returns a number,
but how to convert it to seconds?
thanks




Simon Trew

2005-06-06, 8:59 pm

I don't know if you've posted elsewhere, but this is probably not the best
newsgroup to ask. There doesn't seem to be a particularly good newsgroup for
this type of question, but perhaps someone in
microsoft.public.platformsdk.multimedia could at least point you in the
right direction.

Best of luck

S.

"hans" <v> wrote in message news:%23aektZlaFHA.580@TK2MSFTNGP15.phx.gbl...
> My app opens a midi file using the MCI api. how to retrieve the length of
> the MIDI in seconds? The MCI_STATUS_LENGTH status command returns a
> number,
> but how to convert it to seconds?
> thanks
>
>
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com