Forums > MaxMSP

regexp issue

March 28, 2013 | 11:33 am


SO. I’m using regexp to convert lists of pitch values (between 1 and 88) to chord symbols, placing a "." between each and parsing them out before being sent as midi, which has been going fine so far. BUT. When regexp is given a list of two pitch values, it adds four digits to the end of the second integer.

— Pasted Max Patch, click to expand. —

Any ideas what’s going on? And is there a way to get regexp to not do this? And if not, any thoughts on how to filter these out after the fact (bearing in mind that there will be lots of other, unproblematic chord symbols coming through regexp that won’t need filtering)?


March 28, 2013 | 12:16 pm

This appears to be fixed in Max 6.1.1

Best, Jeremy

March 28, 2013 | 3:02 pm

So it is, thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP