<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: bitwise reversal</title>
		<atom:link href="http://cycling74.com/forums/topic/bitwise-reversal/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/bitwise-reversal/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 03:05:41 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/bitwise-reversal/#post-40628</guid>
					<title><![CDATA[bitwise reversal]]></title>
					<link>http://cycling74.com/forums/topic/bitwise-reversal/#post-40628</link>
					<pubDate>Mon, 03 Nov 2008 02:31:38 +0000</pubDate>
					<dc:creator>Ben Nevile</dc:creator>

					<description>
						<![CDATA[
						<p>hi,</p>
<p>how would you reverse the order of bits in an integer?</p>
<p>for example:<br />
00010011 -> 11001000<br />
10000010 -> 01000001</p>
<p>thanks, james.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bitwise-reversal/#post-143891</guid>
					<title><![CDATA[Re: bitwise reversal]]></title>
					<link>http://cycling74.com/forums/topic/bitwise-reversal/#post-143891</link>
					<pubDate>Mon, 03 Nov 2008 05:13:25 +0000</pubDate>
					<dc:creator>Stephen Lee</dc:creator>

					<description>
						<![CDATA[
						<p>There might a super-easy solution to this (perhaps an mxj object?), but a sort of brute force method would be to convert the number to a list of binary values, reverse the list, and convert it back to decimal. There was a thread about decimal to binary conversion a while back that might be helpful:</p>
<p><a href="http://www.cycling74.com/forums/index.php?t=rview&#038;th=35324&#038;rid=7743" rel="nofollow">http://www.cycling74.com/forums/index.php?t=rview&#038;th=35324&#038;rid=7743</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bitwise-reversal/#post-143892</guid>
					<title><![CDATA[Re: bitwise reversal]]></title>
					<link>http://cycling74.com/forums/topic/bitwise-reversal/#post-143892</link>
					<pubDate>Mon, 03 Nov 2008 09:13:11 +0000</pubDate>
					<dc:creator>jasch</dc:creator>

					<description>
						<![CDATA[
						<p>hi james,</p>
<p>the [bitlist] external in my collection offers the two bit ordering  <br />
modes you are looking for.<br />
to get the reversal you convert an int to binary using one mode and  <br />
convert back using the other.</p>
<p>the following patch also shows how to convert to and from a list of  <br />
bits using iterative bit-shifting and masking using stock objects only.</p>
<p>my object library can be downloaded here: <a href="http://www.jasch.ch/dl/" rel="nofollow">http://www.jasch.ch/dl/</a></p>
<p>hth</p>
<p>/*j</p>
<p>max 4.x version below</p>
<p>
<div><span id="toggle143892-0" class="patchtoggle" onmousedown="toggleMaxPatch('post143892-0', 'er143892-0');">&#8211; Pasted Max <span id="maxversion143892-0"></span> Patch, click to <span id="er143892-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A4252.3oc6c98bihiDG%2B4L%2BUPkGlZu8xsE5Wf3dX%2By3dYqqlxNlIK25XbYimj%0AMas%2BueFZgCjfsaABG0lTol3A6X6lupUqVf5O5u9xM2NO%2B4zs2F7uC9sfat4u%0A9xM2T8TkOwMliu41Gm878Kmss5O61UoOkO%2B%2Bc6cvKUj9bQ0S%2BxxfMo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RFXtG2LLy58%0AFVwXmF2LWPwCjKWpcgtW6zvfsvJKYDjtt6MNOqXY11h8AJ0V2ar1mDZzUHH0%0AS4WUmBZx34KJoifZ7ScfdpcudlXZrkiibNVv4Bxjcnr4Jd77OStrn4p1%2Bj0a%0A%2BSCYtFj%2BYzG4PvGyUicvMqYEhZQ7vHtK70TtRa3W5QXYLsqFgU7gli1nMVoK%0A56vFCoo5Kp8JzCTp2N%2BLidcl61Cp6Xx6mOV2yE6csdnsIAFahcYsIIBah0BQ%0A5m2lDxJ7yxY.YS3wGN5hXsQWTEjgwldigO11DJGMgcljJoZU9JqlWfToNbzE%0AoWA2NOPi8YHNnRjb3nKfxxjCPYM8cbgx9lNBXVLGieuENBaRbQMoDLpzkMpr%0AFiIcYG7By3oWVWILd2ZuyhhsKPlJoQbLlYb0KTbrnADFqwAWhHtCvRYF7f4h%0A.tHLUKSkxXcFGfRbQ0oCv9C96u7%2BAY99t1C%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post143892-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode143892-0">----------begin_max5_patcher----------
4252.3oc6c98bihiDG+4L+UPkGlZu8xsE5Wf3dX+y3dYqqlxNlIK25XbYimj
Mas+ueFZgCjfsaABG0lTol3A6X6lupUqVf5O5u9xM2NO+4zs2F7uC9sfat4u
9xM2T8TkOwMliu41Gm878Kmss5O61UoOkO++c6cvKUj9bQ0S+xxfMo+n9oWs
6w7cEKSKpdObyytdVw8+d1pG91lz6KfuSgP9Kg2EvzIkOHzUGr++G7eMuG3i
o3OWmBugau8t8+6vKmsn5aeuE8u3x5u8umupX0rGqdG29eR2rX1pYMessYuT
8Zrv8ecGL3rUGr2xm6u+xWJ+0cXkkcONOci0m+RYT4oLWyJePEd9y+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patcher-----------</code></pre></div>
</div>
</p><p>
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P message 336 225 79 196617 0 0 0 1 0 0 1 1;<br />
#P newex 336 205 62 196617 prepend set;<br />
#P message 446 224 79 196617 1 1 0 0 1 0 0 0;<br />
#P newex 446 204 62 196617 prepend set;<br />
#P number 436 287 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P number 326 287 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#N vpatcher 352 256 1058 702;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P number 249 319 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P window linecount 1;<br />
#P message 249 81 79 196617 0 0 0 0 1 1 1 1;<br />
#P newex 249 295 49 196617 +;<br />
#P newex 288 273 49 196617 +;<br />
#P newex 327 251 49 196617 +;<br />
#P newex 366 229 49 196617 +;<br />
#P newex 405 207 49 196617 +;<br />
#P newex 444 185 49 196617 +;<br />
#P newex 483 163 49 196617 +;<br />
#P newex 522 140 27 196617 * 1;<br />
#P newex 483 140 27 196617 * 2;<br />
#P newex 444 140 27 196617 * 4;<br />
#P newex 405 140 27 196617 * 8;<br />
#P newex 366 140 32 196617 * 16;<br />
#P newex 327 140 32 196617 * 32;<br />
#P newex 288 140 32 196617 * 64;<br />
#P newex 249 140 38 196617 * 128;<br />
#P newex 81 196 37 196617 pow 2;<br />
#P newex 81 174 37 196617 t 2 i;<br />
#N counter;<br />
#X flags 0 0;<br />
#P newobj 81 150 66 196617 counter;<br />
#P newex 64 126 27 196617 t l b;<br />
#P newex 249 109 286 196617 unpack 0 0 0 0 0 0 0 0;<br />
#P newex 64 297 27 196617 +;<br />
#P newex 81 273 27 196617 i;<br />
#P newex 64 245 27 196617 t i b;<br />
#P newex 64 221 27 196617 *;<br />
#P newex 64 101 47 196617 zl iter 1;<br />
#P window linecount 0;<br />
#P newex 64 73 40 196617 t l b 0;<br />
#P outlet 64 336 15 0;<br />
#P inlet 64 46 15 0;<br />
#P connect 0 0 2 0;<br />
#P connect 2 0 3 0;<br />
#P connect 3 0 9 0;<br />
#P connect 9 0 4 0;<br />
#P connect 4 0 5 0;<br />
#P connect 5 0 7 0;<br />
#P connect 7 0 1 0;<br />
#P connect 9 1 10 0;<br />
#P connect 10 0 11 0;<br />
#P connect 11 0 12 0;<br />
#P connect 12 0 4 1;<br />
#P connect 5 1 6 0;<br />
#P connect 6 0 7 1;<br />
#P fasten 2 2 6 1 99 94 156 94 156 258 103 258;<br />
#P fasten 7 0 6 1 69 318 134 318 134 263 103 263;<br />
#P connect 11 1 12 1;<br />
#P fasten 2 1 10 2 84 97 114 97;<br />
#P connect 28 0 8 0;<br />
#P connect 8 0 13 0;<br />
#P connect 13 0 27 0;<br />
#P connect 27 0 29 0;<br />
#P connect 8 1 14 0;<br />
#P connect 14 0 26 0;<br />
#P connect 26 0 27 1;<br />
#P connect 8 2 15 0;<br />
#P connect 15 0 25 0;<br />
#P connect 25 0 26 1;<br />
#P connect 8 3 16 0;<br />
#P connect 16 0 24 0;<br />
#P connect 24 0 25 1;<br />
#P connect 8 4 17 0;<br />
#P connect 17 0 23 0;<br />
#P connect 23 0 24 1;<br />
#P connect 8 5 18 0;<br />
#P connect 18 0 22 0;<br />
#P connect 22 0 23 1;<br />
#P connect 8 6 19 0;<br />
#P connect 19 0 21 0;<br />
#P connect 21 0 22 1;<br />
#P connect 8 7 20 0;<br />
#P connect 20 0 21 1;<br />
#P pop;<br />
#P newobj 436 254 67 196617 p to_decimal;<br />
#N vpatcher 352 256 1058 702;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P number 249 319 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P window linecount 1;<br />
#P message 249 81 79 196617 0 0 0 0 1 1 1 1;<br />
#P newex 249 295 49 196617 +;<br />
#P newex 288 273 49 196617 +;<br />
#P newex 327 251 49 196617 +;<br />
#P newex 366 229 49 196617 +;<br />
#P newex 405 207 49 196617 +;<br />
#P newex 444 185 49 196617 +;<br />
#P newex 483 163 49 196617 +;<br />
#P newex 522 140 27 196617 * 1;<br />
#P newex 483 140 27 196617 * 2;<br />
#P newex 444 140 27 196617 * 4;<br />
#P newex 405 140 27 196617 * 8;<br />
#P newex 366 140 32 196617 * 16;<br />
#P newex 327 140 32 196617 * 32;<br />
#P newex 288 140 32 196617 * 64;<br />
#P newex 249 140 38 196617 * 128;<br />
#P newex 81 196 37 196617 pow 2;<br />
#P newex 81 174 37 196617 t 2 i;<br />
#N counter;<br />
#X flags 0 0;<br />
#P newobj 81 150 66 196617 counter;<br />
#P newex 64 126 27 196617 t l b;<br />
#P newex 249 109 286 196617 unpack 0 0 0 0 0 0 0 0;<br />
#P newex 64 297 27 196617 +;<br />
#P newex 81 273 27 196617 i;<br />
#P newex 64 245 27 196617 t i b;<br />
#P newex 64 221 27 196617 *;<br />
#P newex 64 101 47 196617 zl iter 1;<br />
#P window linecount 0;<br />
#P newex 64 73 40 196617 t l b 0;<br />
#P outlet 64 336 15 0;<br />
#P inlet 64 46 15 0;<br />
#P connect 0 0 2 0;<br />
#P connect 2 0 3 0;<br />
#P connect 3 0 9 0;<br />
#P connect 9 0 4 0;<br />
#P connect 4 0 5 0;<br />
#P connect 5 0 7 0;<br />
#P connect 7 0 1 0;<br />
#P connect 9 1 10 0;<br />
#P connect 10 0 11 0;<br />
#P connect 11 0 12 0;<br />
#P connect 12 0 4 1;<br />
#P connect 5 1 6 0;<br />
#P connect 6 0 7 1;<br />
#P fasten 7 0 6 1 69 318 134 318 134 263 103 263;<br />
#P fasten 2 2 6 1 99 94 156 94 156 258 103 258;<br />
#P connect 11 1 12 1;<br />
#P fasten 2 1 10 2 84 97 114 97;<br />
#P connect 28 0 8 0;<br />
#P connect 8 0 13 0;<br />
#P connect 13 0 27 0;<br />
#P connect 27 0 29 0;<br />
#P connect 8 1 14 0;<br />
#P connect 14 0 26 0;<br />
#P connect 26 0 27 1;<br />
#P connect 8 2 15 0;<br />
#P connect 15 0 25 0;<br />
#P connect 25 0 26 1;<br />
#P connect 8 3 16 0;<br />
#P connect 16 0 24 0;<br />
#P connect 24 0 25 1;<br />
#P connect 8 4 17 0;<br />
#P connect 17 0 23 0;<br />
#P connect 23 0 24 1;<br />
#P connect 8 5 18 0;<br />
#P connect 18 0 22 0;<br />
#P connect 22 0 23 1;<br />
#P connect 8 6 19 0;<br />
#P connect 19 0 21 0;<br />
#P connect 21 0 22 1;<br />
#P connect 8 7 20 0;<br />
#P connect 20 0 21 1;<br />
#P pop;<br />
#P newobj 326 254 67 196617 p to_decimal;<br />
#P newex 326 179 37 196617 zl rev;<br />
#N vpatcher 352 256 1058 702;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P message 249 359 238 196617 0 0 0 0 1 1 1 1;<br />
#P window linecount 1;<br />
#P newex 249 338 62 196617 prepend set;<br />
#P newex 249 311 245 196617 pack 0 0 0 0 0 0 0 0;<br />
#P newex 249 290 27 196617 & 1;<br />
#P newex 249 266 29 196617 >> 1;<br />
#P newex 282 265 27 196617 & 1;<br />
#P newex 282 241 29 196617 >> 1;<br />
#P newex 315 240 27 196617 & 1;<br />
#P newex 315 216 29 196617 >> 1;<br />
#P newex 348 215 27 196617 & 1;<br />
#P newex 348 191 29 196617 >> 1;<br />
#P newex 381 190 27 196617 & 1;<br />
#P newex 381 166 29 196617 >> 1;<br />
#P newex 414 165 27 196617 & 1;<br />
#P newex 414 141 29 196617 >> 1;<br />
#P newex 480 115 27 196617 & 1;<br />
#P newex 447 140 27 196617 & 1;<br />
#P newex 447 116 29 196617 >> 1;<br />
#P number 480 82 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P number 136 72 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P newex 136 48 60 196617 loadmess 8;<br />
#P newex 64 216 55 196617 zl group 8;<br />
#P newex 64 182 27 196617 & 1;<br />
#P newex 64 158 40 196617 >> 1;<br />
#P newex 64 135 52 196617 i;<br />
#P newex 64 105 41 196617 uzi 8 0;<br />
#P window linecount 0;<br />
#P newex 64 73 52 196617 t b i;<br />
#P outlet 64 265 15 0;<br />
#P inlet 64 46 15 0;<br />
#P comment 182 75 129 196617 number of bits to generate;<br />
#P connect 1 0 3 0;<br />
#P connect 3 0 4 0;<br />
#P connect 4 0 5 0;<br />
#P connect 5 0 6 0;<br />
#P connect 6 0 7 0;<br />
#P connect 7 0 8 0;<br />
#P fasten 4 1 8 0 84 128 54 128 54 207 69 207;<br />
#P connect 8 0 2 0;<br />
#P connect 4 2 6 1;<br />
#P connect 10 0 4 1;<br />
#P connect 3 1 5 1;<br />
#P connect 10 0 8 1;<br />
#P connect 9 0 10 0;<br />
#P connect 23 0 25 0;<br />
#P connect 25 0 26 0;<br />
#P connect 26 0 27 0;<br />
#P connect 27 0 28 0;<br />
#P hidden connect 28 0 29 0;<br />
#P connect 21 0 23 0;<br />
#P connect 23 0 24 0;<br />
#P connect 24 0 27 1;<br />
#P connect 19 0 21 0;<br />
#P connect 21 0 22 0;<br />
#P connect 22 0 27 2;<br />
#P connect 17 0 19 0;<br />
#P connect 19 0 20 0;<br />
#P connect 20 0 27 3;<br />
#P connect 15 0 17 0;<br />
#P connect 17 0 18 0;<br />
#P connect 18 0 27 4;<br />
#P connect 12 0 15 0;<br />
#P connect 15 0 16 0;<br />
#P connect 16 0 27 5;<br />
#P connect 11 0 12 0;<br />
#P connect 12 0 13 0;<br />
#P connect 13 0 27 6;<br />
#P connect 11 0 14 0;<br />
#P connect 14 0 27 7;<br />
#P pop;<br />
#P newobj 436 158 62 196617 p to_binary;<br />
#N vpatcher 352 256 1058 702;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P message 249 359 238 196617 0 0 0 0 1 1 1 1;<br />
#P window linecount 1;<br />
#P newex 249 338 62 196617 prepend set;<br />
#P newex 249 311 245 196617 pack 0 0 0 0 0 0 0 0;<br />
#P newex 249 290 27 196617 & 1;<br />
#P newex 249 266 29 196617 >> 1;<br />
#P newex 282 265 27 196617 & 1;<br />
#P newex 282 241 29 196617 >> 1;<br />
#P newex 315 240 27 196617 & 1;<br />
#P newex 315 216 29 196617 >> 1;<br />
#P newex 348 215 27 196617 & 1;<br />
#P newex 348 191 29 196617 >> 1;<br />
#P newex 381 190 27 196617 & 1;<br />
#P newex 381 166 29 196617 >> 1;<br />
#P newex 414 165 27 196617 & 1;<br />
#P newex 414 141 29 196617 >> 1;<br />
#P newex 480 115 27 196617 & 1;<br />
#P newex 447 140 27 196617 & 1;<br />
#P newex 447 116 29 196617 >> 1;<br />
#P number 480 82 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P number 136 72 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P newex 136 48 60 196617 loadmess 8;<br />
#P newex 64 216 55 196617 zl group 8;<br />
#P newex 64 182 27 196617 & 1;<br />
#P newex 64 158 40 196617 >> 1;<br />
#P newex 64 135 52 196617 i;<br />
#P newex 64 105 41 196617 uzi 8 0;<br />
#P window linecount 0;<br />
#P newex 64 73 52 196617 t b i;<br />
#P outlet 64 265 15 0;<br />
#P inlet 64 46 15 0;<br />
#P comment 182 75 129 196617 number of bits to generate;<br />
#P connect 1 0 3 0;<br />
#P connect 3 0 4 0;<br />
#P connect 4 0 5 0;<br />
#P connect 5 0 6 0;<br />
#P connect 6 0 7 0;<br />
#P fasten 4 1 8 0 84 128 54 128 54 207 69 207;<br />
#P connect 7 0 8 0;<br />
#P connect 8 0 2 0;<br />
#P connect 4 2 6 1;<br />
#P connect 10 0 4 1;<br />
#P connect 3 1 5 1;<br />
#P connect 10 0 8 1;<br />
#P connect 9 0 10 0;<br />
#P connect 23 0 25 0;<br />
#P connect 25 0 26 0;<br />
#P connect 26 0 27 0;<br />
#P connect 27 0 28 0;<br />
#P hidden connect 28 0 29 0;<br />
#P connect 21 0 23 0;<br />
#P connect 23 0 24 0;<br />
#P connect 24 0 27 1;<br />
#P connect 19 0 21 0;<br />
#P connect 21 0 22 0;<br />
#P connect 22 0 27 2;<br />
#P connect 17 0 19 0;<br />
#P connect 19 0 20 0;<br />
#P connect 20 0 27 3;<br />
#P connect 15 0 17 0;<br />
#P connect 17 0 18 0;<br />
#P connect 18 0 27 4;<br />
#P connect 12 0 15 0;<br />
#P connect 15 0 16 0;<br />
#P connect 16 0 27 5;<br />
#P connect 11 0 12 0;<br />
#P connect 12 0 13 0;<br />
#P connect 13 0 27 6;<br />
#P connect 11 0 14 0;<br />
#P connect 14 0 27 7;<br />
#P pop;<br />
#P newobj 326 158 62 196617 p to_binary;<br />
#P message 169 224 79 196617 1 1 0 0 1 0 0 0;<br />
#P newex 169 204 62 196617 prepend set;<br />
#P message 74 224 79 196617 0 0 0 1 0 0 1 1;<br />
#P newex 74 204 62 196617 prepend set;<br />
#P number 62 287 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P number 159 287 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P newex 159 254 55 196617 bitlist 0 8;<br />
#P newex 62 254 55 196617 bitlist 0 8;<br />
#P newex 159 158 55 196617 bitlist 0 8;<br />
#P newex 62 158 55 196617 bitlist 1 8;<br />
#P number 62 110 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P newex 62 89 66 196617 loadmess 19;<br />
#P connect 0 0 1 0;<br />
#P fasten 1 0 2 0 67 141 67 141;<br />
#P connect 2 0 4 0;<br />
#P connect 4 0 7 0;<br />
#P connect 2 0 8 0;<br />
#P hidden connect 8 0 9 0;<br />
#P fasten 1 0 3 0 67 141 164 141;<br />
#P connect 3 0 5 0;<br />
#P connect 5 0 6 0;<br />
#P connect 3 0 10 0;<br />
#P hidden connect 10 0 11 0;<br />
#P fasten 1 0 12 0 67 141 331 141;<br />
#P connect 12 0 14 0;<br />
#P connect 14 0 15 0;<br />
#P connect 15 0 17 0;<br />
#P connect 14 0 21 0;<br />
#P hidden connect 21 0 22 0;<br />
#P fasten 1 0 13 0 67 141 441 141;<br />
#P connect 13 0 16 0;<br />
#P connect 16 0 18 0;<br />
#P connect 13 0 19 0;<br />
#P hidden connect 19 0 20 0;<br />
#P window clipboard copycount 23;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bitwise-reversal/#post-143893</guid>
					<title><![CDATA[Re: bitwise reversal]]></title>
					<link>http://cycling74.com/forums/topic/bitwise-reversal/#post-143893</link>
					<pubDate>Mon, 03 Nov 2008 09:13:30 +0000</pubDate>
					<dc:creator>jvkr</dc:creator>

					<description>
						<![CDATA[
						<p>An example with standard objects:</p>
<p>
<div><span id="toggle143893-0" class="patchtoggle" onmousedown="toggleMaxPatch('post143893-0', 'er143893-0');">&#8211; Pasted Max <span id="maxversion143893-0"></span> Patch, click to <span id="er143893-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A652.3oc0W1saaCBEG%2BZmmBDpWznlkA3OR7dP1MSSSjXpKS1PjMoKqU8ce7gI%0AcI0o0qww0SJxHN4.7%2B7iCGiebR.bkbGqFB9B3afffGmDDXMYLDzzO.VR2stf%0AVacCJ1VthUAm49Kdl0nb0O%2BTbp2n1EtnforC.2X7VoPInkLq%2BekUkQET%2B.1P%0AUquiKx%2BQEasxIlDLYNZFffSLMwHaG8Sv2edQjaU9UgzX0YR86ML2z.4BEbF.%0AthJxg6GqQK07Gr9fwyQFqOMYh4wryFCK5SLDlXi7PjsAGs7hxg8lqJoVAD1q%0AjI4BPFxhj%2BeHC6WZN3iIEamclfJ.GvaiWg8IuhcmjvIVPERlGeV3xzLHmmht%0AHTHjLRKqzdJBa2lJfdMutPliQWeEGeCd5mccHSuAMOMMcZavC2qviXycvotR%0AyguE8vmhd8JxpnYbYdkb6lV.PH5UAPaAYrK5V5hU2SbzYEjEz7RYF6fUthUy%0ADJphKEGjeFaSLIlZN.Tyi8yDWwJ8Kgel73aQS%2B6oEa8uRGqG9g%2Bv6mqLdMcU%0AAKy4I5EdpW09KA9gBPE69V1fHKacCh7NyPa17RhLMQ326wayY6dMIsjUWSyY%0AufK9TCyNUMSAtR2t2lV71BLsPMTuRMWQQRj6.MA4y7%2BPOWeJjYvjVelYWiqV%0AfSZuxFWMul6gtLdTflWsjWx%2BbEuls%2Bdrh2GWcJ6vfEbwweUiMvM1Ojq0xsUq%0A8Af%2B9FfmC8LVshKrko%2BKmhOzo63YYL6%2B6unXIOaiT%2BB6FQbhRocUSwcQSlZB%0ACslvuglL2%2BXroIymgLfZJD0k7oECplR5R5zxAURGkobBLkNnZJsCRJDM9vzv%0ARoiRTFEXhzkCcIitjoyQQ5NOM4O.ORwgoA%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post143893-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode143893-0">----------begin_max5_patcher----------
652.3oc0W1saaCBEG+ZmmBDpWznlkA3OR7dP1MSSSjXpKS1PjMoKqU8ce7gI
cI0o0qww0SJxHN4.7+7iCGiebR.bkbGqFB9B3afffGmDDXMYLDzzO.VR2stf
VacCJ1VthUAm49Kdl0nb0O+Tbp2n1EtnforC.2X7VoPInkLq+ekUkQET+.1P
UquiKx+QEasxIlDLYNZFffSLMwHaG8Sv2edQjaU9UgzX0YR86ML2z.4BEbF.
thJxg6GqQK07Gr9fwyQFqOMYh4wryFCK5SLDlXi7PjsAGs7hxg8lqJoVAD1q
jI4BPFxhj+eHC6WZN3iIEamclfJ.GvaiWg8IuhcmjvIVPERlGeV3xzLHmmht
HTHjLRKqzdJBa2lJfdMutPliQWeEGeCd5mccHSuAMOMMcZavC2qviXycvotR
yguE8vmhd8JxpnYbYdkb6lV.PH5UAPaAYrK5V5hU2SbzYEjEz7RYF6fUthUy
DJphKEGjeFaSLIlZN.Tyi8yDWwJ8Kgel73aQS+6oEa8uRGqG9g+v6mqLdMcU
AKy4I5EdpW09KA9gBPE69V1fHKacCh7NyPa17RhLMQ326wayY6dMIsjUWSyY
ufK9TCyNUMSAtR2t2lV71BLsPMTuRMWQQRj6.MA4y7+POWeJjYvjVelYWiqV
fSZuxFWMul6gtLdTflWsjWx+bEuls+drh2GWcJ6vfEbwweUiMvM1Ojq0xsUq
8Af+9FfmC8LVshKrko+KmhOzo63YYL6+6unXIOaiT+B6FQbhRocUSwcQSlZB
CslvuglL2+XroIymgLfZJD0k7oECplR5R5zxAURGkobBLkNnZJsCRJDM9vzv
RoiRTFEXhzkCcIitjoyQQ5NOM4O.ORwgoA
-----------end_max5_patcher-----------</code></pre></div>
</div>
</p><p>
_<br />
johan</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bitwise-reversal/#post-143894</guid>
					<title><![CDATA[Re: bitwise reversal]]></title>
					<link>http://cycling74.com/forums/topic/bitwise-reversal/#post-143894</link>
					<pubDate>Mon, 03 Nov 2008 15:55:15 +0000</pubDate>
					<dc:creator>Ben Nevile</dc:creator>

					<description>
						<![CDATA[
						<p>johan,</p>
<p>Your solution is very interesting, it seems that the radiogroup object will do the binary/list translation pretty much by itself. Makes the complex solutions posted by Stephen Lee seem redundant:</p>
<p><a href="http://www.cycling74.com/forums/index.php?t=rview&#038;th=35324&#038;rid=7743" rel="nofollow">http://www.cycling74.com/forums/index.php?t=rview&#038;th=35324&#038;rid=7743</a></p>
<p>The only maths in your patch is to resize the radiogroup objects depending on how many bits in the incoming integer. Since I am only dealing with bytes I can just leave the radiogroup objects at 8 long.</p>
<p>Max is restricted to 32bit integers, is it not? So you could just leave the radiogroup objects at 32 long and be done with it.</p>
<p>Thanks, James.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bitwise-reversal/#post-143895</guid>
					<title><![CDATA[Re: bitwise reversal]]></title>
					<link>http://cycling74.com/forums/topic/bitwise-reversal/#post-143895</link>
					<pubDate>Mon, 03 Nov 2008 16:54:46 +0000</pubDate>
					<dc:creator>Bas van der Graaff</dc:creator>

					<description>
						<![CDATA[
						<p>Another problem for me would be that the radiogroup is a gui element. I avoid those like the plague&#8230;</p>
<p>Although jasch rules, can&#8217;t you just:</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P newex 186 125 40 196617 itoa;<br />
#P newex 186 105 37 196617 zl rev;<br />
#P newex 186 148 32 196617 print;<br />
#P message 186 66 46 196617 111010;<br />
#P newex 186 85 40 196617 atoi;<br />
#P connect 4 0 2 0;<br />
#P connect 3 0 4 0;<br />
#P connect 0 0 3 0;<br />
#P connect 1 0 0 0;<br />
#P window clipboard copycount 5;</p>
<p>?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bitwise-reversal/#post-143896</guid>
					<title><![CDATA[Re: bitwise reversal]]></title>
					<link>http://cycling74.com/forums/topic/bitwise-reversal/#post-143896</link>
					<pubDate>Mon, 03 Nov 2008 19:12:51 +0000</pubDate>
					<dc:creator>Ben Nevile</dc:creator>

					<description>
						<![CDATA[
						<p>Quote: Bas van der Graaff wrote on Mon, 03 November 2008 09:54<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
> Another problem for me would be that the radiogroup is a gui element. I avoid those like the plague&#8230;</p>
<p>I agree, but it does work with the least amount of objects.</p>
<p>Your example doesn&#8217;t work for numbers.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bitwise-reversal/#post-143897</guid>
					<title><![CDATA[Re: bitwise reversal]]></title>
					<link>http://cycling74.com/forums/topic/bitwise-reversal/#post-143897</link>
					<pubDate>Tue, 04 Nov 2008 10:08:55 +0000</pubDate>
					<dc:creator>Bas van der Graaff</dc:creator>

					<description>
						<![CDATA[
						<p>You mean leading zeros? Correct, hehe.<br />
It&#8217;s near impossible to treat those correctly in max, even things like [sprintf "%s"] and [unpack s] like to remove them. Explicit annoyance.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bitwise-reversal/#post-143898</guid>
					<title><![CDATA[Re: bitwise reversal]]></title>
					<link>http://cycling74.com/forums/topic/bitwise-reversal/#post-143898</link>
					<pubDate>Tue, 04 Nov 2008 11:39:51 +0000</pubDate>
					<dc:creator>Emmanuel Jourdan</dc:creator>

					<description>
						<![CDATA[
						<p>On 4 nov. 08, at 11:08, Bas van der Graaff wrote:</p>
<p>> You mean leading zeros? Correct, hehe.<br />
> It&#8217;s near impossible to treat those correctly in max, even things  <br />
> like [sprintf "%s"] and [unpack s] like to remove them. Explicit  <br />
> annoyance.</p>
<p>[sprintf symout %.3d] seems to be really happy here. Don&#8217;t forget to  <br />
output a symbol, otherwise it get automatically converted back to an  <br />
integer.</p>
<p>HTH,<br />
ej</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bitwise-reversal/#post-143899</guid>
					<title><![CDATA[Re: bitwise reversal]]></title>
					<link>http://cycling74.com/forums/topic/bitwise-reversal/#post-143899</link>
					<pubDate>Tue, 04 Nov 2008 13:45:24 +0000</pubDate>
					<dc:creator>Bas van der Graaff</dc:creator>

					<description>
						<![CDATA[
						<p>Hmm, are you sure? Even when i use [printit] directly after [sprintf symout %.3d], i&#8217;ve already lost my leading zeroes.</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P newex 573 325 39 196617 printit;<br />
#P newex 537 325 32 196617 print;<br />
#P message 473 363 50 196617 111;<br />
#P newex 473 325 62 196617 prepend set;<br />
#P message 473 178 46 196617 111;<br />
#P newex 473 236 103 196617 sprintf symout %.3d;<br />
#P connect 0 0 2 0;<br />
#P connect 0 0 4 0;<br />
#P connect 0 0 5 0;<br />
#P connect 1 0 0 0;<br />
#P connect 2 0 3 0;<br />
#P window clipboard copycount 6;</p>
<p>Mind you, i don&#8217;t need this for my patch or anything, just generally interested how things work. Personally, I might prefer more strict use of datatypes, as things like these are hardly intuitive, but it remains to be tested how this influences workflow&#8230;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bitwise-reversal/#post-143900</guid>
					<title><![CDATA[Re: bitwise reversal]]></title>
					<link>http://cycling74.com/forums/topic/bitwise-reversal/#post-143900</link>
					<pubDate>Tue, 04 Nov 2008 14:00:33 +0000</pubDate>
					<dc:creator>Mattijs</dc:creator>

					<description>
						<![CDATA[
						<p>My proposal for Max 6 (seriously):</p>
<p>1 -> int<br />
0.1 -> float<br />
1 0.1 -> list of int and float<br />
&#8220;hello&#8221; -> string<br />
&#8220;hello world&#8221; -> string<br />
&#8220;hello&#8221; &#8220;world&#8221; -> list of two strings<br />
hello -> message / keyword<br />
hello world -> list of two messages<br />
hello &#8220;world&#8221; -> list of message and string</p>
<p>Special cases:<br />
000111 -> int (equal to 111)<br />
00.0111 -> float (equal to 0.0111)<br />
&#8220;000111&#8243; -> string</p>
<p>
- if an object doesn&#8217;t understand a keyword, it throws an error <br />
- we lose the term &#8216;symbol&#8217;</p>
<p>Mattijs</p>
<p>Quote: Bas van der Graaff wrote on Tue, 04 November 2008 14:45<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
> Personally, I might prefer more strict use of datatypes, as things like these are hardly intuitive, but it remains to be tested how this influences workflow&#8230;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bitwise-reversal/#post-143901</guid>
					<title><![CDATA[Re: bitwise reversal]]></title>
					<link>http://cycling74.com/forums/topic/bitwise-reversal/#post-143901</link>
					<pubDate>Tue, 04 Nov 2008 15:14:02 +0000</pubDate>
					<dc:creator>Emmanuel Jourdan</dc:creator>

					<description>
						<![CDATA[
						<p>On 4 nov. 08, at 14:45, Bas van der Graaff wrote:</p>
<p>> Hmm, are you sure? Even when i use [printit] directly after  <br />
> [sprintf symout %.3d], i&#8217;ve already lost my leading zeroes.<br />
><br />
> #P window setfont &#8220;Sans Serif&#8221; 9.;<br />
> #P window linecount 1;<br />
> #P newex 573 325 39 196617 printit;<br />
> #P newex 537 325 32 196617 print;<br />
> #P message 473 363 50 196617 111;<br />
> #P newex 473 325 62 196617 prepend set;<br />
> #P message 473 178 46 196617 111;<br />
> #P newex 473 236 103 196617 sprintf symout %.3d;<br />
> #P connect 0 0 2 0;<br />
> #P connect 0 0 4 0;<br />
> #P connect 0 0 5 0;<br />
> #P connect 1 0 0 0;<br />
> #P connect 2 0 3 0;<br />
> #P window clipboard copycount 6;<br />
><br />
> Mind you, i don&#8217;t need this for my patch or anything, just generally  <br />
> interested how things work. Personally, I might prefer more strict  <br />
> use of datatypes, as things like these are hardly intuitive, but it  <br />
> remains to be tested how this influences workflow&#8230;</p>
<p>well if you send 111, you get 111, not more leading 0. On Max 5 (don&#8217;t  <br />
have the time to open 4.6 right now), when I use [sprintf symout %. <br />
3d], and I send 11, the symbol sent to the output is 011 (that&#8217;s what  <br />
is printed in the Max window, that&#8217;s also what is sent to the message  <br />
box). Am I missing something?</p>
<p>ej</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bitwise-reversal/#post-143902</guid>
					<title><![CDATA[Re: bitwise reversal]]></title>
					<link>http://cycling74.com/forums/topic/bitwise-reversal/#post-143902</link>
					<pubDate>Tue, 04 Nov 2008 15:14:35 +0000</pubDate>
					<dc:creator>Ben Nevile</dc:creator>

					<description>
						<![CDATA[
						<p>Quote: Bas van der Graaff wrote on Tue, 04 November 2008 03:08<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
> You mean leading zeros? Correct, hehe.</p>
<p>No, I mean numbers, integers. You are reversing a message.</p>
<p>You are taking message that looks like the binary representation of a number and reversing it.</p>
<p>Have a look at johan&#8217;s patch and see how it differs form yours.</p>
<p>The real revelation for me here is the radiogroup object. It seems to do the job of converting a number into a list of the binary version straight off. I agree that it&#8217;s a shame that it&#8217;s a gui object, also a shame that you need to know how many bits in your number, but it still seems that this is the best solution for this problem.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bitwise-reversal/#post-143903</guid>
					<title><![CDATA[Re: bitwise reversal]]></title>
					<link>http://cycling74.com/forums/topic/bitwise-reversal/#post-143903</link>
					<pubDate>Tue, 04 Nov 2008 15:22:03 +0000</pubDate>
					<dc:creator>Ben Nevile</dc:creator>

					<description>
						<![CDATA[
						<p>Quote: Emmanuel Jourdan wrote on Tue, 04 November 2008 08:14<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
> Am I missing something?</p>
<p>
Yes. We&#8217;re talking about numbers here, not messages that look like numbers.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bitwise-reversal/#post-143904</guid>
					<title><![CDATA[Re: bitwise reversal]]></title>
					<link>http://cycling74.com/forums/topic/bitwise-reversal/#post-143904</link>
					<pubDate>Tue, 04 Nov 2008 15:54:05 +0000</pubDate>
					<dc:creator>stefantiedje</dc:creator>

					<description>
						<![CDATA[
						<p>Mattijs Kneppers schrieb:<br />
> My proposal for Max 6 (seriously):<br />
> <br />
> 1 -> int<br />
> 0.1 -> float<br />
> 1 0.1 -> list of int and float<br />
> &#8220;hello&#8221; -> string<br />
> &#8220;hello world&#8221; -> string<br />
> &#8220;hello&#8221; &#8220;world&#8221; -> list of two strings<br />
> hello -> message / keyword<br />
> hello world -> list of two messages<br />
> hello &#8220;world&#8221; -> list of message and string<br />
> <br />
> Special cases:<br />
> 000111 -> int (equal to 111)<br />
> 00.0111 -> float (equal to 0.0111)<br />
> &#8220;000111&#8243; -> string</p>
<p>This would mix a bit the difference between presentation of a number (or <br />
visualisation) and the number itself, it would create an overhead not <br />
worth it. Each simple number would have to carry a presentation along <br />
with it&#8230;<br />
I doubt that anybody would want her patches 100% broken when switching <br />
from Max 5.x to Max 6, though computing power might be so much higher, <br />
that you don&#8217;t know anymore how to burn it&#8230;</p>
<p>It is like with going from C to C++, it had to be a new language.<br />
(And the world is still using this bad hack of a language called C&#8230;)</p>
<p>Stefan</p>
<p>&#8211; <br />
Stefan Tiedje&#8212;&#8212;&#8212;&#8212;x&#8212;&#8212;-<br />
&#8211;_____&#8212;&#8212;&#8212;&#8211;|&#8212;&#8212;&#8212;&#8212;&#8211;<br />
&#8211;(_|_ &#8212;-|&#8212;&#8211;|&#8212;&#8211;()&#8212;&#8212;-<br />
&#8211; _|_)&#8212;-|&#8212;&#8211;()&#8212;&#8212;&#8212;&#8212;&#8211;<br />
&#8212;&#8212;&#8212;-()&#8212;&#8212;&#8211;www.ccmix.com</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bitwise-reversal/#post-143905</guid>
					<title><![CDATA[Re: bitwise reversal]]></title>
					<link>http://cycling74.com/forums/topic/bitwise-reversal/#post-143905</link>
					<pubDate>Tue, 04 Nov 2008 16:44:52 +0000</pubDate>
					<dc:creator>Bas van der Graaff</dc:creator>

					<description>
						<![CDATA[
						<p>Presentation? O.o?</p>
<p>Internally, all variables have C data types already, so the only difference would be that you could get rid of all the excess automatic conversion, only objects presented with incorrect data types would generate an error.</p>
<p>You&#8217;re correct by stating some patches may be broken in Max 6, but the errors will be easy to trace and fix by adding a simple [i], [f] or [str] object for typeconversion. Most of your data is type-specific, only rarely one datatype is used as another.</p>
<p>Of course, these are only ideas, but can&#8217;t harm to discuss whether it needs change, as it&#8217;s clearly not very easy-to-use at the moment.</p>
<p>
Quote: stefantiedje wrote on Tue, 04 November 2008 16:54<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
> This would mix a bit the difference between presentation of a number (or <br />
> visualisation) and the number itself, it would create an overhead not <br />
> worth it. Each simple number would have to carry a presentation along <br />
> with it&#8230;<br />
> I doubt that anybody would want her patches 100% broken when switching <br />
> from Max 5.x to Max 6, though computing power might be so much higher, <br />
> that you don&#8217;t know anymore how to burn it&#8230;<br />
> <br />
> It is like with going from C to C++, it had to be a new language.<br />
> (And the world is still using this bad hack of a language called C&#8230;)<br />
> <br />
> Stefan<br />
></p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

