Microtonal poly midi out from RNBO

Erik Sandberg's icon

Hello,

I want to make a microtonal quantizer that has per voice pitch bend out (via MPE), it is a part of a larger patch. I get it to retune notes monophonically, but I can't figure out how to make it polyphonic. I can't find much information about how to implement MPE midi out from RNBO.

I have tried to add the @polyphony 8 attribute to my subpatcher "quant", but that does not work. Does anybody know how to make it work? I would really appreciate some help with this.

Alex Norman's icon

Here is my attempt, I haven't included the actual re-tuning there, just the skeleton that does the channel assignment based on voice.

Max Patch
Copy patch and select New From Clipboard in Max.

Erik Sandberg's icon

Thank you Alex,

I changed my patch according to your blueprint. It makes much more sense than my earlier attempt. I could see that I get a number of voices depending on the number of polyphony I added. But I still have problem with the pitch bend.

The last notes pitch bend applies to all the notes (it is only one pitch bend that goes through).

I have voice handling, but no mpe.

I have not made the main rnbo~ object polyphonic (since there is a lot in there that shouldn't be duplicated). Could that be a part of the problem?

Erik Sandberg's icon

This is what it looks like now:

Alex Norman's icon

My example had a little bit of an issue, I didn't realize that voice numbers are 1 based and not 0 based.. here is an updated one with a global bend that applies to all channels, offsetting from the last one set by the tuning.

One problem with your patch is that the order of output from the multiple outs off ftom isn't specified, so you're better off using a trigger to ensure a specific order. Also, I'm not sure that your truncation is doing what you want it to do.. you can see what I do in this patcher.

Setting up the polyphony in a subpatcher and not the top level rnbo~ patcher makes sense to me in this context.

I don't actually know much about MPE but it looks like you have to set it up with some specific CC messages, are you doing that? https://drive.google.com/file/d/1QGjiK2QPPbii8YmES3vDEZlP63OGLiKr/view

Max Patch
Copy patch and select New From Clipboard in Max.