ok ok , anyone know anything on this tough question?

  • Thread starter Thread starter Jim Rutledge
  • Start date Start date
J

Jim Rutledge

ok ok , anyone know anything on this tough question?

How do you determine the length in seconds that a midi file is , or any
audio file for that matter ?
 
Peter said:
There's nothing in C# or .NET that addresses that need directly. So,
you really should be asking the question in a more appropriate forum.

As for the actual question: from what I recall, the Standard MIDI File
format does not include information about the length of the contents.

Well, MCI lets you request the status, including length, of a sequencer
(MIDI) file. So MCI might be the way to go.
 
Back
Top