problems with play~ in reverse

Danny de Graan's icon

Hi All,

I have some problems with a patch I build. If I use a play~ object to play a recording in reverse it distorts a lot. If I use the file in a sample editor the file seems to be okay. I think it has to do with the way I build the patch (see below). It sounds like a digital sync problem but have no idea where the problem might be. Does someone have some ideas how to resolve this?

Thanx!!!

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

Danny de Graan's icon

Well, no replies yet!?

I have to say the distortion appears if you record a long file...say about 3 minutes. Hope someone has a solution.

MuShoo's icon

CHeck out hr.play and the other HR objects from JKC (check maxobjects.com)

The problem arises because max uses 32bit floating point numbers to pass information around. At a certain point, the 'current sample' value becomes to big to accurately depict in a 32bit number (generally around 3 minutes). The HR objects pass around two 32 bit numbers, and interprets them as 64 bit numbers, so your sample value limit is something like 4 hours or more.

Danny de Graan's icon

Hi MuShoo,

Thanx for your reply. [hr.play~] did the trick.

Funny thing is that I had a problem with the 32bit floating point a few weeks ago but never realised this applied to the play~ object as well.

Well, this is how you learn. Thanx again.