Forums > MaxMSP

Make all noteouts, ctlouts, etc. STAY set to "from Max 1"

July 2, 2014 | 9:29 pm

I can’t seem to find a way to have all of my noteout objects, ctlout objects, etc. STAY assigned to "from Max 1" after I close the patch. Is there any way? Or do I have to assign them every time?


July 2, 2014 | 10:07 pm

if it does not work by sending the port name or number, try this: first loadbang [oms], then loadbang an umenu with the names like its done in the helpfile.

-110


July 2, 2014 | 10:47 pm

Thank you for such a fast reply!

The oms doesn’t seem to be doing much for me… as I’ve read, OS X doesn’t use oms anymore and that’s the operating system I’m using. Here’s a patch that kinda shows what I’m trying to do… no matter where I bang noteout with the umenu, anytime I double click noteout, it’s still on whatever it was on before, unaffected by what I have set in umenu.

– Pasted Max Patch, click to expand. –

July 2, 2014 | 11:28 pm

You can assign noteout like so [noteout "from Max 1"] or [ctlout "from Max 1"] ect..
Also in your example you want to use the middle output of umenu not the first.

– Pasted Max Patch, click to expand. –

July 3, 2014 | 12:15 am

Roman still lives in the XXth century… The object is called omsinfo but it’s now replaced by midiinfo (c74 defined an alias to the old object for compatibility).

The universal object can be quite usefull in your case.


July 3, 2014 | 8:35 am

oh, i dont even know the correct name of the outdated object. :)

now i am curious if it works by giving arguments to noteout, because arguments are loaded even _before loadbang when you open the patcher.

eventually there is some option in audiomidisetup to make coremidi remember the last used ports? have you tried what happens after a reboot?

-110


July 5, 2014 | 12:10 pm

Hey all. An update on this- i have successfully made loadbang trigger the umenu to "from max 1" but… the umenu has no effect on the ctlouts, noteouts, etc. until I go and click "from max 1" and I have no clue why. I’m looking into it as I type this but if anyone has any clue, let me know! I’m looking into a workaround using universal.

Also I don’t see any way of having it remember my last used options, but I will keep exploring!

Thanks for all the suggestions thus far!

EDIT- think I found a crafty solution- it doesn’t change the noteouts with the loadbang method so I made an incdec object and hooked it up to every umenu so now when I use incdec it changes everything AND the noteouts respond to it.

  • This reply was modified 2 weeks by  tiramoney.

July 7, 2014 | 11:42 am

did you make sure that midiinfo is loadbanged first?


July 7, 2014 | 1:24 pm

Sorry I don’t think I totally understand… loadbanged before what exactly? It’s the only thing being loadbanged.


Viewing 9 posts - 1 through 9 (of 9 total)