Can Bome receive Clock, Count down (x) Bars then respond?

ablethought

2019-04-03 06:31:27

Hi, i wonder if this is possible

Lets say bome is receiving clock ( from hardware )

Is this possible...

Bome recieved a CC, say CC# 4 value 127

Bome counts down ( X ) amount of bars and beats upon receiving that CC (according to the clock its receiving)

Bome then send CC#4 value 0 right after count down.

Steve-Bome Forum Moderator

2019-04-03 06:38:04

Yes, you could count the MIDI clocks and send out every say 4 clocks or 8 or whatever

Incoming: Midi Clock

Rules

// increment count

ga=ga+1

// Don’t do anything until it reaches 4 = Change the below number for however many clocks you want

if ga!=4 then exit rules, skip outgoing action

// must have reachedĀ  target amount reset counter put out message and start again

ga=0

Outgoing: Control message CC#0 value 127

 

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

Steve-Bome Forum Moderator

2019-04-03 07:27:10

comment

You might want to count up to 96 since timing clock comes in at 24 per quarter note so 1 measure at 4/4 timing would be 96 clocks.

ablethought

2019-04-04 05:20:31

Hi Steve thanks so much, OkĀ so it is working as you described.. super exciting but not exactly as im trying to get it to work. Now that i understand how its working I can be a little more clear.

What i would like to acheive is

Bome receives CC#4 value 127

Bome counts 96 clocks

Bome then sends CC#4 value 0

How might I achieve that?

Steve-Bome Forum Moderator

2019-04-04 05:40:50

comment

What do you want to do if it happens to get CC#4 value 127 again while it is still counting clocks? Is there a trigger used to stop counting or you want to do this indefinitely?

Steve-Bome Forum Moderator

2019-04-04 06:06:16

Something like this should work (not tested though).

I use CC5 to stop the clock

Another cc4 while counting will restart the counter

 

 

 


Attachments:

clock-counter-2019-04-03.bmtp