I’m trying to measure the throughput of my flow graph. In order to
accomplish this, I’m creating a transparent float block and then
measuring the btyes/second that is going through the block.
Unfortunately, my block is not acting transparently. I’m getting strange
distortion when doing AM demodulation.
Below is my grextras code:
Is there something that I am missing?
class emptyBlock(gr.block):
def init(self, args):
gr.block.init(self, name=“empty”, in_sig=[float32],
out_sig=[float32])
On Tue, Dec 11, 2012 at 07:00:42PM -0500, Tommy T. II wrote:
I’m trying to measure the throughput of my flow graph. In order to accomplish
this, I’m creating a transparent float block and then measuring the btyes/second
that is going through the block. Unfortunately, my block is not acting
transparently. I’m getting strange distortion when doing AM demodulation.
Try without self.consume(); grextras using auto_consuming in sync
blocks, although I don’t know what happens if you do call it (my
hypothesis is that if I’m right, your audio should sound choppy).
MB
PS: Or is this the omninous Bugsquatch people have been talking about?
Yes. Writing blocks in Python is not at all recommended except in the
development stage. Once you know how your block works
mathematically/algorithmically/logically, move it over to a C++ block.
Yes. Writing blocks in Python is not at
all recommended except in the development stage. Once you know how your
block works mathematically/algorithmically/logically, move it over to a
C++ block.
Tom
Processing on low-sample-rate stuff is also fine.
I do that in my meteor-detector, since I’m only processing about 200sps,
although not using the gr-extras mechanism.
Links:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.