<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 24, 2021 at 1:44 PM Paul Davis <<a href="mailto:paul@linuxaudiosystems.com" target="_blank">paul@linuxaudiosystems.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"><div dir="ltr"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 24, 2021 at 5:16 PM robertlazarski <<a href="mailto:robertlazarski@gmail.com" target="_blank">robertlazarski@gmail.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"><div dir="ltr"><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></div></div></blockquote><div><br></div><div><div style="font-family:arial,helvetica,sans-serif">"system calls" is normally a term that describes what a program does it when needs to get some sort of the service from the operating system.</div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">I do not think that you mean that. I think you mean  using a terminal window and typing commands there.<br></div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">So your actual question is probably "can I send commands to ardour, from the command line, somehow?" The answer to that question: you can, using OSC. It's all described in at <a href="http://manual.ardour.org" target="_blank">manual.ardour.org</a> under "Control Surfaces". You will need a tool to send OSC commands ... "oscsend" is a common one.</div></div><div><br></div></div></div></blockquote><div><br></div><div>Yes indeed. This command worked great:  oscsend osc.udp://localhost:3819 /transport_play <br>  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><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></div></div></blockquote><div><br></div><div><div style="font-family:arial,helvetica,sans-serif">I don't think that there are any well known tools that will let you send an MIDI Song Position Pointer message (start and stop are not MIDI clock). THere are perhaps some low level tools that could write a few bytes to a MIDI port.You also do this in most scripting languages in a few lines.<br></div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif"> I hope you realize that sending start/stop will not provide synchronization between the sequencer and the LTC source: that would require continuous delivery of MIDI Clock messages, and they have absolutely nothing to do with LTC at all. <br></div><br></div></div></div></blockquote><div> </div><div>Thanks for the info. Some of my sequencers support SPP (Korg Oasys) and some don't (Genoqs Octopus). They all require a continuous midi clock when slaved in order to set the BPM. <br></div><div><br></div><div>My alternative to Linux and LTC is an expensive midi stomp pedal (Step Audio Status + optional pedal is $400) that has a midi clock generator. Yet's it not practical to get several of them for multiple devices. Compared to my feet, anything would be a step up in timing tightness. <br></div><div><br></div><div>I already have an instrument switcher stomp pedal for my Oberkorn analog sequencer as simply breaking the gate signal will suffice. I have midi lighting plans. So I have outgrown pedals for performance control. I need automation and already have LTC for my cameras. </div><div><br></div><div>Where Jack may be able to help me, is Bar:Beats:Ticks info (BBT). I found jack_midi_clock that is a 700 line C project on github. <br></div><div><br></div><div>I am green on Linux audio. I don't have a midi interface yet so I am in the proof of concept stage. I ran this command but nothing is happening - jack_mclk_dump is in another shell. Connections look good in qjackctl. <br></div><div><br></div><div>/usr/local/bin/jack_midi_clock --bpm 120 jack_mclk_dump:mclk_in</div><div><br></div><div>I tried a few Linux sequencers: Rosegarden, after I enabled jack and midi it only showed midi connections in the qjackctl alsa pane, not the midi pane. So I couldn't connect jack_midi_clock to it. And seq24, I couldn't get it to show anything in jack. I couldn't figure out how to sync aplaymidi with midi clock. <br></div></div><div class="gmail_quote"><br></div><div class="gmail_quote">Nevertheless, I am still encouraged by what jltctrigger and oscsend do as the equivalent of that is what I was hoping to find in the nearly 40 year history of LTC / midi hardware but never found it. <br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Thanks! <br></div><div class="gmail_quote">Robert<br></div><div class="gmail_quote"><div><br></div></div></div>