Play Multiple Notes at Once With notein

Jelani Thompson's icon

Hello!

I'm 99% done my current project, but having issues with porting over one portion of my logic from Max to RNBO. I'd like to play multiple notes at once with the notes be based on chord formulas (e.g. pressing c will play cmin9). To test, I've just taken the note number from notein, and added 3 to it to make sure I'm hearing it correctly, but I still only hear one note.

Anyone know the best way to play multiple notes at once in this context? I think I'll try something like uzi in the mean time, but it would be better to have a solution that plays the notes simultaneously instead of in rapid succession.

Wil's icon

will be great if someone reply’s with a better way..,

I’m exporting RNBO to external mc.
then targeting each channel with a different note.

the cool thing about doing it this way- you can target other aspects of individual notes - your glide, filters etc

Source Audio's icon

you need as many "synth" voices as notes in the chord.
means all that stuff above which creates sound.
you need note number in, note list out,
then mtof and all the rest per list item.
rest, like velocity, volume etc can be common.

take care when unpacking notes list,
use list funnel and route.




Alex Norman's icon

you might look into using a subpatcher for your voices and let the subpatcher manage polyphony..

router your chord generator produced midi notes into:

[p mysynthvoice @polyphony 12]

Jelani Thompson's icon

@Source Audio, tried your approach as well, but not hearing anything. It seems like mtof accepts a list of notes in RNBO, however. I tried this and it's playing the notes, but kinda just sliding between them. Gonna look into this some more.

Wil's icon

Put your entire rnbo patch inside of p ___ @polyphony * (including notein)

rnbo_polyphone.maxpat.zip
application/zip 5.79 KB


When you add @polyphony to p and notein is inside, the right inlet disappears from rnbo. So you have to add [in 1] to get notein inside of p.

The documnetation for notein nested only describes mono.

Jelani Thompson's icon

Thanks for the help guys! I think I've got it now. Gonna work on a more DRY solution with the suggested route objects or something similar, but this seems to be a good way to get the simultaneous notes playing.

Roman Thilenius's icon

apart from differences between max and rnbo there are a few misconceptions in the question.

for example you can not play notes "simultanously", as everything in a computer runs serial, and it will be totally fine to convert successive messages into 2 audio signals which are sampleexact.
and if you want to play 2 notes which are overlapping, the signalling part (starting with that line in your case) must be included into the polyphonic part of the patch, only one line can only run one signal.