diff options
Diffstat (limited to 'gr-vocoder/python/cvsd.py')
-rw-r--r-- | gr-vocoder/python/cvsd.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gr-vocoder/python/cvsd.py b/gr-vocoder/python/cvsd.py index 27b06ddeb..e9b3ee305 100644 --- a/gr-vocoder/python/cvsd.py +++ b/gr-vocoder/python/cvsd.py @@ -1,24 +1,24 @@ #!/usr/bin/env python # # Copyright 2007,2011 Free Software Foundation, Inc. -# +# # This file is part of GNU Radio -# +# # GNU Radio is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. -# +# # GNU Radio is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with GNU Radio; see the file COPYING. If not, write to # the Free Software Foundation, Inc., 51 Franklin Street, # Boston, MA 02110-1301, USA. -# +# from gnuradio import gr import vocoder_swig @@ -32,7 +32,7 @@ class cvsd_encode_fb(gr.hier_block2): 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. ''' - + def __init__(self, resample=8, bw=0.5): ''' When using the CVSD vocoder, appropriate sampling rates are from 8k to 64k with resampling rates |