Page 1 of 1
receive MIDI clock
Posted: Fri Oct 02, 2015 4:16 am
by airelibre
Hi all, I read that FlowStone can only handle midi notes and sysex. Is this still true ?
I would reeeeally like to get MIDI clock (so I can leave this nuisance called timing out of the reach of these other nuisances called CPUs

)
If the answer is "it's not possible", I'm really curious about the reasons... shouldn't a serial connection with such a rigid protocol be a given ?
Thanks in advance
Claudio - airelibre
Re: receive MIDI clock
Posted: Fri Oct 02, 2015 11:10 am
by KG_is_back
If your schematic contains stream connections, the Ruby processing is synced with it perfectly. Ruby can schedule events, triggers and methods to happen after specified time (sample-precise) and can also process midi perfectly in sync. Long story short, Ruby processing is in sync with midi and audio by default, green connectors are not though.
The only catch is that time in Ruby is always specified in seconds. You may use sample-rate prim and tempo prim to scale the time.
Re: receive MIDI clock
Posted: Mon Mar 07, 2016 10:56 am
by Nowhk
KG_is_back wrote:Long story short, Ruby processing is in sync with midi and audio by default, green connectors are not though.
Manual says: "
If you have any of the DirectSound or ASIO primitives in your schematic and these are switched on
then the clock will automatically switch to run in sync with the audio processing. You can then
schedule events to occur with sample precise timing within any audio frame.".
Here I've added a stream (ASIO) prim, and Ruby should be sync with samplerate now:
For what I see (and as you noticed),
time is always in seconds, even if sync with stream/audio" now.
What if I want to do somethings (in Ruby; such as trigger MIDI to my DAW) every 1000 samples (at samplerate 44100)?
That's can't be scheduled as "sample precise", since there will be rounding errors. Maybe I'm missing somethings?