Mercurial > pygame
diff docs/ref/sndarray.html @ 711:48d403fff022
more doc updates from Dan Richter
| author | pygame |
|---|---|
| date | Thu, 01 Jun 2006 07:00:27 +0000 |
| parents | bccb34d34139 |
| children | 795962dade0b |
line wrap: on
line diff
--- a/docs/ref/sndarray.html Mon May 29 03:57:59 2006 +0000 +++ b/docs/ref/sndarray.html Thu Jun 01 07:00:27 2006 +0000 @@ -50,7 +50,8 @@ <tr><td><a href="sndarray.html#pygame.sndarray.make_sound">pygame.sndarray.make_sound</a> - <font size=-1>convert an array into a Sound object</font></td><td>convert an array into a Sound object</td></tr> </table></small></ul> <p>Functions to convert between Numeric arrays and Sound objects. This module will only be available when pygame can use the external Numeric package. </p> -<p>Sound data is made of thousands of samples per second. Each sample is an 8-bit or 16-bit integer, depending on the data format. <tt>A</tt> stereo sound file has two values per sample, while a mono sound file only has one. </p> +<p>Sound data is made of thousands of samples per second, and each sample is the amplitude of the wave at a particular moment in time. For example, in 22-kHz format, element number 5 of the array is the amplitude of the wave after 5/22000 seconds. </p> +<p>Each sample is an 8-bit or 16-bit integer, depending on the data format. <tt>A</tt> stereo sound file has two values per sample, while a mono sound file only has one. </p> <p>Numeric does not use unsigned 16-bit integers; they will be converted to signed 16-bit arrays. </p> <!--COMMENTS:pygame.sndarray--> <br>
