+ '''
+ 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.
+ '''
+
+ def __init__(self, fg, resample=8, bw=0.5):
+ '''
+ When using the CVSD vocoder, appropriate sampling rates are from 8k to 64k with resampling rates
+ from 1 to 8. A rate of 8k with a resampling rate of 8 provides a good quality signal.
+ '''