Forums > MaxMSP

Max 6 MSP bitwise operators are broken

Nov 08 2011 | 10:15 am


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.

-- Pasted Max Patch, click to expand. --

Nov 08 2011 | 11:20 am

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?

Nov 08 2011 | 11:22 am

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

-- Pasted Max Patch, click to expand. --

Nov 08 2011 | 12:19 pm

Yep, that was horrible!

Nov 09 2011 | 4:34 pm

Bug report filed!

Nov 09 2011 | 7:46 pm

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

Nov 09 2011 | 8:17 pm

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.

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

Forums > MaxMSP