<?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: Reading peaks from a waveform</title>
		<atom:link href="http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 23:11:13 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/#post-52970</guid>
					<title><![CDATA[Reading peaks from a waveform]]></title>
					<link>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/#post-52970</link>
					<pubDate>Thu, 28 Oct 2010 11:42:45 +0000</pubDate>
					<dc:creator>degezo</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,<br />
I&#8217;ve been working on this retarded patch the whole morning and I did all I need except for this little problem.<br />
Here is a simplified version of the patch I&#8217;m working on.</p>
<p>1 / Just replace a sample into the buffer<br />
2 / Toggle the [sig~]<br />
3 / Change the number to move wherever you want on the sample and bang the [peakamp~].</p>
<p>From what I learned from the max help at this point the [peakamp~] should give me the amplitude value but most of the times it seems incorrect.</p>
<p>Do you have any idea about how to read peaks at specific points?</p>
<p>Thanks as always.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/#post-190516</guid>
					<title><![CDATA[Re: Reading peaks from a waveform]]></title>
					<link>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/#post-190516</link>
					<pubDate>Thu, 28 Oct 2010 11:50:54 +0000</pubDate>
					<dc:creator>Tim Lloyd</dc:creator>

					<description>
						<![CDATA[
						<p>Does this help?  You&#8217;re using a millisecond value to check the peak values, and this won&#8217;t be sample-accurate, so will miss some peaks.</p>
<div><span id="toggle190516-0" class="patchtoggle" onmousedown="toggleMaxPatch('post190516-0', 'er190516-0');">&#8211; Pasted Max <span id="maxversion190516-0"></span> Patch, click to <span id="er190516-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A733.3oc2XErbaBCD8L9qPCmoYPBCF2Ccl9czwSGY7FrR.IFP3jzLIe6UHASH%0AoNxXWiNDePxrHg28su8o077BO%2BshGgFez2Q%2BB4487BOOsoNCd8W64WReLqf1%0AnWlelnrD3R%2B.y8jviRs8eX9LXm2Vx3EfTuI7aFEsxAqg8VuUvkMr%2B.5URtYv%0AbEUlsmwy%2BcMjIMdXDNVcazxD8TRX2HQMh1zuG1NsuH1d22hh7G874zR8y2%2Bm%0A0LZge2MdYwhtgf%2By3tsAPMzxpB.cfVzBHo.ksGxtGUAz6M1F1TAiCYhVtdmj%0A4DoHXM3rLUOgiwcSQK%2BDnB6FnRTGfJE0.hlk0VSkPwS9t.DLzELNxFegj5FP%0AfV7.8oFTMHaq4nJQCSxN.yJNrLxT1r1fCjDq3PravAc0w3BGW.Awjdp.1JDb%0AkkN3vCpG6%2BxD11fBu4LBar8v1rR4SUfIl8usPPU%2BTarHntZLyXo8BjP2PLdm%0AXJiOuzhXiBggcrdos3GekEHTYGk6eFgG4hR%2BAH%2BsTd9TnA8UGwVOWEek0GTw%0A3VndFgAF%2Br.gdtf4hOEDvNQgnBf6eEIgF4QwmHGqRz21k0iObzonM.eGRtuS%0AfPFz8ENpKAq64Roe75rpZfiFyTvqI1.jUNgoHQaQrYrHRW8DXJlrQUvgiglH%0AxMweNx7UUHY.CBmfZZZx0EDjh77B3B5o3nQqUQgTcFNckdJZX7nI53qHSugk%0A%2B5L1yj5wyUP%2Boi7AJt8dlR951yfFEhiiNMImPbhFXdsPb.N6yKIWFCI3b3JI%0A5oUqr1SQhi5ovxIjDW0Qgg7PzmblXGVlFpn2p9Er7g2lk9Wuy96gpFQac1fC%0AO72aPu4A6TjHFmJYB9nE0076nEsmsaGvG2DQIaWkPIc16DnMGMwMUeJcBtzG%0A7641k5578j9TpSco3oj3btGgOkGk3VpTxDPI2xtmBSp6nCWl3lBWh31LGYJY%0ANGylvIybMm5hWV7WhoKtf.%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post190516-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode190516-0">----------begin_max5_patcher----------
733.3oc2XErbaBCD8L9qPCmoYPBCF2Ccl9czwSGY7FrR.IFP3jzLIe6UHASH
oNxXWiNDePxrHg28su8o077BO+shGgFez2Q+B4487BOOsoNCd8W64WReLqf1
nWlelnrD3R+.y8jviRs8eX9LXm2Vx3EfTuI7aFEsxAqg8VuUvkMr+.5URtYv
bEUlsmwy+cMjIMdXDNVcazxD8TRX2HQMh1zuG1NsuH1d22hh7G874zR8y2+m
0LZge2MdYwhtgf+y3tsAPMzxpB.cfVzBHo.ksGxtGUAz6M1F1TAiCYhVtdmj
4DoHXM3rLUOgiwcSQK+DnB6FnRTGfJE0.hlk0VSkPwS9t.DLzELNxFegj5FP
fV7.8oFTMHaq4nJQCSxN.yJNrLxT1r1fCjDq3PravAc0w3BGW.Awjdp.1JDb
kkN3vCpG6+xD11fBu4LBar8v1rR4SUfIl8usPPU+TarHntZLyXo8BjP2PLdm
XJiOuzhXiBggcrdos3GekEHTYGk6eFgG4hR+AH+sTd9TnA8UGwVOWEek0GTw
3VndFgAF+r.gdtf4hOEDvNQgnBf6eEIgF4QwmHGqRz21k0iObzonM.eGRtuS
fPFz8ENpKAq64Roe75rpZfiFyTvqI1.jUNgoHQaQrYrHRW8DXJlrQUvgiglH
xMweNx7UUHY.CBmfZZZx0EDjh77B3B5o3nQqUQgTcFNckdJZX7nI53qHSugk
+5L1yj5wyUP+oi7AJt8dlR951yfFEhiiNMImPbhFXdsPb.N6yKIWFCI3b3JI
5oUqr1SQhi5ovxIjDW0Qgg7PzmblXGVlFpn2p9Er7g2lk9Wuy96gpFQac1fC
O72aPu4A6TjHFmJYB9nE0076nEsmsaGvG2DQIaWkPIc16DnMGMwMUeJcBtzG
7641k5578j9TpSco3oj3btGgOkGk3VpTxDPI2xtmBSp6nCWl3lBWh31LGYJY
NGylvIybMm5hWV7WhoKtf.
-----------end_max5_patcher-----------</code></pre></div>
</div>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/#post-190517</guid>
					<title><![CDATA[Re: Reading peaks from a waveform]]></title>
					<link>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/#post-190517</link>
					<pubDate>Thu, 28 Oct 2010 12:07:58 +0000</pubDate>
					<dc:creator>degezo</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks Tim,<br />
suddenly I thought that your solution was working correctly but I then figured out that I was having the same problems. It looks like a max problem but I don&#8217;t know how to explain it.<br />
Try to put the attached file into the buffer for example. There are some empty parts in the loop which are read from the [peek~] and the [peakamp~] as well giving really strange values that looks non sense to me.</p>
<p>Anyway thanks for remembering me about the [peek~]. I didn&#8217;t like to use a [groove~] for that.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/#post-190518</guid>
					<title><![CDATA[Re: Reading peaks from a waveform]]></title>
					<link>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/#post-190518</link>
					<pubDate>Thu, 28 Oct 2010 12:22:29 +0000</pubDate>
					<dc:creator>Tim Lloyd</dc:creator>

					<description>
						<![CDATA[
						<p>The link to your .aif isn&#8217;t working.  I have to go make some soup before I implode, but I&#8217;ll have a little think about it while I cook :)  You&#8217;re not driving the [groove~ > peekamp~] and [peek~] with the same integer object are you?  That would produce completely different results as one is ms and the other is samples.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/#post-190519</guid>
					<title><![CDATA[Re: Reading peaks from a waveform]]></title>
					<link>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/#post-190519</link>
					<pubDate>Thu, 28 Oct 2010 12:43:51 +0000</pubDate>
					<dc:creator>degezo</dc:creator>

					<description>
						<![CDATA[
						<p>Hey I was wrong!<br />
Your last message opened my eyes in some way!<br />
I was using the same number to move the line on the [waveform~] and to control the [peek~] as well. But in order to match the visualization and the [peek~] output I had to multiply by 44.1 the number before going into the [peek~].<br />
I&#8217;ve attached the final one.</p>
<p>Thanks Tim</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/#post-190520</guid>
					<title><![CDATA[Re: Reading peaks from a waveform]]></title>
					<link>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/#post-190520</link>
					<pubDate>Thu, 28 Oct 2010 12:45:14 +0000</pubDate>
					<dc:creator>degezo</dc:creator>

					<description>
						<![CDATA[
						<p>By the way, have a nice lunch&#8230; or dinner.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/#post-190521</guid>
					<title><![CDATA[Re: Reading peaks from a waveform]]></title>
					<link>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/#post-190521</link>
					<pubDate>Thu, 28 Oct 2010 19:25:54 +0000</pubDate>
					<dc:creator>Roman Thilenius</dc:creator>

					<description>
						<![CDATA[
						<p>for peak by sample just use minimum and maximum &#8230;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/#post-190522</guid>
					<title><![CDATA[Re: Reading peaks from a waveform]]></title>
					<link>http://cycling74.com/forums/topic/reading-peaks-from-a-waveform/#post-190522</link>
					<pubDate>Thu, 28 Oct 2010 20:16:06 +0000</pubDate>
					<dc:creator>Tim Lloyd</dc:creator>

					<description>
						<![CDATA[
						<p>I don&#8217;t think degezo wants the &#8220;peak&#8221; value of the buffer, but rather the rectified amplitude value of a variable time point within the buffer.</p>
<p>(so in my comment object, I shouldn&#8217;t have put &#8220;peak sample value&#8221; because it isnt ;) )</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

