Help with modifying gr.threshold_ff

Hi there,

I’m very much a GnuRadio beginner using it for a final year physics
project. Due to the time restraints on my project I apologise for my
complete lack of knowledge in almost all areas relating to GnuRadio.

I’m currently trying to build a noise riding threshold system. For this
to work
I need the threshold level (both hi and low, although they are set to
the same value in my situation) to be able to change with time. My
thinking was
to modify use one of the many existing blocks to create my threshold
lever and then output this value. This would then be used as a secondary
input for gr.threshold_ff, as well as the normal float stream. If anyone
could let me know how to do this, or point me to an example it would be
massively appreciated. I’m guessing I may have to compile it from source
so if anyone could walk me through that gently I would be eternally in
their debt.

As I said, I’ve little to no knowledge of the way C++ works, I’ve spent
all of my
undergrad career using Matlab. I feel the people who set the project may
have
not entirely thought through the scale of the task.

Regards,

Tom