Thanks, but i dont want to use GUI sink. I want to get an array of
samples which represent the periodogram. So that i can do further
processing on them.
You should probably start by looking at the existing wx gui sinks, copy
and modify one:
The vector sink is not what you want here.