On 05/19/2014 10:26 PM, Vesa wrote: > On 05/19/2014 10:06 PM, Vesa wrote: >> To elaborate, I have this working already in such a way that existing, >> non-sample-exact models (ie. all of them) still work as they always >> have, even with controllers - it's just the new sample-exact >> buffer-passing methods that are still causing problems. > And now, even that is solved. > > As the first person in the history of mankind, I am now using a > sample-exact LFO-controller on a sample-exact volume knob in LMMS. > > Sounds pretty good! No more crackling. >
Status update: I now have sample-exact models working just fine. LFO gives sample-exact model values and modulating a volume knob with sample-exact LFO data works. I now also have logic in the recipient Amplifier (I'm using my Amplifier plugin as a "reference implementation" for sample-exact code) that only fetches the sample-exact buffers when the model announces it has sample-exact data available, and otherwise uses the simpler and faster single-value-function. No wasted cpu there. I now also have automations give pretty smooth data: automated (and even user-tweaked) values are interpolated within the model, so that each change is one period long. This is a kind of suboptimal solution but since the automation patterns currently work on a per-miditime basis, this is the best I can think of for now. At least it sounds pretty smooth on a period size of 256. The only problem is that this would sound less smooth on a smaller period size, as the interpolation window would be shorter... maybe we can figure out a way to get automation patterns to spit out sample-exact data as well, so the problem would be fixed at its source... ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ LMMS-devel mailing list LMMS-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lmms-devel