rest25/library/wave.rst => rest262/library/wave.rst
n1-.. % Documentations stolen and LaTeX'ed from comments in file.
2- 
3- 
4:mod:`wave` --- Read and write WAV files
5========================================
6
7.. module:: wave
8   :synopsis: Provide an interface to the WAV sound format.
9.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
n10- 
n7+.. Documentations stolen from comments in file.
11
12The :mod:`wave` module provides a convenient interface to the WAV sound format.
13It does not support compression/decompression, but it does support mono/stereo.
14
15The :mod:`wave` module defines the following function and exception:
16
17
18.. function:: open(file[, mode])
164.. method:: Wave_write.setnframes(n)
165
166   Set the number of frames to *n*. This will be changed later if more frames are
167   written.
168
169
170.. method:: Wave_write.setcomptype(type, name)
171
t172-   Set the compression type and description.
t169+   Set the compression type and description. At the moment, only compression type
170+   ``NONE`` is supported, meaning no compression.
173
174
175.. method:: Wave_write.setparams(tuple)
176
177   The *tuple* should be ``(nchannels, sampwidth, framerate, nframes, comptype,
178   compname)``, with values valid for the :meth:`set\*` methods.  Sets all
179   parameters.
180
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op