Re: Ardour as a midi timecode slave

Paul Davis <[email protected]> Thu, 29 Apr 2021 15:17:46 -0600
Newsgroups gmane.comp.audio.ardour.user
Message-ID <CAFa_cKnyZY6e6fca5scBETjaYdC91_pGoWHmXbge2r3iRKprGQ@mail.gmail.com>
--===============3599226882245217562==
Content-Type: multipart/alternative; boundary="0000000000007b771305c1230796"

--0000000000007b771305c1230796
Content-Type: text/plain; charset="UTF-8"

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)


> 2) I am trying to do everything on the command line without qjackctl. I
> started jackd with my user account as "/usr/bin/jackd -dalsa -dhw:USBPre2
> -r48000 -p1024 -n2 -Xseq " . Then I executed jack_mclk_dump, then
> "/usr/local/bin/jack_midi_clock --bpm 42 jack_mclk_dump:mclk_in" . Then
> 'a2jmidid -e' , then Rosegarden.
>
> Where I am stuck is on the right syntax for a2j_control to map
> jack_midi_clock:mclk_out to "rosegarden [131] (playback): record in". I
> think I need the mj2a flag? Please see my qjackctl session.xml file. I am
> about to buy a m-audio Uno midi interface and I am trying to figure out how
> to use a2j_control to connect jack_midi_clock to it as an ALSA device since
> I expect the Uno to connect to Linux over ALSA.
>


a2j_control is a decoy. It does nothing but start a2jmidid (and without any
arguments which is a problem if you need/want -e)

"to map PORT-A to PORT-B" is odd language. I assume you mean connect?


>

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

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:arial,helvetica,sans-serif"><br></div></div><br><div class=3D"gmai=
l_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Apr 29, 2021 at 3:15=
 PM robertlazarski &lt;<a href=3D"mailto:[email protected]">robertla=
[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);pa=
dding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=
=3D"gmail_quote"><div>1) I need to automate 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 how to start/stop jackd rolling from t=
he command line. Any pointers? <br></div></div></div></blockquote><div><br>=
</div><div><div style=3D"font-family:arial,helvetica,sans-serif" class=3D"g=
mail_default">jack_transport(1)</div><br></div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2=
04);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_quote"><div></di=
v><div><br></div><div>2) I am trying to do everything on the command line w=
ithout qjackctl. I started jackd with my user account as &quot;/usr/bin/jac=
kd -dalsa -dhw:USBPre2 -r48000 -p1024 -n2 -Xseq &quot; . Then I executed ja=
ck_mclk_dump, then &quot;/usr/local/bin/jack_midi_clock --bpm 42 jack_mclk_=
dump:mclk_in&quot; . Then &#39;a2jmidid -e&#39; , then Rosegarden. =C2=A0 <=
/div><div><br></div><div>Where I am stuck is on the right syntax for a2j_co=
ntrol to map jack_midi_clock:mclk_out to &quot;rosegarden [131] (playback):=
 record in&quot;. I think I need the mj2a flag? Please see my qjackctl sess=
ion.xml file. I am about to buy a m-audio Uno midi interface and I am tryin=
g to figure out how to use a2j_control to connect jack_midi_clock to it as =
an ALSA device since I expect the Uno to connect to Linux over ALSA.=C2=A0 =
</div></div></div></blockquote><div><br></div><div><br></div><div><div styl=
e=3D"font-family:arial,helvetica,sans-serif" class=3D"gmail_default">a2j_co=
ntrol is a decoy. It does nothing but start a2jmidid (and without any argum=
ents which is a problem if you need/want -e)</div><div style=3D"font-family=
:arial,helvetica,sans-serif" class=3D"gmail_default"><br></div><div style=
=3D"font-family:arial,helvetica,sans-serif" class=3D"gmail_default">&quot;t=
o map PORT-A to PORT-B&quot; is odd language. I assume you mean connect?</d=
iv><br></div><div><div style=3D"font-family:arial,helvetica,sans-serif" cla=
ss=3D"gmail_default"></div></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"><br>
</blockquote></div></div>

--0000000000007b771305c1230796--

--===============3599226882245217562==
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

--===============3599226882245217562==--