Max 6 MSP bitwise operators are broken

christripledot's icon

WTF?

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

All the MSP bitwise operators are buggered in Max 6. Try hooking any of them up to to a [dac~], without any input. Horrible horrible horrible fixed-frequency square wave centered around +0.5.

christripledot's icon

Hmm... problem went away randomly. The post is too old to change the title to "...seemed broken for a minute there", so sorry for crying wolf.

But it got me thinking. The square wave made me wonder if there was some form of anti-denormal square-wave injection at work (maybe it was being inserted into the MSB rather than the LSB of the 64-bit signal)?

It would be good to know if this technique is indeed used - if so, the bitwise operators wouldn't be 100% exact.

While I'm on the subject, does anyone know if there is a tiny error margin for equality in the MSP comparison operators, or are they bit-for-bit exact?

christripledot's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Argh! It's come back again. Try this patch to hear the devil square:

tegid o's icon

Yep, that was horrible!

christripledot's icon

Bug report filed!

Andrew Benson's icon

Please try Max 6.0.1. I believe this bug was fixed.

christripledot's icon

Thanks Andrew. I'm away from my iLok right now, but I'll check it out later. FWIW, the changelog only mentions [bitsafe~] being fixed.