• Home
  • Raw
  • Download

Lines Matching full:samples

15 It operates on sound fragments consisting of signed integer samples 8, 16, 24
20 Support for 24-bit samples was added.
34 A few of the more complicated operations only take 16-bit samples, otherwise the
48 Return a fragment which is the addition of the two samples passed as parameters.
50 fragments should have the same length. Samples are truncated in case of overflow.
63 a-LAW encoding always uses 8 bits samples, so *width* refers only to the sample
69 Return the average over all samples in the fragment.
74 Return the average peak-peak value over all samples in the fragment. No
81 sample. Samples wrap around in case of overflow.
86 "Byteswap" all samples in a fragment and returns the modified fragment.
87 Converts big-endian samples to little-endian and vice versa.
102 contain 2-byte samples.
112 minimizing the result. The fragments should both contain 2-byte samples.
120 Search *fragment* for a slice of length *length* samples (not bytes!) with
122 is maximal. The fragments should both contain 2-byte samples.
134 Convert samples to 4 bit Intel/DVI ADPCM encoding. ADPCM coding is an adaptive
147 Convert samples in the audio fragment to a-LAW encoding and return this as a
149 range of about 13 bits using only 8 bit samples. It is used by the Sun audio
155 Convert samples between 1-, 2-, 3- and 4-byte formats.
159 In some audio formats, such as .WAV files, 16, 24 and 32 bit samples are
160 signed, but 8 bit samples are unsigned. So when converting to 8 bit wide
161 samples for these formats, you need to also add 128 to the result::
167 or 32 bit width samples.
172 Convert samples in the audio fragment to u-LAW encoding and return this as a
174 range of about 14 bits using only 8 bit samples. It is used by the Sun audio
180 Return the maximum of the *absolute value* of all samples in a fragment.
190 Return a tuple consisting of the minimum and maximum values of all samples in
196 Return a fragment that has all samples in the original fragment multiplied by
197 the floating-point value *factor*. Samples are truncated in case of overflow.
214 Reverse the samples in a fragment and returns the modified fragment.
233 Generate a stereo fragment from a mono fragment. Each pair of samples in the
234 stereo fragment are computed from the mono sample, whereby left channel samples
235 are multiplied by *lfactor* and right channel samples by *rfactor*.
241 u-LAW encoding always uses 8 bits samples, so *width* refers only to the sample
245 between mono and stereo fragments, i.e. all samples are treated equal. If this