How to change [ctlout] popup menu automatically?

CowboyTakeTwo's icon

i'm using [ctlout], but it defaults to the 1st port in the popup list when you double click it. i'd like it to be the 2nd. can i change this default, or send it a message with loadbang? i've tried sending "port a", b, c etc. thanks for the help.

Ben Bracken's icon

You can type the port name directly into the object box if you like, like [ctlout "AU DLS SYNTH 1"]. You could also give the port an abbreviation (check out Options->Midi Setup...]. Loadbang/loadmess to the object would work as well.

Check out the [outport] subpatch as well as the [midiinfo] help patcher.

-Ben

CowboyTakeTwo's icon

done, thanks,