Bug with function ? Max 6.08 OSX 10.8.2
I was playing with an env driven speed on a soundfile using play and I think I came across something like a bug in [function] object in curve mode : it seems that the "setdomain $1" message is ignored. At least the domain value is correct in the inspector but when I launch it, it seems to play only from the beginning to the first enveloppe point. Edit : same behaviour in line mode.
This is using osx 10.8.2 on a non retina i7 mbp, with max 6.08.
It's not a bug, you discovered a feature ;-) function has the possibility to have sustain points, when you send a bang message it starts the envelope from the beginning to the first sustain point. You can either avoid creating those point by setting the clicksustain attribute to 0, or remove the sustain points with the clearsustain message.