[Ardour-Users] An Ardour hack idea I'd like to try.
paul at linuxaudiosystems.com
Thu Jan 24 11:45:25 PST 2008
On Thu, 2008-01-24 at 14:28 -0500, Sean Corbett wrote:
> Good day all,
> This is mainly aimed at the Ardour developers, but as it doesn't
> pertain to the development of Ardour proper, I'm posting it here
> instead of the -dev list (where I've also been lurking for a while).
> If one were to attempt to add serial port functionality to Ardour,
> where would the best place be to start? The control surface code? My
> idea is to use a simple RS232-controlled relay board to turn on and
> off a "Recording" light in the tracking room of my studio. There are
> a ton of such relay boards out there, and I'm guessing there are an
> overabundance of serial port libraries I could use (in fact I probably
> already have some installed). Eventually I might attempt to do some
> custom control surface stuff, but I'd be better off keeping it simple
> for now.
its both simpler and more complex than you think. the easiest method
would just involve adding some code directly to ardour, handling the
same internal signal that the GUI does to indicate recording status.
a better way would be to have Ardour emit a few bytes (OSC, even) to a
pipe or socket, and have another app listening.
More information about the Ardour-Users