Re: Ardour as a midi timecode slave

robertlazarski <[email protected]> Sat, 24 Apr 2021 13:16:19 -1000
Newsgroups gmane.comp.audio.ardour.user
Message-ID <CABpPLBVGHH6yuiHGwxQUSMbHomJfJaqWGwDwtrzDc2vv7yXEUQ@mail.gmail.com>
--===============3901517419651692917==
Content-Type: multipart/alternative; boundary="00000000000069b07705c0c01af1"

--00000000000069b07705c0c01af1
Content-Type: text/plain; charset="UTF-8"

On Mon, Apr 19, 2021 at 9:47 AM Chris Caudle <[email protected]>
wrote:

> On 2021-04-19 12:51, robertlazarski wrote:
> > I have an idea for using Ardour to skip the need for overdubs by
> > triggering it
> > during the performance for sample playback and short midi sequences.
>
> Something like Linux Show Player might be better for single shot sample
> playback:
> https://www.linux-show-player.org/
>
> I'm not sure that it can sync to timecode though, you might have to send
> MIDI trigger messages.  But something like that which is made for
> sequencing sound cues for theater might be closer to what you are
> looking for.
>
> --
> Chris Caudle
>

Thanks for the link. I looked at the code and docs. I couldn't easily
figure out if it can slave over midi. I need automation during recording
i.e. no UI. To be honest I am more comfortable with C/C++ instead of
Python.

I did however stumble across ltctrigger. It does exactly what I imagined I
needed in my first post in this thread via C system calls:

"
[linux-fesf(robert)]
 /home/robert> cat jt.conf
01:22:58:00  /usr/bin/mplayer /home/robert/star.mp4
[linux-fesf(robert)]
 /home/robert> /usr/local/bin/jltctrigger -vF jt.conf
Parsing 'jt.conf'.. 1 entries.
#1 @7978.00 '/usr/bin/mplayer /home/robert/star.mp4'
Cannot lock down 86611866 byte memory area (Cannot allocate memory)
Warning: Can not lock memory.
Cannot use real-time scheduling (RR/5)(1: Operation not permitted)
JackClient::AcquireSelfRealTime error
# running /usr/bin/mplayer /home/robert/star.mp4
MPlayer 1.2.r38008-Packman-7 (C) 2000-2017 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing /home/robert/star.mp4.
 "

Two questions:

1) Staying on topic, can I execute ardour stop / play commands with system
calls? Just curious what I can do.

2) Via a jltctrigger system call I need to send midi start / stop with midi
clock to an external sequencer that doesn't support MTC or MMC (Genoqs
Octopus). Google isn't showing much that is recent. Can you recommend the
right tool for the job?

Thanks!
Robert

--00000000000069b07705c0c01af1
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 Mon, Apr 19, 2021 at 9:47 AM Chris=
 Caudle &lt;<a href=3D"mailto:[email protected]">[email protected]=
web.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-lef=
t:1ex">On 2021-04-19 12:51, robertlazarski wrote:<br>
&gt; I have an idea for using Ardour to skip the need for overdubs by <br>
&gt; triggering it<br>
&gt; during the performance for sample playback and short midi sequences.<b=
r>
<br>
Something like Linux Show Player might be better for single shot sample <br=
>
playback:<br>
<a href=3D"https://www.linux-show-player.org/" rel=3D"noreferrer" target=3D=
"_blank">https://www.linux-show-player.org/</a><br>
<br>
I&#39;m not sure that it can sync to timecode though, you might have to sen=
d <br>
MIDI trigger messages.=C2=A0 But something like that which is made for <br>
sequencing sound cues for theater might be closer to what you are <br>
looking for.<br>
<br>
-- <br>
Chris Caudle<br></blockquote><div><br></div><div><div class=3D"gmail_quote"=
>Thanks for the link. I looked at the code and docs. I couldn&#39;t easily =
figure out if it can slave over midi. I need automation during recording i.=
e. no UI. To be honest I am more comfortable with C/C++ instead of Python.=
=C2=A0 <br></div><div class=3D"gmail_quote"><br></div><div class=3D"gmail_q=
uote">I did however stumble across ltctrigger. It does exactly what I imagi=
ned I needed in my first post in this thread via C system calls: <br></div>=
<div class=3D"gmail_quote"><br></div><div class=3D"gmail_quote">&quot;<br><=
/div><div class=3D"gmail_quote">[linux-fesf(robert)] <br>=C2=A0/home/robert=
&gt; cat jt.conf <br>01:22:58:00 =C2=A0/usr/bin/mplayer /home/robert/star.m=
p4<br></div><div class=3D"gmail_quote">[linux-fesf(robert)] <br>=C2=A0/home=
/robert&gt; /usr/local/bin/jltctrigger -vF jt.conf =C2=A0<br>Parsing &#39;j=
t.conf&#39;.. 1 entries.<br>#1 @7978.00 &#39;/usr/bin/mplayer /home/robert/=
star.mp4&#39;<br>Cannot lock down 86611866 byte memory area (Cannot allocat=
e memory)<br>Warning: Can not lock memory.<br>Cannot use real-time scheduli=
ng (RR/5)(1: Operation not permitted)<br>JackClient::AcquireSelfRealTime er=
ror<br># running /usr/bin/mplayer /home/robert/star.mp4<br>MPlayer 1.2.r380=
08-Packman-7 (C) 2000-2017 MPlayer Team<br>do_connect: could not connect to=
 socket<br>connect: No such file or directory<br>Failed to open LIRC suppor=
t. You will not be able to use your remote control.<br><br>Playing /home/ro=
bert/star.mp4.</div><div class=3D"gmail_quote">=C2=A0&quot;</div><div class=
=3D"gmail_quote"><br></div><div class=3D"gmail_quote"> Two questions: <br><=
/div><div class=3D"gmail_quote"><br></div><div class=3D"gmail_quote">1) Sta=
ying on topic, can I execute ardour stop / play commands with system calls?=
 Just curious what I can do. <br></div><div class=3D"gmail_quote"><br></div=
><div class=3D"gmail_quote">2) Via a jltctrigger system call I need to send=
 midi start / stop with midi clock to an external sequencer that doesn&#39;=
t support MTC or MMC (Genoqs Octopus). Google isn&#39;t showing much that i=
s recent. Can you recommend the right tool for the job? <br></div><div clas=
s=3D"gmail_quote"><br></div><div class=3D"gmail_quote">Thanks! <br></div><d=
iv class=3D"gmail_quote">Robert</div>=C2=A0</div></div></div>

--00000000000069b07705c0c01af1--

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

--===============3901517419651692917==--