Python stdlib module — audioop. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.add()Neutraladd(fragment1, fragment2, width)
Return a fragment which is the addition of the two samples passed as parameters.
.adpcm2lin()Neutraladpcm2lin(fragment, width, state)
Decode an Intel/DVI ADPCM coded fragment to a linear fragment.
.alaw2lin()Neutralalaw2lin(fragment, width)
Convert sound fragments in a-LAW encoding to linearly encoded sound fragments.
.avgpp()Neutralavgpp(fragment, width)
Return the average peak-peak value over all samples in the fragment.
.bias()Neutralbias(fragment, width, bias)
Return a fragment that is the original fragment with a bias added to each sample.
.byteswap()Neutralbyteswap(fragment, width)
Convert big-endian samples to little-endian and vice versa.
.cross()Neutralcross(fragment, width)
Return the number of zero crossings in the fragment passed as an argument.
.findfactor()Neutralfindfactor(fragment, reference)
Return a factor F such that rms(add(fragment, mul(reference, -F))) is minimal.
.findfit()Neutralfindfit(fragment, reference)
Try to match reference as well as possible to a portion of fragment.
| FQN | Field | |
|---|---|---|
| audioop | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import audioop