Feature request: make "input_routings" more usefull!
Now; before I go on.. This isn’t exactly my discovery, this whole thing got triggered by a post on the Ableton forum which you can find here.
The Track class has a property called "input_routings" with a ‘get’ access only.
The only problem here is that its output is near to useless (no offense). For example, when I use this on one of my midi tracks in Live all I get:
print: All Ins CASIO USB-MIDI Computer Keyboard Maschine Controller In 3-Maschine No Input
Hardly usable. Its a whole list of individual words which may or may not be related to one other. "All Ins" is actually one entry (so 2 words) yet so is "Maschine Controller In" (3 words).
So I’d really would suggest to either use "" to group these entries or use some kind of delimiter.
For the full story please refer to the URL I mentioned at the top; that’s where the original thread is being hosted.
I use this workaround to check if a specific port is available (example is for output_routings):
----------begin_max5_patcher---------- 555.3ocyW1saaCBFF9XmqBDGmEYvPHYm0KfJMoc3TUD0l4vjMXYHcYsp26Cv w8mzDaWUWmdBHfuv2KOFdg7vrH3s58BCD7cvu.QQOLKJJzkuinCsifk78oEb SHLnUmmWHfyaFRsqTpJD1vXnm6TuydbuUba5VoJeSsH01jQLKdQ7b.gt1Wgi aKA2b32HyB4Te6e91x1T1L01+UIZlDnT4lta7C93rY9h4CbonD+0MysyqUrO HKXglmUJLFfSwaA1sRylLwcxTAHkqzJYJuXSEuV3RaWT32ZkUwKCpDdUsjW. eu7IAQCHAwBUDVW.hs5rDB9T7dQYj2GF.gWDOdTq1kUAvUTsytw2vsTLiBfv 8tAJgl3qPXRm.hbd.MeZfz8E.isVvKAImDM3QGMj3vYqkq6hLT1WAxjpK8Gq .VM3Z99q+4O.noBRI3v9GRm6enW98ORqn9y1zo8L0p.Svc54PSlFOGucLOW7 FdjKrCxxAO53AyBfAgZbdVcZ9PHWTO4B4chEtA7heZvRRyUUK67fDhd4oh+t 8Q4jTR+We2XqPocxj3tMWFpASHF2RTc7q5B5y2+qAlQuqNsMSsBA7rDyDF2w JtUpUuLH2WP.5of1JyxDgwiOzSoLqR6dX1AQblmmMTM4cd6USKeULe1RhMDI 4sGmPM4uFueMQlVMkLDMwlTMQHCcK96PSX15ETmAXLyW8xVeP0djPNsZYS6W U++0neBF+Azjqwiy9O.4SDV+ -----------end_max5_patcher-----------