How to get a list of OSC controls?

4 replies [Last post]
mcgruff
User offline. Last seen 1 year 2 weeks ago. Offline
Joined: 2008-08-30
Posts:

Hi

I'm writing a new gentoo ebuild to allow Ardour OSC control via a TV remote controller and I need to get a list of OSC controls. However, when I tried ardour2 -b the app just launches as normal. Using 2.8.11.

johnstrr
User offline. Last seen 2 days 4 hours ago. Offline
Joined: 2010-06-01
Posts:

I found OSC commands in the source file libs/ardour/osc.cc, by searching for "REGISTER_CALLBACK". The OSC command "access_action" takes a string argument; I found valid values for this in editor_actions.cc and ardour_id_ed.cc, searching for "ActionManager::register_action". I'm sure that Paul can give a more authoritative answer, but I hope this helps in the meantime.

mcgruff
User offline. Last seen 1 year 2 weeks ago. Offline
Joined: 2008-08-30
Posts:

Thanks John. That helps me to make up some sample lirc.conf files.

It would also be good to have a simple way for end users to check the current list of OSC commands so they can pick and choose what they want to enable on their remote. I'm hoping ardour2 -b hasn't been deprecated or anything.

PS: see this post on the gentoo forums if anyone wants to download the ebuild.

http://forums.gentoo.org/viewtopic-p-6539539.html#6539539

paul
paul's picture
User offline. Last seen 1 hour 38 min ago. Offline
Joined: 2006-03-16
Posts:

@mcgruff: ardour2 -b still works but stupidly requires to still identify a session to load ... then it prints out all known actions.

mcgruff
User offline. Last seen 1 year 2 weeks ago. Offline
Joined: 2008-08-30
Posts:

Great thanks - I gave up too soon :)