[Stk] Using filters in non-reatime
pravoe at gmail.com
pravoe at gmail.com
Wed Oct 3 15:53:26 PDT 2007
Hello there, I'm developing an OpenAL application using STK to generate and
process my data, but I'm having trouble figuring out how to apply a filter.
Take the following piece of code for example, using a generator to fill an
array of pcm data.
for(int time=0; time<length; time+=1)
pcmdata[i] = A * generator.tick();
For arguements sake, lets say this data is sometimes supplied by an external
PCM file, so I'm not always going to be using a generator.
My question is would it be possible to apply say a 1-pole lp filter to this
data?
- Mick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/stk/attachments/20071003/d1ab1c96/attachment.html>
More information about the Stk
mailing list