ASCII or Letter to Binary
Hi,
how can I get the binary code from the corresponding ASCII code or Letter/Number/Symbo ?
Do I need to use an array ?
I tried different solution but still stuck if you can help me please.
Best
Zoltan
Objects like [key] and [textedit] can output ASCII codes. Then it's a matter of doing some bitwise operations. Max has objects for bitshifting ([<<], [>>]) and logical operations ([&], [II]). The attached patch should do what you need but you may want read up on bitwise operations to fully understand what's going on.
Max Patch
Copy patch and select New From Clipboard in Max.