midi objects – trying to send a port message
let me prepend this with: i have the latest update of max 5
i am using some midi objects (noteout, ctlin etc) and one of the things you can do is double click on the object to select the midi port you want that specific object to listen to. you can do the same thing by sending the object a message "port [symbol]" whereas the symbol is the name of the port you want that object to listen to…. or so i thought.
this is what the .maxhelp file says and the reference page but its not working. i’ve sent the message properly and it doesnt change that object’s midi path.
anyone else have the same issue???? any ideas for me setting up this patch without having to goto every one of my objects and changing them by hand????
If your port name has a space in it, you will have to slap quotes around the name.
e.g. port "from MaxMSP 1"
just tried that and as soon as i clicked off the message object the "" disappeared.
But here’s some good news: i figured a way around it. i used the object midiinfo to generate the list of possible midi devices and then did a send object to set the other midi object.
but thanks for the help, although i still fell like this is a small bug that i hope the lovely people at cycling74 can fix on the next update
to clarify i shouldn’t have said "… midiinfo to generate the list…" because it doesn’t generate a list it will however populate a umenu object from which to choose from.
I can’t explain why your quotes disappeared, it has always worked for me. I don’t consider this a bug.
----------begin_max5_patcher---------- 331.3ocsSEraCBCC8b3qHJmYUDFTst+gJMoIsKqUSofaalJIHhqFaU8eefAV oqLIz15EixyuX+7K3CdLwJaI3D764OyYrCdLFAUCvZOyDYpxjcJGQSjANmZC H7axgPIR341BjuPrtvlwmqJm+3C7vEhNZl8YZyN.oZDdBztG6Pksn5Tpd1Uu dSb20WaMnQkATlmfhTkQ0kKu.bfAUn1Zdo.RvloILNZRfOe1s0wf1.eY6kZ5 K9dNzvVH9JUtBS1pMa9oZIihoOy5UtZ84zePESFNInF8nmWcv++2Wk+UeMZL 95uxhlN8JZQF3sJ0egCkoS0UhcPKQNnkDbokHG0uZCL2A2QiZHM3wTLTNt4l 3H1oMeeCj5SM94lgytuHo60nc+fepSofC0FZOnGG4Yb1pSSASeOnx8xsZC1J A9xAeXFqhhtxJp5vQuOAr9eF1. -----------end_max5_patcher-----------
Ohhhhh i see what happened, im an idiot. i wasn’t spelling the device name properly, its case sensitive duh!!!
sometimes staring at the computer screen for too long is bad for the brain.
thanks so much for your help though!
Edit: nothing to see here, move along… sorry about that, I thought I had a ctlin port setting bug but I was kidding myself…