< Back to IRCAM Forum

Routing Diagonal when non symmetrical in-out are defined

Hello,

I am trying for setup a routing matrix (spat5.routing @inputs 256 @outputs 128) where the inputs are 256 and outputs are 128. Running /diag would get the first 128 ins to the corresponding 128 outputs and nothing else.

Is there a way to offset the starting point (or define range) for /diag, e.g., once the 128 are matched, input 129 is assigned again to output 1, the input 130, to output 2 etc?

Hi,

One way is to command+click with the mouse somewhere on the spat5.routing interface.
(and then you could store/restore the preset of the object)

Another way is to send a list of messages, formatted e.g. via [uzi].
Have a look at the attached patcher.

Hope this helps,
T.


----------begin_max5_patcher----------
1025.3oc6X0ziaaCD8r8uBBAzS0wqH0GVJmRBJPtz.TfdnGBBLjro2xMxjBT
TabRP9u2geHYYGYa4ckWzCYOXQQQpYdu4MyvUee5DubwNZkG50nOhlL46SmL
wLkdhIt6m3sMa2phrJyx73zuHxeval8QJ5NkYZEhgXMyVloV8uL98KkzUJ6K
OLzet+LDN1dw2bgfm6i9jaS75shZUAUYrCwMqcJ0WKo12iGiq7lYuztU1ZiO
.90qR71+5X7l2FVO2OlNU+yrmGPqJkfs2ftSJ9xc+156VIJfKHbyBKXb5JQM
W0EEkRZEkqxTLAeY+q3jTFIrKkEDbRJCeJJqWhJsWhhLdD0uivjjynHBvXC7
b3J9BBB74DD8AvE2Z.dIIuCf2bIe7+Ok7mNheaDzQiV7NuVoD7yDYIAFWOxk
e1760Bi7L988Bkv81VlskpnxkTdVdgYi923nc82XWHy0A+zApqCNK9ms+5oD
3jaclbE.xn4RvAAfhdCiWVqpPjnXzaf4L2zgQNPtGbQ4dfeWdJL55y+0bSuD
Ct+Le2jUYORWuDVG3QKyTJICD11l8SZ4mSnwLOyPtMTrw9FrezwELHWO+g7d
knVtpAAtFNn8PeMsBHaSCwNqAaWSuQ1gZmjAXmzQvNfpDQtfcNzWDx0TYK89
r.Hd..D+LA3hAPjQi.QFO.6rXDrSzKj.Ld.wmnQH9LDAXb+BP7yxvgCfHI+D
QZKfjUV9HUV4VrwDPI5GDF2J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