that indeed looks like a solution! But I would need to know if jack_capture is recording
to stop it again because I want to use a button to trigger start/stop of the recording -
and I can’t think of a solution right away. Good input for the recording directory - I was
asking myself how to do that since I couldn’t find that in the help file.
On 10. Dec 2018, at 23:27, Kjetil Matheussen
<k.s.matheussen(a)gmail.com> wrote:
On Mon, Dec 10, 2018 at 11:18 PM jack(a)microfx.de <jack(a)microfx.de> wrote:
Ah, that seems to be the problem! Thanks for the quick reply!
My initial idea was to add this as well as a service but jack_capture needs user input -
is this possible with a service? Like an additional script that triggers the recording?
How about letting jack_capture listen to OSC?
jack_capture --help-osc
Then you can run jack_capture as root like this:
jack_capture --osc 7777 --filename-prefix
/recording/directory/jack_capture_recording_
And as a normal user you can run
oscsend localhost 7777 /jack_capture/tm/start
oscsend localhost 7777 /jack_capture/tm/stop
to start and stop recording.
Robin Gareus might help more on this, since he wrote that code.
I'm not entirely sure if this is the best way to use the OSC interface.