The wave module provides a convenient interface to the WAV sound format. It does not support compression/decompression, but it does support mono/stereo.
The wave module defines the following function and exception:
file[, mode]) |
'r'
, 'rb'
'w'
, 'wb'
A mode of 'r'
or 'rb'
returns a Wave_read
object, while a mode of 'w'
or 'wb'
returns
a Wave_write object. If mode is omitted and a file-like
object is passed as file, file.mode
is used as the
default value for mode (the "b" flag is still added if
necessary).
file, mode) |
See About this document... for information on suggesting changes.