aifc.setmark(id, pos, name) Add a mark with the given id (larger than 0), and the given name at the given position. This method can be called at any time before close().
aifc.getnframes() Return the number of audio frames in the file.
aifc.getparams() Returns a namedtuple() (nchannels, sampwidth, framerate, nframes, comptype, compname), equivalent to output of the get*() methods.
aifc.getmarkers() Return a list of markers in the audio file. A marker consists of a tuple of three elements. The first is the mark ID (an integer), the second is the mark position in frames from the beginning of the data (an integer), the third is the name of the mark (a string).
aifc.getsampwidth() Return the size in bytes of individual samples.
aifc.rewind() Rewind the read pointer. The next readframes() will start from the beginning.
aifc.readframes(nframes) Read and return the next nframes frames from the audio file. The returned data is a string containing for each frame the uncompressed samples of all channels.
aifc.getnchannels() Return the number of audio channels (1 for mono, 2 for stereo).
aifc.getmark(id) Return the tuple as described in getmarkers() for the mark with the given id.
aifc.aiff() Create an AIFF file. The default is that an AIFF-C file is created, unless the name of the file ends in '.aiff' in which case the default is an AIFF file.
Page 661 of 663