Markus,

I really believe that the gui is not freezing. What you see is a result of the fact the the peak detect outputs a binary 1 or 0 signal.

Connect the peak detect to a char_to_float block, and then to a numbersink. Setup the numbersink for a min of 0 and a max of 1. The numbersink will clearly show what state the peak detector is in. Make sure to include a throttle somewhere.

Take a look at the source code for peak detect, perhaps the comments, or the implementation can help you to figure out what the parameters like threshold or alpha mean. Also, add a few printfs to the work method, to verify what the block is outputting, and if its really freezing/stopped working.

Hope that helps.
-Josh




_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to