[Stk] .tick() and callback function

Beinan Li li.beinan at gmail.com
Thu Jan 15 16:57:51 PST 2009


Hi,

Might be an obvious one but I'm confused..
I'm trying to monitor mic input and save everything to a wave file before an
interrupting signal
like CTRL-C. So what I do is to use the call-back function and try to use a
FileWvOut object.tick()
to take the void* inputBuffer, which is first interpreted as a StkFloat. But
I notice that .tick() takes
StkFrame as input parameter.

So my questions are:

   1. How to "tick" the data (inputBuffer) in this case?
   2. What if my input is multichannel in this case?

Thanks!

Beinan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/stk/attachments/20090115/8581da8e/attachment.html 


More information about the Stk mailing list