# Repeater MidiHub problem

**URL:** <https://community.blokas.io/t/repeater-midihub-problem/1698>\
**Category:** Support\
**Created:** [May 24, 2020, 7:34pm UTC](https://community.blokas.io/t/repeater-midihub-problem/1698 "2020-05-24T19:34:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cedrick\_Louault](https://community.blokas.io/user_avatar/community.blokas.io/cedrick_louault/32/970_2.png) [@Cedrick\_Louault](https://community.blokas.io/u/Cedrick_Louault)\
**Post date:** [May 24, 2020, 7:34pm UTC](https://community.blokas.io/t/repeater-midihub-problem/1698/1 "2020-05-24T19:34:23Z")

</div>

Hi there,  
Funny thing but I cannot bring the repater to work in my patch.  
I understood that you had to place a clock to work with.  
The trouble is with 2 virtual midi ports.  
The patch is simple :  
The MidiHub is connected to a gear using to midi channels on the same midi Port ( Midi A CH1/CH2).  
The master KBD is playing on Midi 1 only.  
The repeater is sent on Channel 1 along with the thru note.  
The arp created is sent to Channel 2.

I’ve placed a clock in a row with virtual A, transmitting to VA and VB, then the repeater in the VB row, but it doesn’t work…

( If I create one clock for each virtual port, it doubles the clock sent by midi out. If I put it on the Midi a to Midi A row, the clock isn’t seen by the repeater. If I double the clock in a special row to V2, it doubles the tempo sent to Midi OUT. If I put a clock in the repeater row, it doubles the tempo too. ).

Any idea and help would be appraciated 🙂!

ScreenPatch :  
[Sans titre|690x388](https://community.blokas.io/uploads/short-url/a6Q4zFLFRm1MuWetzgBENiwc6Sq.jpeg)

---

<div class="post-metadata">

**Author:** ![Cedrick\_Louault](https://community.blokas.io/user_avatar/community.blokas.io/cedrick_louault/32/970_2.png) [@Cedrick\_Louault](https://community.blokas.io/u/Cedrick_Louault)\
**Post date:** [May 25, 2020, 6:40am UTC](https://community.blokas.io/t/repeater-midihub-problem/1698/2 "2020-05-25T06:40:14Z")

</div>

Hi,  
Ended up with creating one new row : VA to VB. Then I used From VB in the Repeater row to Midi A.  
Have I missed an important point or more logical way of build this pipe?  
Selecting different midi and virtual ports in a single row from midi clock seemed convenient, though…

---

<div class="post-metadata">

**Author:** ![Giedrius](https://community.blokas.io/letter_avatar_proxy/v4/letter/g/6a8cbe/32.png) [@Giedrius](https://community.blokas.io/u/Giedrius)\
**Post date:** [May 25, 2020, 7:12am UTC](https://community.blokas.io/t/repeater-midihub-problem/1698/3 "2020-05-25T07:12:22Z")

</div>

Hey, the Clock pipe outputs the sync messages towards the right. The ‘Use Virtual A’ parameter allows the Clock pipe, which is always the leftmost pipe in a pipeline, to still listen to ‘Start’, ‘Stop’ and ‘Song Position Pointer’ input messages.

See the [documentation](https://blokas.io/midihub/docs/clock/) of Clock pipe for the more detailed description.

So yes, you have to forward the clock through the virtual ports as necessary. You can dedicate one virtual pipeline just to send the sync tempo, or just use the filter pipe to filter out everything but clock messages and possibly start/stop ones.

---

<div class="post-metadata">

**Author:** ![Cedrick\_Louault](https://community.blokas.io/user_avatar/community.blokas.io/cedrick_louault/32/970_2.png) [@Cedrick\_Louault](https://community.blokas.io/u/Cedrick_Louault)\
**Post date:** [May 25, 2020, 5:17pm UTC](https://community.blokas.io/t/repeater-midihub-problem/1698/4 "2020-05-25T17:17:20Z")

</div>

Thanks 🙂  
So you mean that the multiple choice for the midi clock is the channel repeater listens from, but not the channel it sends the midi clock to?  
So, we have to create the path from the virtual channel put in the same row than the midi clock in order to be able to use the midi clock with other virtual channel?  
👍

---

<div class="post-metadata">

**Author:** ![Giedrius](https://community.blokas.io/letter_avatar_proxy/v4/letter/g/6a8cbe/32.png) [@Giedrius](https://community.blokas.io/u/Giedrius)\
**Post date:** [May 25, 2020, 6:50pm UTC](https://community.blokas.io/t/repeater-midihub-problem/1698/5 "2020-05-25T18:50:11Z")

</div>

Yes, something like that. 🙂 To avoid confusion with MIDI channels (there is 16 of them, and they apply only to channel MIDI messages (note, CC, Program Change, etc…). Start, Stop, Clock and many more MIDI messages are not based on channels), we just say MIDI Input A, USB Input D, Virtual Input F, etc…, and same for the Outputs. We call the entire horizontal line a pipeline, and a single icon a pipe. So to share a single Clock with multiple outputs, you have to route the Clock pipe into a virtual output, and then use same letter virtual inputs to forward the sync to the necessary destinations.

---

<div class="post-metadata">

**Author:** ![Cedrick\_Louault](https://community.blokas.io/user_avatar/community.blokas.io/cedrick_louault/32/970_2.png) [@Cedrick\_Louault](https://community.blokas.io/u/Cedrick_Louault)\
**Post date:** [May 25, 2020, 7:34pm UTC](https://community.blokas.io/t/repeater-midihub-problem/1698/6 "2020-05-25T19:34:14Z")

</div>

Ok, but ( and sorry for being loud ), don’t you have then a problem of tempo doubling? I mean, tempo of the MidiHub is ok, but midi clock sent to midi out doubles ( 120bpm in MIdiHub pipes, 240 on the destination gear… ) for each virtual port created…

Exemple :

 ![Sans titre2](https://community.blokas.io/uploads/default/original/2X/a/abca4501a6f4a6241dec2673543b26a194fd6b74.jpeg)

---

<div class="post-metadata">

**Author:** ![Giedrius](https://community.blokas.io/letter_avatar_proxy/v4/letter/g/6a8cbe/32.png) [@Giedrius](https://community.blokas.io/u/Giedrius)\
**Post date:** [May 25, 2020, 7:37pm UTC](https://community.blokas.io/t/repeater-midihub-problem/1698/7 "2020-05-25T19:37:25Z")

</div>

You should take care not to duplicate the tempo messages by correctly managing the virtual buses, say dedicate only one letter for tempo, the other letters for other kinds of data. Or if you must, place filter pipes that’d filter out the duplicate messages from the stream before going to the output.

---

<div class="post-metadata">

**Author:** ![Cedrick\_Louault](https://community.blokas.io/user_avatar/community.blokas.io/cedrick_louault/32/970_2.png) [@Cedrick\_Louault](https://community.blokas.io/u/Cedrick_Louault)\
**Post date:** [May 25, 2020, 9:29pm UTC](https://community.blokas.io/t/repeater-midihub-problem/1698/8 "2020-05-25T21:29:38Z")

</div>

Yep, but if I want to use, let’s say one pipe with arp and another pipe with repeater, either on same midi channel or not ; I have to create one different “virtual from” for each pipe, in that case each new pipe doubles the tempo midi out… whatever I try, it ends the same way…

---

<div class="post-metadata">

**Author:** ![Giedrius](https://community.blokas.io/letter_avatar_proxy/v4/letter/g/6a8cbe/32.png) [@Giedrius](https://community.blokas.io/u/Giedrius)\
**Post date:** [May 25, 2020, 10:14pm UTC](https://community.blokas.io/t/repeater-midihub-problem/1698/9 "2020-05-25T22:14:16Z")

</div>

Use the filter pipe after arp or note repeater to solve this.

---

<div class="post-metadata">

**Author:** ![Cedrick\_Louault](https://community.blokas.io/user_avatar/community.blokas.io/cedrick_louault/32/970_2.png) [@Cedrick\_Louault](https://community.blokas.io/u/Cedrick_Louault)\
**Post date:** [May 27, 2020, 3:35pm UTC](https://community.blokas.io/t/repeater-midihub-problem/1698/10 "2020-05-27T15:35:25Z")

</div>

Yep, good idea. I’ve only tried a divider so far. That didn’t work. 👍
