<?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: Checksums for Sysex Messages in Max/MSP, NEED OPRATORS?</title>
		<atom:link href="http://cycling74.com/forums/topic/checksums-for-sysex-messages-in-maxmsp-need-oprators/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/checksums-for-sysex-messages-in-maxmsp-need-oprators/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 20:52:10 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/checksums-for-sysex-messages-in-maxmsp-need-oprators/#post-49540</guid>
					<title><![CDATA[Checksums for Sysex Messages in Max/MSP, NEED OPRATORS?]]></title>
					<link>http://cycling74.com/forums/topic/checksums-for-sysex-messages-in-maxmsp-need-oprators/#post-49540</link>
					<pubDate>Mon, 05 Apr 2010 04:58:11 +0000</pubDate>
					<dc:creator>jawnypants</dc:creator>

					<description>
						<![CDATA[
						<p>I have a &#8220;musical instrument&#8221; patch creates scales mathematically.  Since I can&#8217;t send them directly to my Mac&#8217;s AU Synth (I&#8217;m not smart enough, ok?) I take the MIDI route and send a bulk tuning dump message to Max Magic Microtuner.  I can create the entire 408 byte message without a problem except for one thing;  I can&#8217;t get the checksum correct.  MMM receives it anyway, but then I have to clear the &#8220;invalid checksum&#8221; warning every few seconds.<br />
  The rule for a Sysex checksum is this, you &#8220;XOR&#8221; the entire message, excluding F0, F7, and the checksum itself.  The result is &#8220;AND&#8217;d&#8221; with F7 to give a 7 bit number.  I found a max object by Peter Elsea called &#8220;LXOR&#8221; which processes the list of numbers, but I can&#8217;t (apparently) find an object to do the &#8220;ANDing&#8221; correctly.  I&#8217;ve tried the &#8220;&#038;&#8221; object and the &#8220;|&#8221; object in Max/MSP but they don&#8217;t do the right operation.  Does anyone know how to do this?</p>
<p>Many thanks, Jawnypants</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

