<?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: MIDI Messages Are Crashing My Patch &#8211; How to Fix?</title>
		<atom:link href="http://cycling74.com/forums/topic/midi-messages-are-crashing-my-patch-how-to-fix/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/midi-messages-are-crashing-my-patch-how-to-fix/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 05:34:30 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/midi-messages-are-crashing-my-patch-how-to-fix/#post-53354</guid>
					<title><![CDATA[MIDI Messages Are Crashing My Patch &#8211; How to Fix?]]></title>
					<link>http://cycling74.com/forums/topic/midi-messages-are-crashing-my-patch-how-to-fix/#post-53354</link>
					<pubDate>Sat, 20 Nov 2010 00:58:18 +0000</pubDate>
					<dc:creator>ComfortableInClouds</dc:creator>

					<description>
						<![CDATA[
						<p>Hi &#8211; I am using the MIDI sequencer on an Elektron Machinedrum to send midi messages to a jitter patch of mine. There&#8217;s 5 channels of midi, each with 6 CC messages. The jitter patch worked beautifully for hours when not connected to the machinedrum. Now that it is connected, and MIDI messages are being sent, the patch is consistently crashing after 5-20 minutes of use. How might I prevent this? Are there queue messages or something to discard MIDI info if the queue is getting too filled up?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/midi-messages-are-crashing-my-patch-how-to-fix/#post-191974</guid>
					<title><![CDATA[Re: MIDI Messages Are Crashing My Patch &#8211; How to Fix?]]></title>
					<link>http://cycling74.com/forums/topic/midi-messages-are-crashing-my-patch-how-to-fix/#post-191974</link>
					<pubDate>Sat, 20 Nov 2010 02:47:34 +0000</pubDate>
					<dc:creator>seejayjames</dc:creator>

					<description>
						<![CDATA[
						<p>I don&#8217;t know about clearing the MIDI &#8220;cache&#8221;, if there is one in Max or the OS, but you could try [change] and especially [speedlim] to thin out how many CC messages you&#8217;re getting. Try [speedlim 50] first, which is fast enough to seem like there&#8217;s nothing throttling it, then adjust to fit. This has helped me a lot in the past with similar issues.</p>
<p>If you find that something like [speedlim 250] will keep things from crashing better, and the update rate isn&#8217;t good enough, use [line $1 250] to smooth out the values (you could set the [line] time grain to 50 perhaps). While this will send more values to your eventual usage of the numbers (so it would seem like it&#8217;s a step backward), your crash might be related to the transfer of MIDI beforehand, not the values going into the jitter patch. To experiment, see if a patch will crash if you just show the raw CC messages as numbers, which I imagine it won&#8217;t. Then you can trace where the overrun happens, step by step&#8230; could be a backlog of jitter drawing/op commands down the line.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/midi-messages-are-crashing-my-patch-how-to-fix/#post-191975</guid>
					<title><![CDATA[Re: MIDI Messages Are Crashing My Patch &#8211; How to Fix?]]></title>
					<link>http://cycling74.com/forums/topic/midi-messages-are-crashing-my-patch-how-to-fix/#post-191975</link>
					<pubDate>Sat, 20 Nov 2010 02:56:07 +0000</pubDate>
					<dc:creator>spectro</dc:creator>

					<description>
						<![CDATA[
						<p>Are you formatting the MIDI data by means of a message box (that is not getting cleared)?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/midi-messages-are-crashing-my-patch-how-to-fix/#post-191976</guid>
					<title><![CDATA[Re: MIDI Messages Are Crashing My Patch &#8211; How to Fix?]]></title>
					<link>http://cycling74.com/forums/topic/midi-messages-are-crashing-my-patch-how-to-fix/#post-191976</link>
					<pubDate>Sat, 20 Nov 2010 03:36:08 +0000</pubDate>
					<dc:creator>ComfortableInClouds</dc:creator>

					<description>
						<![CDATA[
						<p>change and speedlim are excellent ideas.</p>
<p>&#8220;Then you can trace where the overrun happens, step by step&#8230; could be a backlog of jitter drawing/op commands down the line. &#8220;</p>
<p>&#8220;step by step&#8221; debugging is really hard when the crash is inconsistent. something could appear to be running fine, but actually be the culprit of the crash if it&#8217;s causing a memory leak, or something insidious like that.</p>
<p>to spectro, the MIDI messages are being sent to number boxes then scale objects.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/midi-messages-are-crashing-my-patch-how-to-fix/#post-191977</guid>
					<title><![CDATA[Re: MIDI Messages Are Crashing My Patch &#8211; How to Fix?]]></title>
					<link>http://cycling74.com/forums/topic/midi-messages-are-crashing-my-patch-how-to-fix/#post-191977</link>
					<pubDate>Sat, 20 Nov 2010 04:01:54 +0000</pubDate>
					<dc:creator>ComfortableInClouds</dc:creator>

					<description>
						<![CDATA[
						<p>seems to be running smoothly after putting a change/speedlim message in front of every ctlin. also halved the size of the two qt.movie objects to 320-240.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/midi-messages-are-crashing-my-patch-how-to-fix/#post-191978</guid>
					<title><![CDATA[Re: MIDI Messages Are Crashing My Patch &#8211; How to Fix?]]></title>
					<link>http://cycling74.com/forums/topic/midi-messages-are-crashing-my-patch-how-to-fix/#post-191978</link>
					<pubDate>Wed, 18 May 2011 10:44:17 +0000</pubDate>
					<dc:creator>Home Surgery</dc:creator>

					<description>
						<![CDATA[
						<p>Could I see your patch? Trying to experiement a bit with midi messages from my monomachine and in the future possibly a machinedrum, but it is a little harder to grasp than I thought.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

