Trevliga Spel forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Midi port change for a preset?

2 posters

Go down

Midi port change for a preset? Empty Midi port change for a preset?

Post by kraftf Thu Sep 12, 2024 5:29 pm

Hi there new user here.
I am using midi plugin not only for DAW but also for synth control.
I have setup various profiles that control midi devices and send midi cc to specific midi ports directly to the synths.
Is possible to change the midi ports for all controls in a profile and select a different midi port? There are cases that i want to send cc's to a sequencer and echo them to a synth. Is it possible to have a profile midi in/out port?
If not I suppose i will have to create an IAC port on my mac for every synth I want to control which is something i dont really like to do as it will clutter my already cluttered midi ports list.
Cheers
Kyros

kraftf

Posts : 3
Join date : 2024-09-12

Back to top Go down

Midi port change for a preset? Empty Re: Midi port change for a preset?

Post by Admin Thu Sep 12, 2024 9:53 pm

Hi Kyros,

Unfortunately, profile midi in/out ports are not supported. As far as I can see, you need a Midi router between the Stream Deck buttons and the target synth, and I can see two scenarios:

  1. You can configure the SD buttons and dials to send/receive using plugin internal Midi ports and have two background scripts that forward those commands to external ports (one script to send to the external port and another to receive from the external port). When you want to change the routing to a new synth, you only need to change the midi port configurations for the background scripts.
  2. You get a third-party Midi routing app that can do the same thing: route the messages from SD ports to the ports for the synth you want to use. As for the previous solution, you need to change the routing app's routing when you want to use a new synth.
Admin
Admin
Admin

Posts : 1249
Join date : 2020-03-26

https://trevligaspel.forumotion.eu

kraftf likes this post

Back to top Go down

Midi port change for a preset? Empty Re: Midi port change for a preset?

Post by kraftf Fri Sep 13, 2024 4:27 am

Thank you very much for your quick reply.
You've been very helpful with the internal midi ports. I was not familiar with this feature.
Now I have to read the manual on how to do this background script.
Cheers
Kyros

kraftf

Posts : 3
Join date : 2024-09-12

Back to top Go down

Midi port change for a preset? Empty Re: Midi port change for a preset?

Post by Admin Fri Sep 13, 2024 11:11 am

A script like this will route just about everything to/from the external ports:

[(cc:*,*,*){cc:#@e_ccchannel#,#@e_cc#,#@e_ccvalue#}]
[(cp:*,*){cp:#@e_cpchannel#,#@e_cpvalue#}]
[(pc:*,*){pc:#@e_pcchannel#,#@e_pc#}]
[(pb:*,*){pb:#@e_pbchannel#,#@e_pbvalue#}]
[(nrpn:*,*,*){nrpn:#@e_nrpnchannel#,#@e_nrpn#,#@e_nrpnvalue#}]
[(noteon:*,*,*){noteon:#@e_notechannel#,#@e_note#,#@e_notevelocity#}]
[(noteoff:*,*,*){noteoff:#@e_notechannel#,#@e_note#,#@e_notevelocity#}]


Midi port change for a preset? 2024-09-13_11-05-36
Admin
Admin
Admin

Posts : 1249
Join date : 2020-03-26

https://trevligaspel.forumotion.eu

kraftf likes this post

Back to top Go down

Midi port change for a preset? Empty Re: Midi port change for a preset?

Post by kraftf Fri Sep 20, 2024 7:25 pm

Admin wrote:A script like this will route just about everything to/from the external ports:

[(cc:*,*,*){cc:#@e_ccchannel#,#@e_cc#,#@e_ccvalue#}]
[(cp:*,*){cp:#@e_cpchannel#,#@e_cpvalue#}]
[(pc:*,*){pc:#@e_pcchannel#,#@e_pc#}]
[(pb:*,*){pb:#@e_pbchannel#,#@e_pbvalue#}]
[(nrpn:*,*,*){nrpn:#@e_nrpnchannel#,#@e_nrpn#,#@e_nrpnvalue#}]
[(noteon:*,*,*){noteon:#@e_notechannel#,#@e_note#,#@e_notevelocity#}]
[(noteoff:*,*,*){noteoff:#@e_notechannel#,#@e_note#,#@e_notevelocity#}]


Midi port change for a preset? 2024-09-13_11-05-36
Thx a lot for the code! You are very kind!!!!

kraftf

Posts : 3
Join date : 2024-09-12

Back to top Go down

Midi port change for a preset? Empty Re: Midi port change for a preset?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum