Re: OOT Module with shape error

2021-05-26 Thread Jeff Long
x. On Wed, May 26, 2021 at 7:56 PM Elmore Family wrote: > Jeff, > > This didn’t work – same error. > > Jim > > *From:* Jeff Long > *Sent:* Tuesday, May 25, 2021 5:22 PM > *To:* GNURadio Discussion List > *Subject:* Re: OOT Module with shape error > > T

Re: OOT Module with shape error

2021-05-26 Thread Elmore Family
Jeff, This didn’t work – same error. Jim From: Jeff Long Sent: Tuesday, May 25, 2021 5:22 PM To: GNURadio Discussion List Subject: Re: OOT Module with shape error The framework can give you different size input and output buffers. In this case, you would: nitems = len(input_items[0]) out

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

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