< Back to IRCAM Forum

Source names as number?

Hi T.
In Spat 4 it was possible to give sources a number as a name, whereas in spat 5 I have an error. Why?


----------begin_max5_patcher----------
398.3ocwTEsSCBCE84xWQSeF2JaLm5uhwPJPi1EnkzVlXV1+tkaKnSYNRbQe
.Ztm6sbtmdOzCQHRtpiaH3GvOhQnCQHD.0CfBwHRMqqnhYfxHR9qp7cjXeJK
uyBvUJVYM2XvFUqtfiSvRVsagRGJUTBE517MIICfx1ZUqshagOdR.0CYeqg6
6LBA+THUCyV7hP9bllWX8YWuhtfFiWQgkjzs9nEzwM4XQHGIoG6XTT+q3emn
MttYgpgqmRizo035ypw3vybz5ZXYS5EjZ.zv1yKybck66jwrVsHu05G6nQE2
ym1MyrbcFWxxqfFiB4fiqqzg1nSYo2prLY4OXU1dMcJIaNwoLD8G4T1bNqR5
zZL8hNk3Yp2fa49+C2BvEoRH+50LP+1ie5oo2TDT5vkE3OZ4RtwJjLqPI+bQ
TeQSNwlKSamAQoeiGu.YMM64ZSnXfBmwXmR2GdWLDJj9vMPnluWLTObo.goc
CPq6TuUCsEo6Vu0fTqJ4ZYqH3JchyQIX55+0wYt75.7lQGidGvG6g8J
-----------end_max5_patcher-----------

Hi,
You’ll just have to make it a string argument.


----------begin_max5_patcher----------
347.3ocoRssSCCCC84zuhn7bYKk0MP7qvPUosVPPsIUItihl1+NoNoiwMgD7
PajOwwGerOGyXhZ6D3E7632yYriYLFAMCvRwLQuZpoS4ozDF3Ea8yh73UHLg
DbmU01CdOes2N5Zf0EqMpdfuWTHk6EK4aGwN.wWGfHmBA+gzU5VpPghe0MKo
aF60lvCHpKRfCJr4Is4wJGzfwxTrUtRlyuVRGE6JonhUxyUOToH2wRMCdJKa
9W9+S39P6rckc.b+rFyu366za4eUuanicxeQtkITu5.zVEXLTnJEhNc8HFW+
rypdlPWX0gfqBLp5NRFR5NZjsL3HxDcZymMPTCOi+woYzXjlIo0L+8VtE7n1
nPs0bQNkwb9BspggCfymRlnHrtd15lCuMmB0lX3VJzAGzK4ugPTtvbECyhQG
0VhocwMgn21BNynN4UBlj.kjUX1TGV4QcPNlrSYuA3lAIq.
-----------end_max5_patcher-----------

Ok, I thought about that but, since in my patch I send source names with a list, it didn’t work.
I’ve transformed the patch so that if I give as a name a number it’s transformed into a symbol and it works.
Thanks!