argument for a ctlout to specify all devices?
Hi, I am using two of the exact same midi devices and my computer and max always gets confused. They are on different midi channels, one is on 1 and the other on 2, and I have that specified in my ctlout objects. Is there any argument I can give ctlout so that it will send messages to all midi devices? I figure that it will only send them to the ones on the channel specified by ctlout and that might solve the problem.
Thank you! Nick
Ok, so I guess there is no way to do this? Anyway, any help would be greatly appreciated.
Thank you. Nick
To send midi to all devices you could send it to multiple ctlout’s assigned to different ports, ie. using for each a different index from all ports that are available in the menu.
Hi I wanted to give this post a bump. I now have 4 of the exact same midi devices on different midi channels. Is there any way to specify "All devices by channel" with a loadbang or loadmess? Broc, thanks for your reply but I’m hoping there’s a way to do this other that have 4 ctlouts specifying all my devices when I only need one. If anyone has any ideas I would love to hear them.
There’s nothing wrong with using multiple MIDI objects. See the example on the left. You can send all your data to the same object multiple times with a different channel number each time (see the example on the right), but I can’t think of a real good reason to do that.
----------begin_max5_patcher---------- 1375.3oc6ZssbihCD8Y6uBJdZ2p7lBIwMuuseGolJEWTbzrXfBj8jclJ+6qP RfEXvV1F6.SkWHAITqtO8Qs5zc90xElgYuiKMM9aimMVr3WKWrfOT0.Kjuuv bav6QIAk7OyLE+irvuatRLEE+NkObtQDMIaGc2OI0y8ZVJMMXKlO++TPBRpm Ic2VRZBlxkHTNXd.M5MR5lWJvQTgFA8fOYsxv2p5450UOgre23axkPh4xloO +ExWQ3L8nV5VJJSI4mbkATIUkMEWHsWoAy9ZRBdOtnjjkxWvJ43A44JCuPYI Unz2y3BxcUyPjTwPVMCUf2SpWumXvOVVK9CVtivjs4lLT7CO+ClNyKsIIK5e wwph2LKGmRRyKvk3TZ.UtOMSGieMXWB8k9Ai1y+ZPDdvE2qacg4lBRbVZkRz ZkUCWucOa.b49TUag+AoA48r1RlYrqLLnnB1BSvJLFF6KKKo8TMdJFINHkrM fhoDgtBsZDJYadAIk1ZivoALY7VYTQVRRKQIlYeOyDyblQ3ePhouwkkJRx9b RdsGvrAhhIavkz1iQC1T1djVmJUYYpmNaM9oNk19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iq.Sl1FnsJCmepr87SkQSGUd8 EvkAyKUFN+TY64mJi9pOi+l1mwQtGMpMZ7zsnAbyMZbBTnZWsqSMXxVmZEXj +EsyhRfpcCrHw1iBn.aEPYnfIstA83HIGGE4Hur15imt5C3wnO1ZnOP3CSe. ZqOWi+RPm5Tg9JUoSk46TU9tUjmIsOV9+1LaaU. -----------end_max5_patcher-----------
Thanks for your reply. I guess I could do what you did, make a subpatch with several ctlout objects. But just to me clear, it’s not that they are different channels that’s the issue, that would be great. I want to select "All Devices by Channel" with a loadbang or load message. My problem is that in the ctlout pull down menu of midi devices the items in the list are the same, and I can’t tell which one is on which channel. I have many ctlouts in my patches and I would like to have "All Devices by Channel" selected when I open the patch.
It’s because I made several midi controllers using Arduinos and they all show up as "MIDI/MOCO for LUFA" so it’s really confusing even though they are all on different midi channels.
if these devices are actually arduinos you could go one level deeper and use serial.
Why use midi anyways? i could imagine that you also loose a lot of resolution(if you have pots, faders etc) when using our good old 7-bit friend..
PS, still an interesting question though in case of regular midi devices
In terms of the question about MIDI output objects, you can just use the channel offset in the MIDI Setup… window to assign a different channel offset to each device. That way there’s no need to have any typed-in port argument in the object box.
Christopher, thanks for your reply, I’ll try it out and let you all know if that method might work.
Woyteg, In programming my arduinos I’m trying to make it so that they will each have a unique name when plugged into a computer. I’ve thought of it and it’s just a difficult thing as I have to convert the code to .hex. I posted on the arduino forum too and i’m still figuring it out. I thought maybe there was a way in max to subvert this problem.
thanks all. Nick