commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 15/20: python3: update gr-vocoder for pytho


From: git
Subject: [Commit-gnuradio] [gnuradio] 15/20: python3: update gr-vocoder for python support
Date: Sun, 25 Dec 2016 03:59:59 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch python3
in repository gnuradio.

commit 867201d6df03006fde546ef9a3b285db5d7f1b96
Author: Douglas Anderson <address@hidden>
Date:   Thu Dec 22 12:56:28 2016 -0700

    python3: update gr-vocoder for python support
---
 gr-vocoder/python/vocoder/cvsd.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gr-vocoder/python/vocoder/cvsd.py 
b/gr-vocoder/python/vocoder/cvsd.py
index b6ce822..fc783e1 100644
--- a/gr-vocoder/python/vocoder/cvsd.py
+++ b/gr-vocoder/python/vocoder/cvsd.py
@@ -39,9 +39,9 @@ class cvsd_encode_fb(gr.hier_block2):
         from 1 to 8. A rate of 8k with a resampling rate of 8 provides a good 
quality signal.
         '''
 
-       gr.hier_block2.__init__(self, "cvsd_encode",
-                               gr.io_signature(1, 1, gr.sizeof_float), # Input 
signature
-                               gr.io_signature(1, 1, gr.sizeof_char))  # 
Output signature
+        gr.hier_block2.__init__(self, "cvsd_encode",
+                                gr.io_signature(1, 1, gr.sizeof_float), # 
Input signature
+                                gr.io_signature(1, 1, gr.sizeof_char))  # 
Output signature
 
         scale_factor = 32000.0
         self.interp = resample
@@ -70,9 +70,9 @@ class cvsd_decode_bf(gr.hier_block2):
         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.
         '''
-       gr.hier_block2.__init__(self, "cvsd_decode",
-                               gr.io_signature(1, 1, gr.sizeof_char),  # Input 
signature
-                               gr.io_signature(1, 1, gr.sizeof_float)) # 
Output signature
+        gr.hier_block2.__init__(self, "cvsd_decode",
+                                gr.io_signature(1, 1, gr.sizeof_char),  # 
Input signature
+                                gr.io_signature(1, 1, gr.sizeof_float)) # 
Output signature
 
         scale_factor = 32000.0
         self.decim = resample



reply via email to

[Prev in Thread] Current Thread [Next in Thread]