Home › Forums › Products › Vsig and Preset Development › Using Algorithm Tempo Mode?
Tagged: midiclock VSIG
- This topic has 4 replies, 2 voices, and was last updated 2 weeks, 3 days ago by
Puppeteer.
-
AuthorPosts
-
-
August 5, 2025 at 4:01 pm #191403
I’m working on a new algorithm where I’d like to switch between midi time values (like whole, 1/4, etc) and ms values. I can see plenty of examples in the H9000 where using Tempo Mode on the GENERAL page switches between note values and ms or seconds, but I can’t think of one that isn’t locked in VSig.
I’ve been playing with the midiclock module, but I can’t figure out an output from it that toggles based on whether Tempo Mode is on or off – it seems like bpmout for instance just sends out the BPM regardless of whether Tempo Mode is on or off.
Swapping menupages is pretty easy, and I currently have that working via a constant. I guess I could just add a toggle control to the algorithm but it just seems that this is what the Tempo Mode on the general page is for.
-
August 7, 2025 at 8:54 am #191426
As far as I can tell this is the way things work.
Tempo mode allows MIDI clock to be passed into the algorithm. I normally end up setting up my own control if I want to switch between MIDI and manual settings. I wish there was an input for the tempo switch, like kill dry as this would simplify things a lot. The midiclock_ok can be used to check whether you are receiving MIDI sync, but I think that there’s no way to discriminate whether it is DAW, External MIDI or set internally. That is controlled by Emote. You can enable/disable MIDI or local controls using the remote_mode input. Maybe the midiclock_ok works as a detector for tempo mode. I haven’t checked, but I probably should experiment with it.
The midiclock module is where you derive useful signals to sync delays, etc. The ones I use the most are time_out and freq_out control signals. The BPM can be used to display the tempo, or to check it, but you can probably do maths on it as well.
For MIDI synced delays etc, I take the time_out and then multiply it by the interval using a c_table. Set the values to sync with 120 BPM in the c_table and then multiply that by the time_out value and you will sync with MIDI.
For example for the following divisions (textknob)
Whole
1/2
1/4
1/8
1/16
1/32I set c_table to
4000
2000
1000
500
250
125Multiply c_table by time_out from the midiclock module and you’ll generate delay times that will sync with MIDI.
For triplets or dotted, you’ll need additional multipliers of 1.5 and 0.6666667
I hope that helps a bit.
-
August 7, 2025 at 2:43 pm #191434
This helps a ton, thank you! I had grabbed some modules from an existing sync delay algorithm on my h9000, but I didn’t really understand what was going on with the c_table values and time_out.
I’ll also go ahead and just create a toggle in the algorithm to switch between sync and ms. (And Eventide folks if you can share any insight in how you’re working directly with the tempo mode toggle in your algos I’d love to hear it)
-
August 7, 2025 at 4:09 pm #191435
Thought I had a clever idea here, because if you load an algorithm and tempo mode is off, time_out outputs zero – and this works at first. But, if you turn off tempo mode it doesn’t go back to outputting zeros.
-
August 11, 2025 at 9:25 am #191460
I checked all of the outputs of the Midiclock module and none of them can indicate the state of the Tempo Mode knob.
-
-
AuthorPosts
- You must be logged in to reply to this topic.