gnuradio.vocoder

class gnuradio.vocoder.codec2(gr::vocoder::codec2 self)

Proxy of C++ gr::vocoder::codec2 class

class gnuradio.vocoder.cvsd_encode_fb(resample=8, bw=0.5)

This is a wrapper for the CVSD encoder that performs interpolation and filtering necessary to work with the vocoding. It converts an incoming float (+-1) to a short, scales it (to 32000; slightly below the maximum value), interpolates it, and then vocodes it.

The incoming sampling rate can be anything, though, of course, the higher the sampling rate and the higher the interpolation rate are, the better the sound quality.

class gnuradio.vocoder.cvsd_decode_bf(resample=8, bw=0.5)

This is a wrapper for the CVSD decoder that performs decimation and filtering necessary to work with the vocoding. It converts an incoming CVSD-encoded short to a float, decodes it to a float, decimates it, and scales it (by 32000; slightly below the maximum value to avoid clipping).

The sampling rate can be anything, though, of course, the higher the sampling rate and the higher the interpolation rate are, the better the sound quality.

Previous topic

gnuradio.uhd

Next topic

gnuradio.wxgui

This Page