# One Rule Question, One Raw Midi Question

**URL:** <https://forum.bome.com/t/one-rule-question-one-raw-midi-question/4089>\
**Category:** Bome Products\
**Tags:** raw, midi-translator, rules\
**Created:** [March 14, 2022, 9:38pm UTC](https://forum.bome.com/t/one-rule-question-one-raw-midi-question/4089 "2022-03-14T21:38:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ablethought](https://forum.bome.com/user_avatar/forum.bome.com/ablethought/32/95_2.png) [@ablethought](https://forum.bome.com/u/ablethought)\
**Post date:** [March 14, 2022, 9:38pm UTC](https://forum.bome.com/t/one-rule-question-one-raw-midi-question/4089/1 "2022-03-14T21:38:59Z")

</div>

Hi all, I have 2 questions.

Is it possible for a rule that looks for seemingly random CCs that I can define in one translator?

Ex

If pp!=8, 20, 35 , 45 then exit rules, skip outgoing action

Or CCs with some pattern could work

If pp!=8,13,18,23,28,33 then exit rules, skip outgoing action

My second question pertains to Raw midi as an outgoing translator.

Is it possible to put delays throughout an outgoing strand?

Ex  
BF 06 7F (2) BF 0B 7F (5) BF 10 7F

The parenthesis being delays in ms.

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [March 14, 2022, 11:15pm UTC](https://forum.bome.com/t/one-rule-question-one-raw-midi-question/4089/2 "2022-03-14T23:15:19Z")

</div>

> [@ablethought](#):
>
> If pp!=8, 20, 35 , 45 then exit rules, skip outgoing action

This is how you would need to construct anything that is not sequencial

if pp==8 then goto ‘over’  
if pp==20 then goto ‘over’  
if pp==35 then goto ‘over’  
if pp==45 then goto ‘over’  
exit rules skip outgoing action

Label ‘over’  
// normal processing for this translator continues

> [@ablethought](#):
>
> My second question pertains to Raw midi as an outgoing translator.
> 
> Is it possible to put delays throughout an outgoing strand?
> 
> Ex  
> BF 06 7F (2) BF 0B 7F (5) BF 10 7F
> 
> The parenthesis being delays in ms.

No, but you could have a construct that uses a timer to send each command. See attached example. We set the delay and repeat count in the first translator and the second translators, identify the current step and send the proper CC number.

[Multi-CC-Timer-with-Delay.bmtp](https://forum.bome.com/uploads/short-url/zj0ZZy2hOQUd8XLaxtTxvYsQvx5.bmtp) (1.1 KB)

 ![image](https://forum.bome.com/uploads/default/original/2X/c/cc5f1cc733a562a9780c78834bda1a70ae7ea049.png)

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![ablethought](https://forum.bome.com/user_avatar/forum.bome.com/ablethought/32/95_2.png) [@ablethought](https://forum.bome.com/u/ablethought)\
**Post date:** [March 15, 2022, 12:41pm UTC](https://forum.bome.com/t/one-rule-question-one-raw-midi-question/4089/3 "2022-03-15T12:41:34Z")

</div>

Thanks so much! perfect.
