Could someone help interpret a snippet from some Arduino code I've been working on porting to Axo?
unvoicedSource = (synthRand & 1) ? synthEnergy : -synthEnergy;
I think what's going on is that the conditional evaluates if the least-significant bit of synthRand is a 1 or a 0, and sets unvoicedSource accordingly. I didn't know you could use integers directly as booleans like this though- I'd normally expect to see a numeric comparison, rather than a bitwise operation inside these brackets.
a|x