<?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: Frequency detector</title>
		<atom:link href="http://cycling74.com/forums/topic/frequency-detector/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/frequency-detector/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 01:05:56 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/frequency-detector/#post-56371</guid>
					<title><![CDATA[Frequency detector]]></title>
					<link>http://cycling74.com/forums/topic/frequency-detector/#post-56371</link>
					<pubDate>Sat, 16 Apr 2011 14:18:17 +0000</pubDate>
					<dc:creator>periklis</dc:creator>

					<description>
						<![CDATA[
						<p>Hi guys, </p>
<p>here is my question: i need a frequency detector which works without fft. Is there any autocorrelation patch or some idea of how i could detect frequency of a (relative&#8230;) periodic signal?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/frequency-detector/#post-202192</guid>
					<title><![CDATA[Re: Frequency detector]]></title>
					<link>http://cycling74.com/forums/topic/frequency-detector/#post-202192</link>
					<pubDate>Sat, 16 Apr 2011 15:19:25 +0000</pubDate>
					<dc:creator>mudang</dc:creator>

					<description>
						<![CDATA[
						<p>In the FTM library there&#8217;s an external called gbr.yin~. It implements the Yin algorithm which is a kind of improved autocorrelation and works quite well for monophonic sources.</p>
<p>If you have a very &#8220;clean&#8221; signal, zerox~ might also do the job&#8230;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/frequency-detector/#post-202193</guid>
					<title><![CDATA[Re: Frequency detector]]></title>
					<link>http://cycling74.com/forums/topic/frequency-detector/#post-202193</link>
					<pubDate>Sat, 16 Apr 2011 17:07:20 +0000</pubDate>
					<dc:creator>Chris Muir</dc:creator>

					<description>
						<![CDATA[
						<p>The old-school guitar synthesizer method is to clip the signal until you have a more or less square wave, then analyze the period of the square wave. It doesn&#8217;t work all that well, though. You probably want to low-pass filter the signal before you clip it.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/frequency-detector/#post-202194</guid>
					<title><![CDATA[Re: Frequency detector]]></title>
					<link>http://cycling74.com/forums/topic/frequency-detector/#post-202194</link>
					<pubDate>Sat, 16 Apr 2011 17:39:14 +0000</pubDate>
					<dc:creator>periklis</dc:creator>

					<description>
						<![CDATA[
						<p>>If you have a very &#8220;clean&#8221; signal, zerox~ might also do the job&#8230; </p>
<p>I tried zerox~ but there is this problem with the signal vector. To get a good response out of it, concerning the number of crossings-which by the way should EXACTLY do what i am looking for-i have to push mr. vector at 2048 samples which is (theoretically at least&#8230;) bringing some latency to the output. But i&#8217;ll try the yin~ thing right now! </p>
<p>Thanks a lot both of you guys!!!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/frequency-detector/#post-202195</guid>
					<title><![CDATA[Re: Frequency detector]]></title>
					<link>http://cycling74.com/forums/topic/frequency-detector/#post-202195</link>
					<pubDate>Sat, 16 Apr 2011 20:50:53 +0000</pubDate>
					<dc:creator>mudang</dc:creator>

					<description>
						<![CDATA[
						<p>Latency is always an issue with frequency detection &#8211; no matter if you use fft, autocorrelation or zero counting.<br />
This of course depends on the lowest frequency you want to be able to detect.</p>
<p>For autocorrelation you&#8217;ll need twice the period length of the lowest frequency.</p>
<p>There seem to be techniques to do a frequency detection within a fraction of the period length (used in guitar to midi boxes, f.e.) &#8211; but I&#8217;ve never found any details on them&#8230;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/frequency-detector/#post-202196</guid>
					<title><![CDATA[Re: Frequency detector]]></title>
					<link>http://cycling74.com/forums/topic/frequency-detector/#post-202196</link>
					<pubDate>Sat, 16 Apr 2011 21:43:50 +0000</pubDate>
					<dc:creator>Chris Muir</dc:creator>

					<description>
						<![CDATA[
						<p>The best one I know of is the Axon / Blue Chip method, licensed to Yamaha, who appear to be sitting on it these days. It supposedly used a pre-trained neural network to look at the slope of the wave and make a decision based on the first quarter-cycle. </p>
<p>I have the Yamaha G-50, which incorporates this, and it <strong>is</strong> way faster than anything by Roland, which mostly uses period detection.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/frequency-detector/#post-202197</guid>
					<title><![CDATA[Re: Frequency detector]]></title>
					<link>http://cycling74.com/forums/topic/frequency-detector/#post-202197</link>
					<pubDate>Sun, 17 Apr 2011 16:20:15 +0000</pubDate>
					<dc:creator>Jean-Francois Charles</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks Chris for the insight.<br />
Do you know if it works as well for other instruments than guitar, or is this technique really optimized for guitar and less performant on other instruments?</p>
<p>About autocorrelation vs FFT analysis: when you use FFT, you need to use a window which size is a power-of-two number of samples. With autocorrelation, you can tune the window size more precisely to the lowest frequency you are looking for.</p>
<p>Anybody knows what kind of method the Eventide boxes use?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/frequency-detector/#post-202198</guid>
					<title><![CDATA[Re: Frequency detector]]></title>
					<link>http://cycling74.com/forums/topic/frequency-detector/#post-202198</link>
					<pubDate>Sun, 17 Apr 2011 17:37:51 +0000</pubDate>
					<dc:creator>Chris Muir</dc:creator>

					<description>
						<![CDATA[
						<p>I imagine that the Axon technique could work on many/most sounds, but it would need to be trained for different classes of sounds.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/frequency-detector/#post-202199</guid>
					<title><![CDATA[Re: Frequency detector]]></title>
					<link>http://cycling74.com/forums/topic/frequency-detector/#post-202199</link>
					<pubDate>Mon, 18 Apr 2011 10:14:02 +0000</pubDate>
					<dc:creator>mudang</dc:creator>

					<description>
						<![CDATA[
						<p>Here&#8217;s some info on axon&#8217;s technique:</p>
<p><a href="http://www.axon-technologies.net/index.php?name=EZCMS&#038;menu=17&#038;page_id=28" rel="nofollow">http://www.axon-technologies.net/index.php?name=EZCMS&#038;menu=17&#038;page_id=28</a></p>
<p>The neural net is used to find the pluck impulse and the first (bridge) and second (fret) reflection on a string. </p>
<p>The second trick they use is to only count zero crossings with a maximum slope. As far as I understand it, this is only to avoid octave-errors due to strong harmonics.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/frequency-detector/#post-202200</guid>
					<title><![CDATA[Re: Frequency detector]]></title>
					<link>http://cycling74.com/forums/topic/frequency-detector/#post-202200</link>
					<pubDate>Mon, 18 Apr 2011 14:14:32 +0000</pubDate>
					<dc:creator>periklis</dc:creator>

					<description>
						<![CDATA[
						<p>This is very helpful. Thanks! very clever also :-))<br />
I also used the yin~ object and it does an excellent job! And i must say, that pushing the vector at 2048 (for doing simple zerox detection) didn&#8217;t caused me any latency problems (even with other more demanding patches)</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/frequency-detector/#post-202201</guid>
					<title><![CDATA[Re: Frequency detector]]></title>
					<link>http://cycling74.com/forums/topic/frequency-detector/#post-202201</link>
					<pubDate>Mon, 18 Apr 2011 17:55:48 +0000</pubDate>
					<dc:creator>mzed</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;ve also done pitch detection using a wavelet transform.  You still need a fair number of samples (say 512) before you get the result, but unlike fft&#8217;s the resolution is pretty good in the lower frequencies.</p>
<p>mz</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/frequency-detector/#post-202202</guid>
					<title><![CDATA[Re: Frequency detector]]></title>
					<link>http://cycling74.com/forums/topic/frequency-detector/#post-202202</link>
					<pubDate>Mon, 18 Apr 2011 21:55:32 +0000</pubDate>
					<dc:creator>mudang</dc:creator>

					<description>
						<![CDATA[
						<p>@mzed:<br />
How do you do the wavelet transform in max ?</p>
<p>At the moment i&#8217;m writing a polyphonic pitch detection using fft. To get a good enough resolution to discern 12TET steps in the lower frequency i need to have a 8192 fft window :(</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/frequency-detector/#post-202203</guid>
					<title><![CDATA[Re: Frequency detector]]></title>
					<link>http://cycling74.com/forums/topic/frequency-detector/#post-202203</link>
					<pubDate>Thu, 12 May 2011 16:32:34 +0000</pubDate>
					<dc:creator>mzed</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;ve done the transform and detection as an external object written in C. IMHO, doing this kind of analysis is pretty inefficient, both on the programming side and when its running.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

