Lines Matching full:samples
10 It operates on sound fragments consisting of signed integer samples 8, 16 or 32
25 A few of the more complicated operations only take 16-bit samples, otherwise the
39 Return a fragment which is the addition of the two samples passed as parameters.
41 fragments should have the same length. Samples are truncated in case of overflow.
54 a-LAW encoding always uses 8 bits samples, so *width* refers only to the sample
62 Return the average over all samples in the fragment.
67 Return the average peak-peak value over all samples in the fragment. No
74 sample. Samples wrap around in case of overflow.
87 contain 2-byte samples.
97 minimizing the result. The fragments should both contain 2-byte samples.
105 Search *fragment* for a slice of length *length* samples (not bytes!) with
107 is maximal. The fragments should both contain 2-byte samples.
119 Convert samples to 4 bit Intel/DVI ADPCM encoding. ADPCM coding is an adaptive
132 Convert samples in the audio fragment to a-LAW encoding and return this as a
134 range of about 13 bits using only 8 bit samples. It is used by the Sun audio
142 Convert samples between 1-, 2- and 4-byte formats.
146 In some audio formats, such as .WAV files, 16 and 32 bit samples are
147 signed, but 8 bit samples are unsigned. So when converting to 8 bit wide
148 samples for these formats, you need to also add 128 to the result::
154 bit width samples.
159 Convert samples in the audio fragment to u-LAW encoding and return this as a
161 range of about 14 bits using only 8 bit samples. It is used by the Sun audio
167 Return the maximum of the *absolute value* of all samples in a fragment.
177 Return a tuple consisting of the minimum and maximum values of all samples in
183 Return a fragment that has all samples in the original fragment multiplied by
184 the floating-point value *factor*. Samples are truncated in case of overflow.
201 Reverse the samples in a fragment and returns the modified fragment.
220 Generate a stereo fragment from a mono fragment. Each pair of samples in the
221 stereo fragment are computed from the mono sample, whereby left channel samples
222 are multiplied by *lfactor* and right channel samples by *rfactor*.
228 u-LAW encoding always uses 8 bits samples, so *width* refers only to the sample
232 between mono and stereo fragments, i.e. all samples are treated equal. If this