# Midi Polyphony / Chord Splitter

**URL:** <https://forum.bome.com/t/midi-polyphony-chord-splitter/3856>\
**Category:** Bome Products\
**Tags:** midi-translator\
**Created:** [January 11, 2022, 2:14pm UTC](https://forum.bome.com/t/midi-polyphony-chord-splitter/3856 "2022-01-11T14:14:34Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![nick88](https://forum.bome.com/letter_avatar_proxy/v4/letter/n/bbe5ce/32.png) [@nick88](https://forum.bome.com/u/nick88)\
**Post date:** [January 11, 2022, 2:14pm UTC](https://forum.bome.com/t/midi-polyphony-chord-splitter/3856/1 "2022-01-11T14:14:34Z")

</div>

Edit: Now solved, please don’t worry! Just a few silly mistakes!

Hi all

I’m a newbie here. I need a little bit of help finishing my first preset (see attachment). Its very simple, just two translators, Note On and Note Off.

I am trying to split the midi polyphony from one channel, and separate it as individual monophonic notes on separate channels on the midi output. Up to 8 notes of polyphony. I’m not trying to do anything fancy regarding note stealing. In an ideal world the lowest note would be outputted on channel 1 and ascending channels up to the highest note.

e.g if there was a 4 note chord on channel 1 of the midi input, for example CEGB  
the notes get outputted to channels 1-4 of the midi output in the following way  
Channel 1 = C  
Channel 2 = E  
Channel 3 = G  
Channel 4 = B

I’m a first time user of MTP. I’ve spent a number of hours studying @FlorianBome 's preset for Channel Rotation ([here](https://forum.bome.com/t/channel-rotation/993)). Learning how this sort of thing works. And then had a go at writing my own rules based on what I’ve learnt.

At the moment its not working properly and could do with a bit of help. Currently all Note On messages output messages are being sent with midi note value 0. e.g income midi note 60 is being outputted at 0. Which is obviously not desired. I think its something to do with how I’m dealing with variable notes.

Would any experienced user be able to have a look at my code and push me in the right direction please? Or even finish it off! 😉 Or if such a preset already exists online please do let me know where I can get a copy of it.

Help much appreciated. Thank you!  
Nick

[chordsplitter v1.bmtp](https://forum.bome.com/uploads/short-url/xKjTE4UYnFfG8FVEQ9MkW1LBaVH.bmtp) (3.7 KB)

---

<div class="post-metadata">

**Author:** ![nick88](https://forum.bome.com/letter_avatar_proxy/v4/letter/n/bbe5ce/32.png) [@nick88](https://forum.bome.com/u/nick88)\
**Post date:** [January 11, 2022, 2:20pm UTC](https://forum.bome.com/t/midi-polyphony-chord-splitter/3856/2 "2022-01-11T14:20:19Z")

</div>

See edit: managed to solve it now! A few silly mistakes. Needs testing properly, but think I’ve got it working now.

---

<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:** [January 11, 2022, 3:14pm UTC](https://forum.bome.com/t/midi-polyphony-chord-splitter/3856/3 "2022-01-11T15:14:13Z")

</div>

I’m glad you got it working. I haven’t looked at your project but it sounds a bit tricky. Chord evaluation is not always easy as the user may not press all of the keys at the exact same time which means you have to give a bit of time before evaluating the notes pressed.

Steve Caldwell  
Bome Customer Care

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

---

<div class="post-metadata">

**Author:** ![nick88](https://forum.bome.com/letter_avatar_proxy/v4/letter/n/bbe5ce/32.png) [@nick88](https://forum.bome.com/u/nick88)\
**Post date:** [January 13, 2022, 3:41pm UTC](https://forum.bome.com/t/midi-polyphony-chord-splitter/3856/4 "2022-01-13T15:41:20Z")

</div>

Hi Steve

Thanks for the response. Yes I can see how that could get tricky if you have to code in some sort of buffer time to evaluate the notes. I’ve opted for a simple design, its a first in, first out system. So notes get allocated to channels in the order they’re pressed. Which only if all the notes of the chord are programmed to start together, they get allocated in order of pitch low to high. Quite often I’ll use pre-programmed midi so this is fine for me. But you’re right, if its a pianist playing, the notes will just get assigned to a vacant output channel in the order the keys are held down. I’ve tried various max devices in ableton to do this, but was experiencing big CPU spikes on chord changes causing audio dropouts so not a workable solution.

If anyone is interested, once I’ve done more testing I’ll attach the project here.

Thanks  
Nick

---

<div class="post-metadata">

**Author:** ![prodancerandy](https://forum.bome.com/letter_avatar_proxy/v4/letter/p/8491ac/32.png) [@prodancerandy](https://forum.bome.com/u/prodancerandy)\
**Post date:** [June 29, 2024, 6:02pm UTC](https://forum.bome.com/t/midi-polyphony-chord-splitter/3856/5 "2024-06-29T18:02:17Z")

</div>

Hello! I am very interested in splitting chords. I tried some techniques but wasn’t able to do it right. Can you share your solution please?

---

<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:** [June 29, 2024, 6:29pm UTC](https://forum.bome.com/t/midi-polyphony-chord-splitter/3856/6 "2024-06-29T18:29:37Z")

</div>

@prodacerandy , In looks like @nick88 posted the project file with his solution.

Steve Caldwell  
Bome Customer Care

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

---

<div class="post-metadata">

**Author:** ![prodancerandy](https://forum.bome.com/letter_avatar_proxy/v4/letter/p/8491ac/32.png) [@prodancerandy](https://forum.bome.com/u/prodancerandy)\
**Post date:** [June 30, 2024, 3:23am UTC](https://forum.bome.com/t/midi-polyphony-chord-splitter/3856/7 "2024-06-30T03:23:05Z")

</div>

Thank you. I thought it was not the final solution according to his latest post

---

<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:** [June 30, 2024, 4:31am UTC](https://forum.bome.com/t/midi-polyphony-chord-splitter/3856/8 "2024-06-30T04:31:46Z")

</div>

Yes, it looks to me like he edited the post and changed the attachment. If not, chime back in and tag him and maybe he will respond.

---

<div class="post-metadata">

**Author:** ![nick88](https://forum.bome.com/letter_avatar_proxy/v4/letter/n/bbe5ce/32.png) [@nick88](https://forum.bome.com/u/nick88)\
**Post date:** [June 30, 2024, 4:26pm UTC](https://forum.bome.com/t/midi-polyphony-chord-splitter/3856/9 "2024-06-30T16:26:14Z")

</div>

Hey @prodancerandy, did you try looking at FlorianBome’s [channel rotation template](https://forum.bome.com/t/channel-rotation/993)? I think that’s the solution you might be looking for. Incoming notes from chords are outputted on their own channel on a rotating basis.

What exactly are you trying to do?

My own need was very niche so I am not sure that sharing it would be useful to you. In my case, I needed to output chords every time a drum pad was struck. Which involved programming a preset to store each midi note of an incoming chord, a preset to erase the stored chord when it finished. And then additional presets to handle Midi On and Off messages each time the drum pad was struck. e.g striking the drum pad would output whatever chord was stored at that moment in time.

Thanks  
Nick

---

<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:** [June 30, 2024, 4:48pm UTC](https://forum.bome.com/t/midi-polyphony-chord-splitter/3856/10 "2024-06-30T16:48:45Z")

</div>

This should do a simple channel rotate of incoming notes to the designated output port.

[Channel-Rotate-2022-04-12.bmtp](https://forum.bome.com/uploads/short-url/aT1CHpghj3boklkZDxPhhb7vW13.bmtp) (5.7 KB)

Steve Caldwell  
Bome Customer Care

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

---

<div class="post-metadata">

**Author:** ![prodancerandy](https://forum.bome.com/letter_avatar_proxy/v4/letter/p/8491ac/32.png) [@prodancerandy](https://forum.bome.com/u/prodancerandy)\
**Post date:** [July 1, 2024, 11:01am UTC](https://forum.bome.com/t/midi-polyphony-chord-splitter/3856/11 "2024-07-01T11:01:18Z")

</div>

Thank you for your reply! My need is very niche too. I want to make setup like this:

1. BMT receives some chords from any chord generator/custom written chord progression.
2. Note numbers are dynamically written to variables in the variables in the Chord note numbers are dynamically recorded in variables and updated when additional notes appear/remove existing notes. Notes are written and dynamically sorted/reordered to variables n1-n9 in the pitch order.
3. Via the other MIDI port (port#2) I can manually play notes of the current played chord on any octave with the notes C=n1, C#=n2, D=n3, D#=n4. All notes are played with the velocity and shifted to the octaves of the notes played from the port#2.

The result is that you can play any notes of dynamically changing chords from the progression live.

---

<div class="post-metadata">

**Author:** ![nick88](https://forum.bome.com/letter_avatar_proxy/v4/letter/n/bbe5ce/32.png) [@nick88](https://forum.bome.com/u/nick88)\
**Post date:** [July 1, 2024, 12:12pm UTC](https://forum.bome.com/t/midi-polyphony-chord-splitter/3856/12 "2024-07-01T12:12:10Z")

</div>

How funny, I actually adapted my original template to pretty much do exactly this! Albeit with a few differences in the way I set it up.

I’ll dm you with the template!

---

<div class="post-metadata">

**Author:** ![prodancerandy](https://forum.bome.com/letter_avatar_proxy/v4/letter/p/8491ac/32.png) [@prodancerandy](https://forum.bome.com/u/prodancerandy)\
**Post date:** [July 1, 2024, 12:22pm UTC](https://forum.bome.com/t/midi-polyphony-chord-splitter/3856/13 "2024-07-01T12:22:19Z")

</div>

Oh it’s always good to encounter musical geeks!

More to say - bettertouchtool latest alpha now supports midi out! And I’ve already implemented aeromouse to act like it’s a drumstick. It needs a lot of calibration but it’s very interesting!

---

<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:** [July 1, 2024, 4:04pm UTC](https://forum.bome.com/t/midi-polyphony-chord-splitter/3856/14 "2024-07-01T16:04:19Z")

</div>

Thanks @nick88 !

@prodancerandy  
I will consider this closed unless you say otherwise.

Steve Caldwell  
Bome Customer Care

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