pytimbre.audio.FactChunk¶
- class pytimbre.audio.FactChunk(reader: FileIO = None, chunk_offset: int = None, chunk_size: int = None, chunk_name: str = None)¶
Bases:
ChunkInformationThe fact chunk provides some additional information regarding the interior data within the Wave File.
- __init__(reader: FileIO = None, chunk_offset: int = None, chunk_size: int = None, chunk_name: str = None)¶
The constructor for the format chunk. This will contain the ability to read the 16 and 40 byte formatted header :param reader: File - The binary reader that will represent the data file that we are reading :param chunk_offset: int - offset from the beginning of the file where the format chunk data begins :param chunk_size: int - the number of bytes to read that contain the data
Methods
__init__([reader, chunk_offset, chunk_size, ...])The constructor for the format chunk.
Attributes
chunk_namechunk_offsetchunk_sizesample_count