[PD] bytes2bits?

Andre Schmidt andre at vju.info
Tue Jul 30 23:54:21 CEST 2002


heh, it was too easy when you got simple info...
http://www.goshen.edu/compsci/mis200/decbinary.htm

+good ref.table for tae...
http://www.celticrover.com/bgtt/binary.asp

ok, the patch is simple and has the result output reversed, so if some1 knows how do i revert the output elegantly... (not pack/unpack)

"bytes2bits4_xgui.pd" is a test using "byte2bits.pd" (+ "remap.pd") for xgui (you need zexy)...
(it remaps adc~dfreq~snapshot~ to 0-255 and displays the 8bits as lines x2)...

"8bit-gem004c.pd" is the same, only for gem so rotating&scaling in 3d... (VERY messy)

cheers
-andre
ps. can i pan/rotate the gem camera arount the center of view ?
pss. can i force the gemwin to "stay on top" ?

----- Original Message ----- 
  From: Andre Schmidt 
  To: PD-LiST 
  Sent: Tuesday, July 30, 2002 8:08 AM
  Subject: [PD] bytes2bits?


  hi,

  that bits2bytes was easy, but i cant get bytes2bits to work properly...
  i remember doing this (WAY) back with pascal but cant figure out how to do it in pd...
  would be very nice if some1 could show me how to convert bytes (0-255) to a list of "0" & "1"...

  the attachment is how far i got...
  hope i'm even on the right path :)

  thnx
  -andre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20020730/4869d008/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: byte2bits.pd
Type: application/octet-stream
Size: 2580 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20020730/4869d008/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bytes2bits4_xgui.pd
Type: application/octet-stream
Size: 5459 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20020730/4869d008/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remap.pd
Type: application/octet-stream
Size: 614 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20020730/4869d008/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8bit-gem004c.pd
Type: application/octet-stream
Size: 11473 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20020730/4869d008/attachment-0003.obj>


More information about the Pd-list mailing list