You could write something to read into a buffer and then reverse the buffer as output
MyCo wrote:float mem;// thats about 16 seconds at 120bpm.
has to be:
float mem;// thats about 7 seconds at 44,1kHz samplerate.
rullyastronout wrote:i think vst system, has a block of sample given depend on souncard latency setting, before we can start the process.
so we actually can reverse the sample between a block of samples, but i don't know how to do it in sm. in c++ you could.
i hope there some one can tell me how to
==>get ablock of sample
==>send out at no delay.
Luckily, if the effect has a "look ahead buffer" like this we could report that to the host which can then (if supported) compensate for it.
Unfortunately there's no way to report the latency of SM plugin to the host.
That feature is high on my wish list.
void AGain::processReplacing (float **inputs, float **outputs, long sampleFrames)
float *in1 = inputs;
float *in2 = inputs;
float *out1 = outputs;
float *out2 = outputs;
while (--sampleFrames >= 0)//depend on sampleframe given
//the look ahead buffer
float Left[index] = *in1++;
//and so on
Users browsing this forum: No registered users and 1 guest