Home | Trees | Index | Help |
|
---|
Package ewa :: Module mp3 |
|
Function Summary | |
---|---|
precondition: header is a valid ID3v2 header. | |
get_id3v1_offset_and_tag(filename,
correct_offset)
| |
returns the id3v2 tag as a string. | |
returns a 4-tuple: whether the file is VBR, the bitrate, the samplerate, and the mode. | |
if all files are mp3 files and are of the same bitrate, samplerate, and mode, do nothing; otherwise raise an exception | |
Returns an iterator that supplies the spliced data from the files listed in chunks not larger than buffsize. |
Variable Summary | |
---|---|
int |
BUFFMAX = 8192 |
Function Details |
---|
calculate_id3v2_size(header)precondition: header is a valid ID3v2 header. |
get_id3v2_tags(fp)returns the id3v2 tag as a string. fp is an open file; if there is no id3v2 tag the file is left at the same position as when it was found, otherwise it is left at the end of the tag. |
get_vbr_bitrate_samplerate_mode(path)returns a 4-tuple: whether the file is VBR, the bitrate, the samplerate, and the mode. |
mp3_sanity_check(files)if all files are mp3 files and are of the same bitrate, samplerate, and mode, do nothing; otherwise raise an exception |
splice(files, tagfile=None, buffsize=1048576, splicer=<function _default_splicer at 0x301483f0>, **splicerKwargs)Returns an iterator that supplies the spliced data from the files listed in chunks not larger than buffsize. ID3 v2 and v1 tags are supplied from the tagfile if provided. |
Variable Details |
---|
BUFFMAX
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Wed Jan 3 10:13:56 2007 | http://epydoc.sf.net |