Previous | Up | Next |
Returns the information on a Mp3 frame, meaning a single bloc of data for the data stream.Parameters
[I I I I] asMp3GetFrameInfo ( S _stream_ )
Return value
_stream_ Data stream from a Mp3 file.
A tuple [ channels frequency resolution bitrate ], or nil if the stream string does not contain a Mp3 frame header:
- channels: number of channels, 1 for mono, 2 for stereo.
- frequency: sampling frequency, 16000, 22050, 24000, 32000, 44100 or 48000 Hz.
- resolution: sampling rate in bits, 8 or 16.
- bitrate: frame compression rate in kbits per second.