cstahie / MIDINetworkSetup

Apple script to auto-reconnect your MIDI device to the MIDI network session on OSX
MIT License
4 stars 1 forks source link

Improved script #2

Open gumaerc opened 4 years ago

gumaerc commented 4 years ago

Hey there,

I was going to make a PR with this, but your repo is not open to branching. I downloaded your script and improved upon it, you can see the script here in a public gist:

https://gist.github.com/gumaerc/186b8b3d1c5b891e5c54c5fce347277e

I'm using this to automatically connect a control surface connected to another computer over the network to my main studio machine. It has 2 MIDI devices technically, one for the control surface and one for the external ports. The way I set this up, you can see I've defined a list of sessions and a list of lists of participants. The script will iterate the sessions and add find each session row, selecting it first. It will then find the participants for that session with the matching index in the participants list and select and connect all of them, then repeat in the same way you set it up.

cstahie commented 4 years ago

Hi Carey,

I've added you to the project and also opened it up (was not aware I've locked it down). Added a new branch dev, you can add your work there and then add it as a new script file. Feel free to update readme too. Push to master when ready.

Cheers. I hope others will make use of our work 👍