Re: Ardour as a midi timecode slave
robertlazarski <[email protected]> Thu, 29 Apr 2021 11:39:41 -1000
| Newsgroups | gmane.comp.audio.ardour.user |
|---|---|
| Message-ID | <CABpPLBVk0PHtBiBdZPs=rC8eftm2MeXAuBB=i1kSK9RE_rhgtQ@mail.gmail.com> |
--===============0143069002767462453== Content-Type: multipart/alternative; boundary="000000000000fd987b05c12355d5" --000000000000fd987b05c12355d5 Content-Type: text/plain; charset="UTF-8" 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: [linux-fesf(robert)] /home/robert> jack_control File "/usr/bin/jack_control", line 80 print 'shit' ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('shit')? >> 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? > > >> 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. --000000000000fd987b05c12355d5 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 11:17 AM Paul= Davis <<a href=3D"mailto:[email protected]">paul@linuxaudiosys= tems.com</a>> 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:15 PM robertlazars= ki <<a href=3D"mailto:[email protected]" target=3D"_blank">robert= [email protected]</a>> 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>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? <br></div></div></div></blockquote><div><br= ></div><div><div style=3D"font-family:arial,helvetica,sans-serif">jack_tran= sport(1)</div></div></div></div></blockquote><div><br></div><div>I am runni= ng Jack2 1.9.12 on OpenSuse leap 15 and I don't have jack_transport ins= talled. Should I compile the latest jack from source? Also, I have some typ= e of python version problem on my system maybe with the commands I do have:= <br></div><div><br></div><div>[linux-fesf(robert)] <br>=C2=A0/home/robert&= gt; jack_control <br>=C2=A0 File "/usr/bin/jack_control", line 80= <br>=C2=A0 =C2=A0 print 'shit'<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0^<br>SyntaxError: Missing parentheses in call to &#= 39;print'. Did you mean print('shit')?<br></div><div><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 cl= ass=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0= px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div = dir=3D"ltr"><div class=3D"gmail_quote"><div></div><div><br></div><div>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 -r48= 000 -p1024 -n2 -Xseq " . Then I executed jack_mclk_dump, then "/u= sr/local/bin/jack_midi_clock --bpm 42 jack_mclk_dump:mclk_in" . Then &= #39;a2jmidid -e' , then Rosegarden. =C2=A0 </div><div><br></div><div>Wh= ere I am stuck is on the right syntax for a2j_control to map jack_midi_cloc= k: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 expe= ct the Uno to connect to Linux over ALSA.=C2=A0 </div></div></div></blockqu= ote><div><br></div><div><br></div><div><div style=3D"font-family:arial,helv= etica,sans-serif">a2j_control is a decoy. It does nothing but start a2jmidi= d (and without any arguments which is a problem if you need/want -e)</div><= div style=3D"font-family:arial,helvetica,sans-serif"><br></div><div style= =3D"font-family:arial,helvetica,sans-serif">"to map PORT-A to PORT-B&q= uot; is odd language. I assume you mean connect?</div><br></div><div><div s= tyle=3D"font-family:arial,helvetica,sans-serif"></div></div><blockquote cla= ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid = rgb(204,204,204);padding-left:1ex"><br></blockquote></div></div></blockquot= e><div><br></div><div>Terminology is important, 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 Rosegarden a2j external controller input, lik= e I expect I will need to do for a hardware midi interface. <br></div><div>= <br></div></div></div> --000000000000fd987b05c12355d5-- --===============0143069002767462453== 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 --===============0143069002767462453==--