Package pyarchive :: Module mp3
[show private | hide private]
[frames | no frames]

Module pyarchive.mp3

mp3.py Reads information from an mp3 file. This is a python port of code taken from the mpg123 input module of xmms.
Function Summary
  decode_header(head)
Decode the mp3 header and put the information in a frame structure
  decode_synch_integer(buf)
  decode_vbr(buf)
  detect_mp3(filename)
Determines whether this is an mp3 file and if so reads information from it.
  filesize(file)
Returns the size of file sans any ID3 tag
  head_check(head)
  header(buf)

Variable Summary
list table = [[[0, 32, 64, 96, 128, 160, 192, 224, 256, 288, ...

Function Details

decode_header(head)

Decode the mp3 header and put the information in a frame structure

detect_mp3(filename)

Determines whether this is an mp3 file and if so reads information from it.

filesize(file)

Returns the size of file sans any ID3 tag

Variable Details

table

Type:
list
Value:
[[[0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 44\
8],
  [0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384],
  [0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320]],
 [[0, 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256],
  [0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160],
  [0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160]]]     

Generated by Epydoc 2.1 on Fri Jun 24 12:01:26 2005 http://epydoc.sf.net