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