file.getMp3Info

Syntax file.getMp3Info (f, adrSeconds, adrBitRate, adrFrequency, adrOffset, adrFlVariableBitRate)

Params f is the path on disk to an MP3 file.

adrSeconds is the address of a variable to receive the length in seconds of the file.

adrBitRate is the address of a variable to receive the bit rate of the file.

adrFrequency is the address of a variable to receive the frequency.

adrOffset is the address of a variable to receive the offset.

adrFlVariableBitRate is the address of a boolean that will be true if it's a variable bit rate file.

Action Determine information about an MP3 file.

Returns True.

Examples local (seconds, bitrate, frequency, offset, flVariableBitRate);file.getMp3Info ("C:\\Music\\My Favorite Song.mp3", @seconds, @bitrate, @frequency, @offset, @flVariableBitRate);seconds

   » 233

Notes This verb is new in Frontier 7.

On Macs, you can play MP3s via the QuickTime verbs.

See Also file.type

file.creator

file.created

file.modified

file.size

quickTime.open

quickTime.play

Discuss