Hi, first of all thanks a lot for your initial efforts on this feature! I propose to add a boolean property to AutomatableModel which indicates whether the model represents a linear or logarithmic value - or even more generic, an enumeration which could include further progression formulas in the future. Per default, models behave linearly like now. Other progression formulas could be specified at model construction time - specifically for frequency models etc.
For the actual implementation, you only need to extend AutomatableModel::setAutomatedValue() and AutomatableModel::controllerValue(). Depending on the progression formula they would set/return different values. Shouldn't be too hard to implement now that you have the formula as well. Inside these functions you also have access to min and max values of the model. HTH Toby ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ LMMS-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lmms-devel
