Citerar Vesa <dii....@nbl.fi>:
> Part of the problem is no
> sample-exactness in playback, but part is because the step size prevents
> gradual change so that even with sample-exactness the problem still
> exists. Solving this would make peak/LFO controllers much more useful
> and flexible, as you could connect them to volume knobs on instrument
> tracks without quality loss.

My gut feeling says changing the step size should be easier than  
implementing sample-exactness. And if I'm reading you right it might  
have more impact than the sample-exactness. So, I'd go for that first.


> 1. Interpolate all volume controls (and others where similar issues
> exist) - so that volume transitions would always be smooth and not
> sudden: when the volume is changed, it slides from oldvalue to newvalue
> in the time of one period. The problem is, the behaviour and quality of
> the controls will still be dependent on period size ("buffer size" in
> settings). Regardless, this could still be a good idea to do because we
> don't always get sample-exact data, and this way we could smooth the
> changes in automations as well.

You're talking about interpolation at the receiving end? I don't off  
the top of my head see why that should depend on period size. Just  
have a target value to aim for and a maximum change per period (frame,  
millisecond, whatever), change the value of the control at that speed  
until it hits the target (which could take less than a period, too!).  
When the next period comes, update target (if needed) and carry on.


> Sidenote: For sample-exactness, I think the model should also offer a
> second way of fetching sample-exact values - not just per-frame, which
> is wasteful in CPU cycles, but a way to fetch an entire period of values
> at once as an array or QVector.  This way we could implement
> sample-exact controls more effectively and also have it as a playback
> option, not just in export.

I'd say that is a prerequisite for adding any model-side sample-exactness.

-- 
ra...@iki.fi
softrabbit on #lmms



------------------------------------------------------------------------------
"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

Reply via email to