Posts: 22
Threads: 6
Joined: Apr 2018
Reputation:
0
Is there a way to add the midi command to send clock on all the songs in your library? Also is there a way to add a button to all songs in your library?
What I am trying to do is have all my songs send clock by default but then also add a button to each song to stop clock, if that makes sense??
Posts: 22
Threads: 6
Joined: Apr 2018
Reputation:
0
Or could start and stop be added to "Midi Actions" under MIDI settings (my thought here is I could send a midi command from my foot controller to start or stop clock sync....
Posts: 13,314
Threads: 301
Joined: Apr 2012
Reputation:
234
04-27-2021, 04:36 PM
(This post was last modified: 04-27-2021, 04:37 PM by Zubersoft.)
The rate at which the MIDI clock message is sent is tied to the metronome tempo specified by the song that triggered the sending. That's why the MIDI command is currently only supported in songs and not with MIDI actions. There is no easy way to add a button to all songs in the library, as they all require a position on the page, which may or may not be valid for every song in the library. Through some database manipulation, you could quickly add that MIDI command to every song in your library, but adding a button to stop would require a much more complex database query. You'd also have to be comfortable with performing SQL queries through a tool like SQLite Studio.
In theory, I could probably support triggering the timing clock from a MIDI action so long as a song is currently loaded and visible, otherwise the action would be ignored.
Mike
Posts: 13,314
Threads: 301
Joined: Apr 2012
Reputation:
234
Edit the database using SQLite program and update the MIDI table by inserting an entry for every song in the entire library. The fields for the command you are adding will be identical for every song in the library, but each query will have to include the correct song ID in the SongId field in the MIDI table. The CommandType field will need to be set to 13. You can set all the other values to 0, but make sure SendOnLoad is set to 1. You'll probably want to run some kind of script where you can iterate over every song ID in your library to add the MIDI command for that song.
Mike