Back to index

python3.2  3.2.2
Classes | Namespaces | Functions | Variables
aifc.py File Reference

Go to the source code of this file.

Classes

class  aifc.Error
class  aifc.Aifc_read
class  aifc.Aifc_write

Namespaces

namespace  aifc

Functions

def aifc._read_long
def aifc._read_ulong
def aifc._read_short
def aifc._read_string
def aifc._read_float
def aifc._write_short
def aifc._write_long
def aifc._write_string
def aifc._write_float
def aifc.getparams
 def getversion(self): return self._version
def aifc.getmarkers
def aifc.getmark
def aifc.setpos
def aifc.readframes
def aifc._alaw2lin
def aifc._ulaw2lin
def aifc._adpcm2lin
def aifc._read_comm_chunk
def aifc._readmark
def aifc.setparams
 def setversion(self, version): if self._nframeswritten: raise Error, 'cannot change parameters after starting to write' self._version = version
def aifc.setmark
def aifc.tell
def aifc.writeframesraw
def aifc.writeframes
def aifc.close
def aifc._lin2alaw
def aifc._lin2ulaw
def aifc._lin2adpcm
def aifc._ensure_header_written
def aifc._init_compression
def aifc._write_header
def aifc._write_form_length
def aifc._patchheader
def aifc._writemarkers
def aifc.open

Variables

list aifc.__all__ = ["Error", "open", "openfp"]
int aifc._AIFC_version = 0xA2805140
float aifc._HUGE_VAL = 1.79769313486231e+308
 aifc.openfp = open
list aifc.fn = sys.argv[1]
tuple aifc.f = open(fn, 'r')
list aifc.gn = sys.argv[2]
tuple aifc.g = open(gn, 'w')
tuple aifc.data = f.readframes(1024)
 aifc._soundpos
 aifc._ssnd_seek_needed
 aifc._adpcmstate
 aifc._nchannels
 aifc._nframes
 aifc._sampwidth
 aifc._framerate
 aifc._framesize
 aifc._comptype
 aifc._compname
 aifc._convert
 aifc._nframeswritten
 aifc._datawritten
 aifc._datalength
 aifc._form_length_pos
 aifc._nframes_pos
 aifc._ssnd_length_pos
 aifc._marklength