[ecasound] Ecasound and timebase master

From: Julien Claassen <julien@email-addr-hidden>
Date: Wed Jul 17 2013 - 21:50:37 EEST

Hello Kai!
   I wondered, if it would be possible for Ecasound to become a timebase
master. So, taht it can give JACK hints about beats and bars. I took a look at
klick, the metronome by Florian Schmidt, if I'm not mistaken. I think I found
the relevant parts in metronome_jack.cc, which you find attached. the
process_callback looks rather promising.
   My question: would it be possible to easily add this functionality to
Ecasound, sayas a built-in object? Perhaps as in input object (like null) or
as a modifier (effect) or perhaps as a general feature. As an effect it ouwld
be most valuable, since it might be possible to use other controllers on it.
Though I dare say, that as an effect it can't produce its own click sound.
   The reason I am not really comfortable with using klick itself is this: in
its interactive mode, it can't be used as a timebase master and if its not in
interactive mode, it can't be adjusted on the fly. It would have to be killed
and restarted, which is awkward. Besides Ecasound is the most feasable
transport master after all, it being the DAW in the system.
   The plan is this: have a software, that can generate JACK transport timebase
(or whatever it's officially called) and use jack_midi_clock to generate
start/stop and clock events from it, to sync it to Midish. I know, that
implementing more MIDI capabilities in Ecasound would take a huge effort and
is out fo the question for the time being. But I thought, that this might fit
in with the current structure and klick looked reasonable small, so it would
be easy to pinch the code. I'd be prepared to do some work on it, on my own,
but I will need guidance. Before I can do anything though, I certainly need
your insides on where to best put it, if it is at all possible.
   I'll keep on looking at klick to see, if I can spot more helpful code and
piece the really important bits together. Probably the good thing about it all
is, that it is already written in c++.
   Warm regards


See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!

Ecasound-list mailing list

Received on Thu Jul 18 08:15:01 2013

This archive was generated by hypermail 2.1.8 : Thu Jul 18 2013 - 08:15:01 EEST