Re: Ardour as a midi timecode slave

robertlazarski <[email protected]> Thu, 29 Apr 2021 16:16:57 -1000
Newsgroups gmane.comp.audio.ardour.user
Message-ID <CABpPLBXi-_3yR0L7WhT0ESowDWBkx+gtNfCOeZHC3RCvTvEAgQ@mail.gmail.com>
--===============7460581668161984623==
Content-Type: multipart/alternative; boundary="0000000000008e490c05c127354d"

--0000000000008e490c05c127354d
Content-Type: text/plain; charset="UTF-8"

On Thu, Apr 29, 2021 at 12:01 PM Paul Davis <[email protected]>
wrote:

>
>
> On Thu, Apr 29, 2021 at 3:39 PM robertlazarski <[email protected]>
> wrote:
>
>>
>>
>> On Thu, Apr 29, 2021 at 11:17 AM Paul Davis <[email protected]>
>> wrote:
>>
>>>
>>>
>>> On Thu, Apr 29, 2021 at 3:15 PM robertlazarski <[email protected]>
>>> wrote:
>>>
>>>>
>>>>
>>>> 1) I need to automate the jack "rolling feature" via command line
>>>> execution, i.e. the play button in the qjackctl UI. That will start/stop
>>>> the transport in Rosegarden via jack_midi_clock start / stop commands. I
>>>> couldn't figure out how to automate the play button. Even without qjackctl
>>>> I am not sure how to start/stop jackd rolling from the command line. Any
>>>> pointers?
>>>>
>>>
>>> jack_transport(1)
>>>
>>
>> I am running Jack2 1.9.12 on OpenSuse leap 15 and I don't have
>> jack_transport installed. Should I compile the latest jack from source?
>> Also, I have some type of python version problem on my system maybe with
>> the commands I do have:
>>
>
> probably a packaging issue.
>
>
I was able to compile the latest jack (including removing the distro libs)
and a2jmidid from source ... the latter was my first introduction to meson
though I figured it out.


>> Terminology is important, and now I see that I spend too much time at my
>> day job using nmap.  I mean I need to connect the jack_midi_clock output to
>> the Rosegarden a2j external controller input, like I expect I will need to
>> do for a hardware midi interface.
>>
>
> jack_connect can do it; qjackctl's patchbay feature can do it. for
> example, i have the patchbay set up to always connect VCV Rack outputs
> appropriately, since it does not do that itself.
>

I was able execute this successfully:   jack_connect
jack_midi_clock:mclk_out "a2j:rosegarden [130] (playback): [0] record in"

jack_transport does exactly what I want via the start / stop commands.
However it is an interactive shell program. I want to execute each
jack_transport command with a background process at a timed interval using
jltctrigger (also for Adrour and OSC), for discussion purposes identical to
execution in crontab. Does jack_transport have to be interactive? I have
done some "expect" language interactive shell programming but thought i'd
ask.

Thanks!
Robert

--0000000000008e490c05c127354d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Thu, Apr 29, 2021 at 12:01 PM Paul=
 Davis &lt;<a href=3D"mailto:[email protected]">paul@linuxaudiosys=
tems.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le=
ft:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><div style=3D"font-family:arial,h=
elvetica,sans-serif"><br></div></div><br><div class=3D"gmail_quote"><div di=
r=3D"ltr" class=3D"gmail_attr">On Thu, Apr 29, 2021 at 3:39 PM robertlazars=
ki &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">robert=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote=
" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);=
padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div clas=
s=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Apr 29, 202=
1 at 11:17 AM Paul Davis &lt;<a href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a>&gt; wrote:<br></div><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"lt=
r"><div style=3D"font-family:arial,helvetica,sans-serif"><br></div></div><b=
r><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, =
Apr 29, 2021 at 3:15 PM robertlazarski &lt;<a href=3D"mailto:robertlazarski=
@gmail.com" target=3D"_blank">[email protected]</a>&gt; wrote:<br></=
div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div=
 dir=3D"ltr"><br></div><br><div class=3D"gmail_quote"><div>1) I need to aut=
omate the jack &quot;rolling feature&quot; via command line execution, i.e.=
 the play button in the qjackctl UI. That will start/stop the transport in =
Rosegarden via jack_midi_clock start / stop commands. I couldn&#39;t figure=
 out how to automate the play button. Even without qjackctl I am not sure h=
ow to start/stop jackd rolling from the command line. Any pointers? <br></d=
iv></div></div></blockquote><div><br></div><div><div style=3D"font-family:a=
rial,helvetica,sans-serif">jack_transport(1)</div></div></div></div></block=
quote><div><br></div><div>I am running Jack2 1.9.12 on OpenSuse leap 15 and=
 I don&#39;t have jack_transport installed. Should I compile the latest jac=
k from source? Also, I have some type of python version problem on my syste=
m maybe with the commands I do have: <br></div></div></div></blockquote><di=
v><br></div><div><div style=3D"font-family:arial,helvetica,sans-serif">prob=
ably a packaging issue. </div><br></div></div></div></blockquote><div><br><=
/div><div>I was able to compile the latest jack (including removing the dis=
tro libs) and a2jmidid from source ... the latter was my first introduction=
 to meson though I figured it out. <br></div><div><br> </div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid=
 rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_qu=
ote"><div></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=
=3D"ltr"><div class=3D"gmail_quote"><div><br></div><div>Terminology is impo=
rtant, and now I see that I spend too much time at my day job using nmap.=
=C2=A0 I mean I need to connect the jack_midi_clock output to the Rosegarde=
n a2j external controller input, like I expect I will need to do for a hard=
ware midi interface. <span class=3D"gmail_default" style=3D"font-family:ari=
al,helvetica,sans-serif"><br></span></div></div></div></blockquote><div><br=
></div><div style=3D"font-family:arial,helvetica,sans-serif">jack_connect c=
an do it; qjackctl&#39;s patchbay feature can do it. for example, i have th=
e patchbay set up to always connect VCV Rack outputs appropriately, since i=
t does not do that itself.<br></div></div></div></blockquote><div><br></div=
><div>I was able execute this successfully:=C2=A0=C2=A0 jack_connect jack_m=
idi_clock:mclk_out &quot;a2j:rosegarden [130] (playback): [0] record in&quo=
t;</div><div><br></div><div>jack_transport does exactly what I want via the=
 start / stop commands. However it is an interactive shell program. I want =
to execute each jack_transport command with a background process at a timed=
 interval using jltctrigger (also for Adrour and OSC), for discussion purpo=
ses identical to execution in crontab. Does jack_transport have to be inter=
active? I have done some &quot;expect&quot; language interactive shell prog=
ramming but thought i&#39;d ask. <br></div><div><br></div><div>Thanks! <br>=
</div><div>Robert<br></div><div><br></div><div><br></div></div></div>

--0000000000008e490c05c127354d--

--===============7460581668161984623==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ardour-Users mailing list
[email protected]
To unsubscribe  or change your mailing preferences please visit:
http://lists.ardour.org/listinfo.cgi/ardour-users-ardour.org

--===============7460581668161984623==--