Dear all,
I am trying to access the stream and apply certain processing (soundtouch)
INSIDE a function. The function is called by the on_metadata event.
However, I am lost in scopes. I cannot seem to access the source from inside
the function, even if I try to pass it as an extra argument in the on_metadata
event which calls the function.
Is there a way to access the source inside the function? Alternatively, what is
the way to modify a global variable from inside the function?
This approach does not work:
def process_meta(m,s) =
s = soundtouch(s,tempo=1.05)
end
s = on_metadata(print_meta(s),s)
thanks for any input.
Regards
Christo
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users