For Programmers: Free Programming Magazines  


Home > Archive > VC Language > June 2005 > Length of a MIDI









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 Length of a MIDI
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



William DePalo [MVP VC++]

2005-06-06, 4:02 pm

"hans" <v> wrote in message news:ebehMWlaFHA.3840@tk2msftngp13.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?


The interpretation of the number depends on the time format in effect. Post
again in the multimedia group

microsoft.public.win32.programmer.mmedia

for more information.

Regards,
Will


Sponsored Links







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

Copyright 2008 codecomments.com