<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 19, 2021 at 9:47 AM Chris Caudle <<a href="mailto:6807.chris@pop.powweb.com">6807.chris@pop.powweb.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2021-04-19 12:51, robertlazarski wrote:<br>
> I have an idea for using Ardour to skip the need for overdubs by <br>
> triggering it<br>
> during the performance for sample playback and short midi sequences.<br>
<br>
Something like Linux Show Player might be better for single shot sample <br>
playback:<br>
<a href="https://www.linux-show-player.org/" rel="noreferrer" target="_blank">https://www.linux-show-player.org/</a><br>
<br>
I'm not sure that it can sync to timecode though, you might have to send <br>
MIDI trigger messages.  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="gmail_quote">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.  <br></div><div class="gmail_quote"><br></div><div class="gmail_quote">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: <br></div><div class="gmail_quote"><br></div><div class="gmail_quote">"<br></div><div class="gmail_quote">[linux-fesf(robert)] <br> /home/robert> cat jt.conf <br>01:22:58:00  /usr/bin/mplayer /home/robert/star.mp4<br></div><div class="gmail_quote">[linux-fesf(robert)] <br> /home/robert> /usr/local/bin/jltctrigger -vF jt.conf  <br>Parsing 'jt.conf'.. 1 entries.<br>#1 @7978.00 '/usr/bin/mplayer /home/robert/star.mp4'<br>Cannot lock down 86611866 byte memory area (Cannot allocate memory)<br>Warning: Can not lock memory.<br>Cannot use real-time scheduling (RR/5)(1: Operation not permitted)<br>JackClient::AcquireSelfRealTime error<br># running /usr/bin/mplayer /home/robert/star.mp4<br>MPlayer 1.2.r38008-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 support. You will not be able to use your remote control.<br><br>Playing /home/robert/star.mp4.</div><div class="gmail_quote"> "</div><div class="gmail_quote"><br></div><div class="gmail_quote"> Two questions: <br></div><div class="gmail_quote"><br></div><div class="gmail_quote">1) Staying on topic, can I execute ardour stop / play commands with system calls? Just curious what I can do. <br></div><div class="gmail_quote"><br></div><div class="gmail_quote">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? <br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Thanks! <br></div><div class="gmail_quote">Robert</div> </div></div></div>