Make a metronome with Clock

Hello Steve,

I have a small synth (ploytec pl2) and I'd like to use it as a metronome for the drummer of the band.

So I'd like to do a script that transform clock into metronome : each time the bomebox receive a click from the master groovebox, it sends a note on to the pl2.

But clock is a strange event for me, and it's more difficult than I thought. I don't really now how to do that, where should I start.

Thank you very much for your help !

Hi, something like the attached should work.

Notes are started by the Song Start MIDI command. We set the clock count to 0 with global variable ga, and the run state to 1 with global variable gb.

We count the timing clock and send a note-on every 24th occurrence (timing clock is sent at 24 per quarter note).

With the same logic we send same note-off with a 50msec delay

In both cases we only send the note messages if we are in the run state (gb==0)

We wait for a Song Stop MIDI message to set the run state to 0. If additional clocks are sent after that, we no longer send MIDI note messages.

The second preset, I just used for testing. It has a timer with up arrow starting and down arrow stopping the timer and the timer just sends clock signals (in this cases to my Mac IAC port) which I monitor for input of Midi Clock messages.

For you, you should set the aliases as follows (when prompted)

Timing Clock Source – Set this to the port you are monitoring for timing clock input.

Metronome Output – Set this to your pl2


Note that for the test case preset, you cannot use a Bome Virtual Port for both input and output as Bome Virtual Ports are one way only. One side of the connection needs to be a non-MT Pro application. This is why I used my IAC Port for this test (sending and receiving MIDI clock in the MT Pro application). On Windows, this would work with loopMIDI, loopBE, or MIDI Yoke.

You can change the note number and the timing of the note-off messages in the note messages if you wish.

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

 

 

 

Whoops here is the project file.

 


Attachments:
1568388502371_Metronome-2019-09-13.bmtp

Did this work for you?

Hi Steve,

As usually, it worked perfectly and I used it on stage several times.

Thanks once more for your help and the perfect combination : Bomebox + Steve !

Awesome, thanks for the update!

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz