I’m working on a patch that takes a upc bar code that triggers 12 integers that will be hooked up to a coll object to generate musical phrases. I’ve decided to use the ASCII code to split the barcode into the 12 digits I need for the rest of the patch. I originally inquired about this a few months back. Here’s a link to that conversation. http://www.cycling74.com/forums/index.php?t=msg&goto=126809#msg_126809
The problem with all the proposed solutions is the message box. I need to use the Text Edit object to do what I want to do.
UPC bar code only encode numeric characters. Code 128 is capable of encoding all ASCII characters. To encode the text to a bar code using a font, a barcode font encoder is needed to format the characters to text string for a barcode font.
UPC barcodes can be printed at various densities to accommodate a variety of printing and scanning processes. The significant dimensional parameter is called x-dimension, the ideal width of single module element.