99| :sl:`pygame module for loading and playing sounds`
1010
1111This module contains classes for loading Sound objects and controlling
12- playback. The mixer module is optional and depends on SDL_mixer. Your program
13- should test that :mod: `pygame.mixer ` is available and initialized before using
14- it.
12+ playback.
1513
1614The mixer module has a limited number of channels for playback of sounds.
1715Usually programs tell pygame to start playing audio and it selects an available
@@ -30,9 +28,7 @@ streams the music from the files without loading music at once into memory.
3028
3129The mixer module must be initialized like other pygame modules, but it has some
3230extra conditions. The ``pygame.mixer.init() `` function takes several optional
33- arguments to control the playback rate and sample size. Pygame will default to
34- reasonable values, but pygame cannot perform Sound resampling, so the mixer
35- should be initialized to match the values of your audio resources.
31+ arguments to control the playback rate and sample size.
3632
3733``NOTE ``: For less laggy sound use a smaller buffer size. The default
3834is set to reduce the chance of scratchy sounds on some computers. You can
@@ -91,7 +87,7 @@ The following file formats are supported
9187 the next nearest power of 2).
9288
9389 The devicename parameter is the name of sound device to open for audio
94- playback. Allowed device names will vary based on the host system.
90+ playback. Allowed device names will vary based on the host system.
9591 If left as ``None `` then a sensible default will be chosen for you.
9692
9793 Some platforms require the :mod: `pygame.mixer ` module to be initialized
@@ -331,7 +327,7 @@ The following file formats are supported
331327 :rtype: tuple
332328
333329 .. note ::
334- The linked and compile version numbers should be the same.
330+ The linked and compiled version numbers should be the same.
335331
336332 .. versionaddedold :: 2.0.0
337333
@@ -368,7 +364,7 @@ The following file formats are supported
368364 it and the Sound object.
369365
370366 For now buffer and array support is consistent with ``sndarray.make_sound ``
371- for Numeric arrays, in that sample sign and byte order are ignored. This
367+ for NumPy arrays, in that sample sign and byte order are ignored. This
372368 will change, either by correctly handling sign and byte order, or by raising
373369 an exception when different. Also, source samples are truncated to fit the
374370 audio sample size. This will not change.
0 commit comments