Hi,<br><br>Thanks for that. Its certainly food for thought. Seems like a clean solution to me.<br>No work has been done on implementation yet here.. but Ill post back to what I choose to do eventually.<br><br>Cheers, -Harry<br>
<br><br><div class="gmail_quote">On Wed, Mar 23, 2011 at 12:39 PM, Paul Davis <span dir="ltr"><<a href="mailto:paul@linuxaudiosystems.com">paul@linuxaudiosystems.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
in ardour3, which the only implementation i want to talk about, we<br>
have a basic object called a Controllable which consists fundamentally<br>
of just a set() and get() method pair and a callback/signal that is<br>
called/emitted when the value changes. Controllables are used for just<br>
about everything in ardour that can "be controlled", and they all have<br>
unique, persistent ID.<br>
<br>
MIDI bindings link a particular MIDI message (e.g. a CC number) with<br>
the ID of a Controllable, and will generally cause the set() method of<br>
the object to be called when the message is received.<br>
<br></blockquote></div>