[Stk] Using filters in non-reatime
pravoe@gmail.com
pravoe at gmail.com
Wed, 3 Oct 2007 23:53:26 +0100
------=_Part_22478_32234043.1191452006252
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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
------=_Part_22478_32234043.1191452006252
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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.
<br><br>for(int time=0; time<length; time+=1)<br> pcmdata[i] = A * generator.tick();<br><br>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.
<br><br>My question is would it be possible to apply say a 1-pole lp filter to this data?<br><br>- Mick<br>
------=_Part_22478_32234043.1191452006252--