What does a gapper effect do? Writing an effect has a certain amount of boilerplate and testing it is tricky right now, but the inner loop is about as simple as it gets:
for (int i = 0; i + 1 < numSamples; i += 2) { // left channel pOutput[i] = YourCodeHere(pInput[i]); // right channel pOutput[i + 1] = YourCodeHere(pInput[i + 1]); } (check out https://github.com/rryan/mixxx features_effects branch for code, and https://github.com/mixxxdj/mixxx developer_skins is the skin it can be tested with) On Sun, 2014-01-19 at 12:36 -0800, Philip Whelan wrote: > I would like to help if you need it. I also qant a gapper plugin. I am > willing to make it. It needs bpm and beat information to work. I found > it quite complicated to do the last time I attempted to do it. > ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Get Mixxx, the #1 Free MP3 DJ Mixing software Today http://mixxx.org Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel