On Wednesday 27 February 2013 18:51:34 Patrick Shirkey wrote:
Right now, I have not even tried to make a meter, I just want to get the peak
value out of the subroutine and print it from outside. I can print it from
the inside but can't even figure out how to get it out.
One sample I started working with (there are others but this is one) can be
In the def show_peak(bus, message):
but this is more of a "batch" type setup rather than an interactive one.
So let's say I do something like this instead:
zpeak = message.structure['peak']
#print "message.structure: "
along with making a jack source and sink instead of a file source and fake
I can get the peaks printed in there via the print zpeak.
But I am going around in circles (actually, circles is too clean a shape) in
my head trying to figure out how to get that info out as it comes in.
Once I ge that, then I have to figure out how to hook it up to a meter widget.
One possibility I have looked at basing this on is this:
all the best,
Linux-audio-dev mailing list