Oh, forget about what I said. It's already implemented and what needs
to be done is to actually make use of it. You can call
AutomatableModel::value(frameOffset) where frameOffset is in
[0...BufferSize]. This will retrieve sample-exact values from the
controller.

Code like

float ampValue = m_ampModel.value()

for(int i=0;i<BS;++i)
  outBuf[i] *= ampValue


would be rewritten as


for(int i=0;i<BS;++i)
  outBuf[i] *= m_ampModel.value(i)


This would of course have a severe impact on performance - probably
one of the reasons we didn't deploy this in many places yet.

Toby

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
LMMS-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmms-devel

Reply via email to