<?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: Logic 7 AU glitch when pp has &quot;choices&quot;</title>
		<atom:link href="http://cycling74.com/forums/topic/logic-7-au-glitch-when-pp-has-choices/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/logic-7-au-glitch-when-pp-has-choices/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 15:33:39 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/logic-7-au-glitch-when-pp-has-choices/#post-30007</guid>
					<title><![CDATA[Logic 7 AU glitch when pp has &quot;choices&quot;]]></title>
					<link>http://cycling74.com/forums/topic/logic-7-au-glitch-when-pp-has-choices/#post-30007</link>
					<pubDate>Mon, 29 Jan 2007 21:02:33 +0000</pubDate>
					<dc:creator>Leigh Marble</dc:creator>

					<description>
						<![CDATA[
						<p>Pluggo 3.6.1, OS X 10.4.8</p>
<p>Just tracked down this Logic 7 glitch, which is not a bug, but an undocumented issue. When a Pluggo has a parameter (pp) defined with &#8220;choices&#8221;, the value range MUST match or Logic won&#8217;t validate the plug-in. By this I mean, if you have 3 choices listed, your value range must be from 0 to 2, NOT 0 to 3.</p>
<p>Note that this is counter to the example given in the MSP Reference Manual, p326.</p>
<p>This seems to be a strict adherence on Logic&#8217;s part to the AU spec. Yes, Apple&#8217;s auval tool (see below) catches the error, but Apple&#8217;s live testing application, AU Lab, did not catch it, and ran fine. Reports also said Digital Performer loaded and ran my plug-in without error as an AU.</p>
<p>The good news is, it&#8217;s easily fixable once you know the problem!</p>
<p>Cheers,<br />
Leigh</p>
<p>
PS: It&#8217;s easy to check your  with the auval command line tool (installed by Apple&#8217;s Core Audio SDK). Here&#8217;s the relevant excerpt from auval&#8217;s output, for my plug-in that was failing validation:</p>
<p>Parameter ID:7<br />
Name: Range<br />
Parameter Type: Indexed<br />
Values: Minimum = 0.000000, Default = 0.000000, Maximum = 3.000000<br />
Flags: Readable, Writable <br />
Parameter has Value Strings<br />
Num Strings = 3<br />
ERROR: Unequal number of strings for parameter value range<br />
Value: 0,  String: Classic<br />
Value: 1,  String: Guitar<br />
Value: 2,  String: Bass<br />
  -parameter FAIL</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

