portenable won't disable both in and out ports with same name
hi, i'm having a problem with a the portenable message to max. i have an input and output port of the same name (PORT), and when i send the message to max "max midi portenable PORT 0;" it only disables the input port and not the output.
any suggestions?
thanks in advnace!
conner
Bump.
With an input and output port of a different name a can't enable or disable the outputport. See my example.
Is there a command to do this?
I just came across this old post searching on this topic. I took a closer look and have an answer to this question.
The documentation of the "portenable" message is not currently sufficient (but we will fix that). The documentation says:
portenable
However, the documentation is missing that there is a third argument, which defaults to 0, which controls whether you are enabling/disabling an *input* port or an *output* port. So, it should be:
portenable
* portname is self-explanatory
* : 0 to disable the port, 1 to enable the port
* : 0 to specify an input port, 1 to specify an output port
Probably way too late to help for the previous posts but maybe it will be useful for someone!
hi just checking back here inadvertently. good to see our dreams are alive. thanks, Rob. it's never too late.