Is there a proper way to use jack_capture
in a MODEP context?
Been thinking about ways to record the output of my jamming with a MODEP pedalboard (sounds like @loopmasta has the same idea). Though there are some loopers which do work as LV2 plugins within MODEP (e.g. SooperLooper and Loopor), it doesn’t sound like they can bounce any audio to file. Would be cool, though.
It then hit me that @Giedrius had mentioned jack_capture
in a thread about #Zynthian, with @C0d3man. Though it may not have any interface in MOD UI, it could still work well from the CLI. So, installed from git, no complaint whatsoever. Ran the jack_capture
command and it complained that no session was running:
Cannot connect to server socket err = Connection refused
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
>>> jack_client_open() failed, status = 0x11
Then tried jack_server_control
which gave me a bunch of stuff ending with:
parameter name = auto-save
parameter id = s
parameter short decs = Save/restore netmaster connection state when restarted
parameter long decs = Save/restore netmaster connection state when restarted
parameter value = 0
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
Unknown source port in attempted (dis)connection src_name [port1] dst_name [jackrec:input1]
Now, jack_capture
stopped complaining. Was even able to produce audio files…
>>> Warning. Could not set higher priority for a SCHED_OTHER process using setpriority().
>>> Recording to "jack_capture_01.wav". Press <Return> or <Ctrl-C> to stop.
>>> Please wait while writing all data to disk. (shouldn't take long)
|"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""|
00:| |
01:| |
Buffer: 4.03s./4.03s Time: 0.10m. DHP: [ ] Overruns: 0 Xruns: 0
Finished.
But they’re empty. So, Jack (or, at least, jack_capture
) isn’t using the right audio port or something?
Would really be neat if we could record our jams.