File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88The :mod: `audioop ` module contains some useful operations on sound fragments.
99It operates on sound fragments consisting of signed integer samples 8, 16 or 32
10- bits wide, stored in Python strings . All scalar items are integers, unless
10+ bits wide, stored in bytes objects . All scalar items are integers, unless
1111specified otherwise.
1212
1313.. index ::
@@ -126,7 +126,7 @@ The module defines the following variables and functions:
126126.. function :: lin2alaw(fragment, width)
127127
128128 Convert samples in the audio fragment to a-LAW encoding and return this as a
129- Python string . a-LAW is an audio encoding format whereby you get a dynamic
129+ bytes object . a-LAW is an audio encoding format whereby you get a dynamic
130130 range of about 13 bits using only 8 bit samples. It is used by the Sun audio
131131 hardware, among others.
132132
@@ -151,7 +151,7 @@ The module defines the following variables and functions:
151151.. function :: lin2ulaw(fragment, width)
152152
153153 Convert samples in the audio fragment to u-LAW encoding and return this as a
154- Python string . u-LAW is an audio encoding format whereby you get a dynamic
154+ bytes object . u-LAW is an audio encoding format whereby you get a dynamic
155155 range of about 14 bits using only 8 bit samples. It is used by the Sun audio
156156 hardware, among others.
157157
You can’t perform that action at this time.
0 commit comments