Unexpected behaviour from [line] object in Max 8

Jonas Magnussen's icon

Hey guys,
I get some weird behavior from the [line] object. I have used this little snippet to make values from midi controllers become less jerky and stuttery in earlier releases of Max, but it only seems to make matters worse now. As you can see in the patch example, it has some "legacy behaviour" that can be accessed with the @compatmode 1 attribute, which seems to fix the issue, and make it behave as I'm used to (phew, thanks).

What is the difference between the new version of the object and the Max 7. and earlier version, and what's the purpose with these changes? The current way it produces stuttery values when receiving a stream of prompts doesn't make much sense to me.

Max Patch
Copy patch and select New From Clipboard in Max.

Jonas Magnussen's icon

It seems I missed the "compatibility" tab in the help file, which highlights some of the changes and showcases benefits with the new version.

Apparently both versions have pros and cons, my patch above can maybe showcase situations where the compatmode 1 can be useful. I'm happy cycling decided to include @compatmode!