[Stk] SineWave and FX

Adams, Alexander aadams85 at uncc.edu
Tue Sep 18 10:00:20 PDT 2012


Is there any way to use generator and SineWave as input to some FX like pitch shift and filter? Also I need to send two signals out of the application and they need to be separated either by panning or output selection (i have 4 outs :: NI Komplete Audio 6).  What would be the best way to accomplish this.  I have been playing around with this for setting sinewave  generator as an input:

 for ( unsigned int i=0; i<nBufferFrames; i++ ) {
*outputSamples++ =
(1.0 - data->pan) * data->pitshift->tick( data->pitshift->tick
( (*inputSamples++ =sine->tick()) ) );
*outputSamples++ =
data->pan * data->pitshift->tick( data->pitshift->tick
( (*inputSamples++ =sine->tick()) ) );
but it breaks at the return last frame in Sinewave.h

One Last Question, i am eventually going to need to implement this in a gui that is currently in OpenGL C++, tips or tricks would be greatly appreciated

Thanks

-Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/stk/attachments/20120918/bcf0f286/attachment-0001.html 


More information about the Stk mailing list