Better way to deal with long string of arguments

Putting this as a separate reply to decouple the feature-request-y bit from the specific use cases.

  1. So in the case from the other thread, wanting to create a single multichannel buffer from an arbitrary amount of individual buffers (with no manipulation of gains/offsets/etc…)

I’ll go back to trying to fix what I had, but this is what I posted in the other thread:


----------begin_max5_patcher----------
927.3ocuWtsiaxCD.95jmBKK06XQ1FLG9eUpph.hSpq3j.S61V09r2wClbXW
RVRW5etvAlX6Y9lS14ma2PyadV0SI+G4ijMa941MaPQVAabuugVk8bQYVONM
ZQSUkp1P8F+Mi5YCJOqpYn1PZNP5K0Evd5lfdO9yM4e4IQxjv5gJccoxfaI+
rvlAyjTlSZalo3y55i65TElQCUvX9LORnzNlhiBPB4S1U7qsasCdKDGPo4pt
4L1H5IKnKqRYTc6T0Y4kpKstE.hvIcTj46spQJnTOBMOq9Hk7oayJOLDYkaG
kH2BweKqpuAj8pH2SD9b7GLavRLKi7awnFxTtKdAg9BoGgKRQzR8kuC.yGLl
l54fQrRAyaB5aGH4BjzwHoHbZbMijC+PSDyFLYOPvL3tL5c962L35PNI9bJ7
Zm7ZHZhdFh4ORuFw8Re8dfr3X1JjEeCRa6zma6dIowqSW0HmsK84QgQwhDIW
FYoJP7uHvAmijqqUD.Jxt5pC6NnKMy1IlG8.Iu2sa6hBhBNlnN0QZkwtGCiG
HscMvgj8jOzSXjm3v.mXG+vdxYmwt9gpW75bE2qQi5k4ZjA9blLIUllFwRCh
sYGR4+B+zgxA8d+7gCPdRaSu52y.dfj9+Rm6I5ecoAmkLK731QKg76Wb2Jb6
sxu1iz2LzULYPtXJjLLYT6U8FcclQCGtcdNV7uXRMc6gxGaM9rQg0Ty1VNyo
Y96Ry1V1PMv8UsXbNuODWBi1iLIr2olPjdSuYzZnonkvzJnHzuHdKEErFZJX
INuj0PSQKMgfOSYdVa6WUc8tYiJAZw8kFrjHwCeUWO9Jd9KsS8U8z7w9zzrN
nqiAZ4LzgFF84nP53Rafhq5Asq9BvCTYu46kur0RMbuVboP60HaOWjF.lCYC
klq8.4GKZJGsHn+Fdb2oAlu7jmv1NFm4NcskQmSiMNuoAt+YeWVQA7uCuX2Y
9I1okDjJ3Q1mhYoIrP2pFcldtnUGrTDMjCG.Uf0qm5qcYz8Jfw1+2C4qLoPQ
fTjZslfXgLDeRDGJ4qsYUAmwmcTcOC6w8w4Gg6CTdBnMm1KXybmqQO1ksWe9
+o63meJlDAeh8l8oKTkaYhokEmj.dNuYe50KaZUhTFOEi8AtXu8IPD+EqBNI
dzIKvKR6jBWUpsoapZDVZ5o4OXZNA5zIeiEm2L7cc0wxhhi2YXwYWXLKDRqX
B7IfYvl+ayrFaxfWXxZT8sYi8tv6Us8Wa+i.8Iwg
-----------end_max5_patcher-----------

It doesn’t work (but the patch in context is biggish and a bit confusing in terms of structure since there’s dynamically created objects and externals)

So that’s a super simple, seemingly super obvious use case, which requires a pretty messy argument strand (sprintf process %s 0 -1 0 1 1 0 %d nmf_filter_sum nmf_filter_sum).

  1. This one was solved by @weefuzzy just after the plenary, but it seems like concatenating a buffer from lots of individual files (a folder specifically) shouldn’t be as (relatively) complex as it is.

  2. Splitting a big multichannel buffer into individual (poly?)buffers. So being able to take a higher @rank resynthbuf’s output and then splitting it out into individually addressable buffers for easy play in the mc. universe (and/or easier individual treatment/processing).