Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Instances #15

Open
douggy12345 opened this issue Nov 13, 2017 · 1 comment
Open

Multiple Instances #15

douggy12345 opened this issue Nov 13, 2017 · 1 comment

Comments

@douggy12345
Copy link

This little program is fantastic - thank you for creating!

Do you know if it is possible to do the following all with one Pi 3...?

I have 5 x ipads running TouchOSC and 5 pieces of midi equipment (5 x behringer P16-M). I've got a 4x4 usb midi interface and also a 1x1 usb midi interface which touchosc2midi recognises all of when I list ports.

I need ipad 1 to be able to control P16M 1, ipad 2 to control P16m 2 and so on...And I was rather hoping to do this all with just one pi 3.

Unfortunately the midi parameters on the P16s use channels 1-16 and control so it's not possible to use the same midi port to control all 5 of them separately (there's no way of altering the midi mapping) - they each need a separate midi out port.

I've had a go at trying to fire up two terminal windows and run touchosc2midi twice, but it throws up error that address is already in use. I tried also seeing if entereing the ips of each iPad - but it won't connect to a manual ip that I enter for some reason.

@velolala
Copy link
Owner

velolala commented Nov 16, 2017

Hmm, I never tried to run multiple instances on the same host. The first hurdle would be the network port used for the MidiBridge (it is not configurable from TouchOSC settings). What you could try:

Run your second touchosc2midi instance from source code and adjust the PORT setting in https://github.com/velolala/touchosc2midi/blob/master/touchosc2midi/advertise.py#L13 to 12103 -- this setting is currently not exposed at the commandline and I am not sure, if TouchOSC would accept a different port when it is announced via zeroconf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants