OOT Module with shape error

2021-05-25 Thread Elmore's
I am attempting to add an OOT module to my flowgraph. I have generated a General block which I want to place between an Audio Source and a Multiply Constant. The Audio Source is set at a 48K sample rate. Input and Output are float. As a test (I have never tried using an OOT module before) I sai

Re: OOT Module with shape error

2021-05-25 Thread Jeff Long
The framework can give you different size input and output buffers. In this case, you would: nitems = len(input_items[0]) out[:nitems] = input_items[0] You may have to do more checks, of course, because input could be larger than output. On Tue, May 25, 2021 at 5:03 PM Elmore's wrote: > I am a

Gnuradio: SineWave generator python block choppy audio out

2021-05-25 Thread Mitja kocjančič
for testing something I am trying to develop my own SineWave generator using python block in gnuradio the block is here """ Embedded Python Blocks: Each time this file is saved, GRC will instantiate the first class it finds to get ports and parameters of your block. The arguments to __init__ wi

Re: Gnuradio: SineWave generator python block choppy audio out

2021-05-25 Thread Marcus Müller
Hi Mitja! Great to have you here :) Couple of things up front: 1. This is GNU Radio 3.7. Especially if you want to implement things in Python blocks, 3.8 or later is a *must*. GNU Radio 3.7 is really just in legacy keepalive mode, not actively developed. Please update to GNU Radio 3.8 or 3.9.