<?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: Beginner mxj~ Question: Math Functions</title>
		<atom:link href="http://cycling74.com/forums/topic/beginner-mxj-question-math-functions/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/beginner-mxj-question-math-functions/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 08:39:24 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/beginner-mxj-question-math-functions/#post-56571</guid>
					<title><![CDATA[Beginner mxj~ Question: Math Functions]]></title>
					<link>http://cycling74.com/forums/topic/beginner-mxj-question-math-functions/#post-56571</link>
					<pubDate>Tue, 26 Apr 2011 04:59:39 +0000</pubDate>
					<dc:creator>skrasms</dc:creator>

					<description>
						<![CDATA[
						<p>I have been experimenting with the quickie mysigextern template from the mxj~ tutorial. It worked great at first. I made a volume control, a ring modulator, and a decimator. Then I tried using some Java Math functions. For example, I changed the code in the perform loop to look like this:<br />
out[i] = (float) Math.random();</p>
<p>I thought that would give me white noise. The result is either a buzzing sound or nothing. Generally it buzzes after I reload the mxj~ object until I stop and start audio once or twice. After that the output sits at zero with no audio at all. My CPU meter sits at 0%.</p>
<p>Then I tried Math.tanh((double) in[i]): same exact result. Math.round: same exact result. After that I wondered if Math functions were supported at all, so I made an mxj just to post some Math calculations to the Max window. All the calculations worked fine in that non-audio case. </p>
<p>Is there a special restriction with mxj~ and Math, or Math and the &#8220;perform&#8221; block?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/beginner-mxj-question-math-functions/#post-202835</guid>
					<title><![CDATA[Re: Beginner mxj~ Question: Math Functions]]></title>
					<link>http://cycling74.com/forums/topic/beginner-mxj-question-math-functions/#post-202835</link>
					<pubDate>Wed, 27 Apr 2011 04:59:53 +0000</pubDate>
					<dc:creator>skrasms</dc:creator>

					<description>
						<![CDATA[
						<p>Nevermind, it appears to be something that I do not understand about variable assignments in Java and not the Math methods per se. Changing some other code that I thought was unrelated to the problem made everything work.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

