Decode an Intel/DVI ADPCM coded fragment to a linear fragment.lin2adpcm($module, fragment, width, state, /) --
Convert samples to 4 bit Intel/DVI ADPCM encoding.alaw2lin($module, fragment, width, /) --
Convert sound fragments in a-LAW encoding to linearly encoded sound fragments.lin2alaw($module, fragment, width, /) --
Convert samples in the audio fragment to a-LAW encoding.ulaw2lin($module, fragment, width, /) --
Convert sound fragments in u-LAW encoding to linearly encoded sound fragments.lin2ulaw($module, fragment, width, /) --
Convert samples in the audio fragment to u-LAW encoding.ratecv($module, fragment, width, nchannels, inrate, outrate, state, weightA=1, weightB=0, /) --
Convert the frame rate of the input fragment.lin2lin($module, fragment, width, newwidth, /) --
Convert samples between 1-, 2-, 3- and 4-byte formats.byteswap($module, fragment, width, /) --
Convert big-endian samples to little-endian and vice versa.reverse($module, fragment, width, /) --
Reverse the samples in a fragment and returns the modified fragment.bias($module, fragment, width, bias, /) --
Return a fragment that is the original fragment with a bias added to each sample.add($module, fragment1, fragment2, width, /) --
Return a fragment which is the addition of the two samples passed as parameters.tostereo($module, fragment, width, lfactor, rfactor, /) --
Generate a stereo fragment from a mono fragment.tomono($module, fragment, width, lfactor, rfactor, /) --
Convert a stereo fragment to a mono fragment.mul($module, fragment, width, factor, /) --
Return a fragment that has all samples in the original fragment multiplied by the floating-point value factor.cross($module, fragment, width, /) --
Return the number of zero crossings in the fragment passed as an argument.maxpp($module, fragment, width, /) --
Return the maximum peak-peak value in the sound fragment.avgpp($module, fragment, width, /) --
Return the average peak-peak value over all samples in the fragment.findmax($module, fragment, length, /) --
Search fragment for a slice of specified number of samples with maximum energy.findfactor($module, fragment, reference, /) --
Return a factor F such that rms(add(fragment, mul(reference, -F))) is minimal.findfit($module, fragment, reference, /) --
Try to match reference as well as possible to a portion of fragment.rms($module, fragment, width, /) --
Return the root-mean-square of the fragment, i.e. sqrt(sum(S_i^2)/n).avg($module, fragment, width, /) --
Return the average over all samples in the fragment.minmax($module, fragment, width, /) --
Return the minimum and maximum values of all samples in the sound fragment.max($module, fragment, width, /) --
Return the maximum of the absolute value of all samples in a fragment.getsample($module, fragment, width, index, /) --