<?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: Continiously recording into buffer</title>
		<atom:link href="http://cycling74.com/forums/topic/continiously-recording-into-buffer/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/continiously-recording-into-buffer/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 07:14:47 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-47926</guid>
					<title><![CDATA[Continiously recording into buffer]]></title>
					<link>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-47926</link>
					<pubDate>Thu, 21 Jan 2010 10:50:27 +0000</pubDate>
					<dc:creator>hmarstra</dc:creator>

					<description>
						<![CDATA[
						<p>I would like to record continiously into a 2 minute buffer (from the record~objekt?) When the buffer is full I want it to continue to record by deleting the oldest material. In this way the buffer should always contain the latest 2 minutes of the performance.<br />
Can this be done and is buffer~and record~ the right objects to use? IS there some knd of message I can send to buffer? </p>
<p>(The next step should be to save the latest 2 minutes (the entire buffer) when I hit some button. But this I think I can manage)</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172341</guid>
					<title><![CDATA[Re: Continiously recording into buffer]]></title>
					<link>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172341</link>
					<pubDate>Thu, 21 Jan 2010 11:20:57 +0000</pubDate>
					<dc:creator>Patrick Delges</dc:creator>

					<description>
						<![CDATA[
						<p><strong>record~</strong> has a loop recording mode. So when the record head reaches the end of the buffer, it will start from the beginning. So you get a circular buffer.<br />
The beginning of your olr recorded sound is just afer the recording position: you get it using <strong>record~</strong>&#8216;s outlet (* 120000 in ms, with a 2mn buffer).</p>
<p>Last time I tried, I think this loop mode worked only as long as the recording zone was the whole buffer (so if you set the max recording point to some value, <strong>record~</strong> won&#8217;t loop at that value even if loop mode is set). In that case , you can use <strong>poke~</strong> driven for instance by a <strong>phasor~</strong>.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172342</guid>
					<title><![CDATA[Re: Continiously recording into buffer]]></title>
					<link>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172342</link>
					<pubDate>Thu, 21 Jan 2010 17:55:04 +0000</pubDate>
					<dc:creator>AlexHarker</dc:creator>

					<description>
						<![CDATA[
						<p>If you do use poke~ (and I&#8217;ve done this to create a double circular buffer where you can always read the last N ms or samples in one contiguous block) &#8211; I would suggest that count~ would be a better object to drive it with than a phasor~ as it is specifically designed for counting in integers once per sample, whereas phasor~ is not, and you could possibly experience issues with phasor~ due to float round-off errors&#8230;..</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172343</guid>
					<title><![CDATA[Re: Continiously recording into buffer]]></title>
					<link>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172343</link>
					<pubDate>Thu, 21 Jan 2010 17:56:55 +0000</pubDate>
					<dc:creator>maaaxit</dc:creator>

					<description>
						<![CDATA[
						<p>Another approach here, using tapin and tapout and recording a buffer when you need it.<br />
I don&#8217;t know if it&#8217;s is really what you need, but you can try it.</p>
<p>
<div><span id="toggle172343-0" class="patchtoggle" onmousedown="toggleMaxPatch('post172343-0', 'er172343-0');">&#8211; Pasted Max <span id="maxversion172343-0"></span> Patch, click to <span id="er172343-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----------%0A1337.3oc2YlzjiZCE.9r6eEpHGxEmtPKrM4TNlK4OPxTojMx1JMVxAj6kYpo%0A%2BsGI8fd0fwXZZW4PiaI.om9dO8VDe%2BpYAKz2KpBPeA8mnYy99Uyl46x0wr51%0AyB1xueYAux%2BXAK1aLZUvb3Vp8akpBgweO7ycp2adau63lkajp0%2BcoXoAlQbF%0A45v4HbH08CizbE8052Ql6mS8h%2B4WXjl4DFayC6DvnDrfqVGf9p6t%2B3pqbWl2%0AyEyR81sBkoYjMh68RVfYi.sqTunPrEoWgLajUH9NaO7kaP1%2B2rgaPtGZw9Uq%0ADkttTZC5e2KWdSwCH9sbYA291yQOn2i1vuUfLZzcbI7VVBnKysrvM3RyWPxU%0AuYzvjPTk8oT4UyQt2hei3U85FOXXr2dNhqxAobIWgVHrssyp8dExsRC2H0pq%0AQ%2Bk52Q4Z0OaP2nz2UOmkB2zwsx1CnU5RzckRiSv3MBStzourKpUk5sV4Xm7I%0AkegTYkf8JOyX82hHrcKhTvFn1T.6%2BItMKhvFAYkVYT7sd6gfeqTxKd4cpjey%0AeG2nMh1Hd14TuNjWqJbJQ6KZPQOomrZ3JKixOHzHcAsckhJ6D60du.QTVlmJ%0AQtqg0WdhO8lzDZLr2Kw%2BSjejnrCiZZ7mJpyEE7GD4CEj8lIwd6MRDy8SR2DI%0AZRHxVQUEes3cDI7fNfImrCXXiFMxaDPIWGYMERaYEiO9J9ctlCdZjFAXXzqW%0AWHFmPOY0qXuR94qGbgSac4IcVeCIviRbmcnemZsRt9wQc8A9Jncu9XCPwZkT%0Ak81GV8huNJKBmlLdfYcoVeq3Qz82e%2BA4C8f7gbT9j4cBlD2EeHwCmOyOBoF1%0AFgVfjO37innvvvfADXoNT.ID2iHKcX5wfHJPtcIrNQaz.PqcYZCsp7y2j.Uq%0ADbNT0GnlDyFCpRndplh6jpi9F5gQTw2x4Ke7DhTE1UoB9LBgPyrnlqGb4SCF%0AwHs5cB03Drk48x.5QJrGokPsQ%2BeJRKDbETYcGnkfmt.sq1YSo7TrMIGaEBAQ%0Af.tstBImUnj5BcaQOW2cksZy527m9Ce.nl0p0HwZyM2UFYVryODzSvuNLz9A%0AmaJk.YiSnP3jtxMEG%2BYuioMXfGGXPRSAX.Lg0ILXWpvXUoP7MApaCjVhiRXf%0Ac.I57hiRfh7vP4cP7jVII4Bmjij0Uy4vkf6AS9zKCrMW5hBWRZiiKcZDT3TT%0A5wcpmM.f38jOeZ.i%2BPRDksBmnCBG1wgCTVYRRWvIc.vwEruNzj6OH1%2BGNl1J%0ALkZa55iTzqZFE52YAlQswnjgZ.colxGEC44E0ij9hmrb9fyn8TOCgiuLYPAy%0AXVmaDtPpI6bqx8TioPhiOdAqzKZ1.eHDucyoxmNKZ.pnEbPj0cYCCfOqJzby%0AwKZX5O8oS1Bhjd7CRB%2BweNR9mw%2BUGdy2K0K5t9eMypz6KW1LWMeASzyRetnx%0AHU9zbewC4Ru5EOzFYdtP8xyFYqLem15ZrVHZwAYekI2YadTYhPmTYh1CQhcZ%0ARj6LMiboy4qgfBES5act7i0W9gmN90G.RmV6r2Lcsvo3KTa%2BIT2wt73T%2BrmX%0ASqtqO9RcecgoTlh5iLMsbJqOgbHmlHQiS8tOSYPIx9T6dcKbcAOId2t9VShB%0AeZCTk1CQJaRknjdHQoSpD0G%2B9zKOWGSazQ7GfHUu2ifia9ntMsNWgEewwud4%0A3kLsVY3KOYpelYwCxNCCUvRIYWmzz7bE29je1zlJDlc4IR8Z63vpWhDBgwyR%0Adp0YJs8Qklbhoi.UyQRgOrNjbhu0DHqmS1b1F%2B3p%2BCzxZN1J%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post172343-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="pastedcode172343-0">----------begin_max5_patcher----------
1337.3oc2YlzjiZCE.9r6eEpHGxEmtPKrM4TNlK4OPxTojMx1JMVxAj6kYpo
+sGI8fd0fwXZZW4PiaI.om9dO8VDe+pYAKz2KpBPeA8mnYy99Uyl46x0wr51
yB1xueYAux+XAK1aLZUvb3Vp8akpBgweO7ycp2adau63lkajp0+coXoAlQbF
45v4HbH08CizbE8052Ql6mS8h+4WXjl4DFayC6DvnDrfqVGf9p6t+3pqbWl2
yEyR81sBkoYjMh68RVfYi.sqTunPrEoWgLajUH9NaO7kaP1+2rgaPtGZw9Uq
DkttTZC5e2KWdSwCH9sbYA291yQOn2i1vuUfLZzcbI7VVBnKysrvM3RyWPxU
uYzvjPTk8oT4UyQt2hei3U85FOXXr2dNhqxAobIWgVHrssyp8dExsRC2H0pq
Q+k52Q4Z0OaP2nz2UOmkB2zwsx1CnU5RzckRiSv3MBStzourKpUk5sV4Xm7I
kegTYkf8JOyX82hHrcKhTvFn1T.6+ItMKhvFAYkVYT7sd6gfeqTxKd4cpjey
eG2nMh1Hd14TuNjWqJbJQ6KZPQOomrZ3JKixOHzHcAsckhJ6D60du.QTVlmJ
Qtqg0WdhO8lzDZLr2Kw+SjejnrCiZZ7mJpyEE7GD4CEj8lIwd6MRDy8SR2DI
ZRHxVQUEes3cDI7fNfImrCXXiFMxaDPIWGYMERaYEiO9J9ctlCdZjFAXXzqW
WHFmPOY0qXuR94qGbgSac4IcVeCIviRbmcnemZsRt9wQc8A9Jncu9XCPwZkT
k81GV8huNJKBmlLdfYcoVeq3Qz82e+A4C8f7gbT9j4cBlD2EeHwCmOyOBoF1
FgVfjO37innvvvfADXoNT.ID2iHKcX5wfHJPtcIrNQaz.PqcYZCsp7y2j.Uq
DbNT0GnlDyFCpRndplh6jpi9F5gQTw2x4Ke7DhTE1UoB9LBgPyrnlqGb4SCF
wHs5cB03Drk48x.5QJrGokPsQ+eJRKDbETYcGnkfmt.sq1YSo7TrMIGaEBAQ
f.tstBImUnj5BcaQOW2cksZy527m9Ce.nl0p0HwZyM2UFYVryODzSvuNLz9A
maJk.YiSnP3jtxMEG+YuioMXfGGXPRSAX.Lg0ILXWpvXUoP7MApaCjVhiRXf
c.I57hiRfh7vP4cP7jVII4Bmjij0Uy4vkf6AS9zKCrMW5hBWRZiiKcZDT3TT
5wcpmM.f38jOeZ.i+PRDksBmnCBG1wgCTVYRRWvIc.vwEruNzj6OH1+GNl1J
LkZa55iTzqZFE52YAlQswnjgZ.colxGEC44E0ij9hmrb9fyn8TOCgiuLYPAy
XVmaDtPpI6bqx8TioPhiOdAqzKZ1.eHDucyoxmNKZ.pnEbPj0cYCCfOqJzby
wKZX5O8oS1Bhjd7CRB+weNR9mw+UGdy2K0K5t9eMypz6KW1LWMeASzyRetnx
HU9zbewC4Ru5EOzFYdtP8xyFYqLem15ZrVHZwAYekI2YadTYhPmTYh1CQhcZ
Rj6LMiboy4qgfBES5act7i0W9gmN90G.RmV6r2Lcsvo3KTa+IT2wt73T+rmX
SqtqO9RcecgoTlh5iLMsbJqOgbHmlHQiS8tOSYPIx9T6dcKbcAOId2t9VShB
eZCTk1CQJaRknjdHQoSpD0G+9zKOWGSazQ7GfHUu2ifia9ntMsNWgEewwud4
3kLsVY3KOYpelYwCxNCCUvRIYWmzz7bE29je1zlJDlc4IR8Z63vpWhDBgwyR
dp0YJs8Qklbhoi.UyQRgOrNjbhu0DHqmS1b1F+3p+CzxZN1J
-----------end_max5_patcher-----------</code></pre></div>
</div>
</p>						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172344</guid>
					<title><![CDATA[Re: Continiously recording into buffer]]></title>
					<link>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172344</link>
					<pubDate>Thu, 21 Jan 2010 19:16:19 +0000</pubDate>
					<dc:creator>hmarstra</dc:creator>

					<description>
						<![CDATA[
						<p></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172345</guid>
					<title><![CDATA[Re: Continiously recording into buffer]]></title>
					<link>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172345</link>
					<pubDate>Thu, 21 Jan 2010 19:40:37 +0000</pubDate>
					<dc:creator>hmarstra</dc:creator>

					<description>
						<![CDATA[
						<p>To Patrick<br />
It sounds like loop gives this kind of order &#8220;11 12 13 14 5 6 7 8 9 10&#8243; (14 beeing the newest material and 5 beeing the oldest)<br />
First you fill up the buffer with &#8220;1     2   3    4    5   6   7   8   9   10&#8243;<br />
Then you start overwriting      &#8220;11 12 13 14  &#8230;..<br />
This gives a strange jump in the recording  from  &#8220;14&#8243; to &#8220;5&#8243;</p>
<p>I would like to somehow maintain the chronology so that the order was always &#8220;1 2 3 4 5 6 7 8 9 10) It shoud record till it reaches the end of the buffer and then continiously erase material from the beginning and move old material gradually towards the beginning of the buffer and ad new material to the end of the buffer.</p>
<p>what about the append command for record~ </p>
<p>&#8220;Last time I tried, I think this loop mode worked only as long as the recording zone was the whole buffer&#8221;<br />
I guess in my case the record will use the whole buffer so this is not an issue. Or did I misunderstand?</p>
<p>&#8212;&#8212;<br />
To Patrick/ AlexHarker</p>
<p>Poke~ sounds promising. For some reason the poke~ objekt doesnt show up. I will look into it</p>
<p>&#8212;&#8212;</p>
<p>To maaxit</p>
<p>This sounds also interesting, but Im guessing that I would have to wait for the recording to happen from the point when I initialize the recordprosess. So If I want 5 mins of recorded material I would have to wait those 5 min before the prosess is compleated</p>
<p>Im using unfortunatly using max 4.5 so is there any chance of posting tew patch in an older format (perhaps this is an option in the text format of max 5) Or post a screenshot?</p>
<p>Henrik</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172346</guid>
					<title><![CDATA[Re: Continiously recording into buffer]]></title>
					<link>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172346</link>
					<pubDate>Thu, 21 Jan 2010 20:43:23 +0000</pubDate>
					<dc:creator>Patrick Delges</dc:creator>

					<description>
						<![CDATA[
						<p>Alex, you&#8217;re right about <strong>count~</strong>; when I wrote &#8220;for instance&#8221;, it was because I had this in mind but I&#8217;m currently working on a difficult looping system where <strong>phasor~</strong> was unfortunately much more adapted than <strong>count~</strong>:-)</p>
<p>hmarsta, to get the right order you need to play the buffer from the last recorded position, wrap around at the end of the buffer to start reading from the beginning and stop after 2 minutes. That&#8217;s the idea of a circular buffer.<br />
As you will indeed use the whole buffer, my warning about loop mode is indeed useless for you :-)</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172347</guid>
					<title><![CDATA[Re: Continiously recording into buffer]]></title>
					<link>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172347</link>
					<pubDate>Fri, 22 Jan 2010 08:03:19 +0000</pubDate>
					<dc:creator>hmarstra</dc:creator>

					<description>
						<![CDATA[
						<p>found poke</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172348</guid>
					<title><![CDATA[Re: Continiously recording into buffer]]></title>
					<link>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172348</link>
					<pubDate>Fri, 22 Jan 2010 08:38:24 +0000</pubDate>
					<dc:creator>hmarstra</dc:creator>

					<description>
						<![CDATA[
						<p>Patrick: Im having differculties getting the exact details of your explanation. (Havent use poke or count before) Gratefull if someone have energy to post a quick patch (in some readable format: screenshot, old max format) &#8230;&#8230; :)</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172349</guid>
					<title><![CDATA[Re: Continiously recording into buffer]]></title>
					<link>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172349</link>
					<pubDate>Fri, 22 Jan 2010 13:09:43 +0000</pubDate>
					<dc:creator>AlexHarker</dc:creator>

					<description>
						<![CDATA[
						<p>This was what I did:</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P newex 36 165 140 196617 buffer~ Circ_Buffer 120000;<br />
#N comlet Input;<br />
#P inlet 36 41 15 0;<br />
#N comlet Write Postion (ms);<br />
#P outlet 324 198 15 0;<br />
#N comlet Write Position (samps);<br />
#P outlet 235 198 15 0;<br />
#P newex 235 134 64 196617 snapshot~ 5;<br />
#P newex 268 170 66 196617 sampstoms~;<br />
#P newex 135 135 93 196617 poke~ Circ_Buffer;<br />
#B color 5;<br />
#P newex 176 74 67 196617 +~ 2646000;<br />
#P newex 77 41 112 196617 count~ 0 2646000 1 1;<br />
#P newex 36 135 93 196617 poke~ Circ_Buffer;<br />
#B color 5;<br />
#P connect 4 1 7 0;<br />
#P fasten 5 0 4 0 240 160 273 160;<br />
#P connect 5 0 6 0;<br />
#P fasten 2 0 5 0 181 97 240 97;<br />
#P connect 2 0 3 1;<br />
#P connect 1 0 0 1;<br />
#P fasten 1 0 2 0 82 70 181 70;<br />
#P connect 8 0 0 0;<br />
#P lcolor 16;<br />
#P fasten 8 0 3 0 41 101 140 101;<br />
#P lcolor 16;<br />
#P window clipboard copycount 10;</p>
<p>The buffer is TWICE as long as you actually need &#8211; it writes twice into the buffer at a time so that wherever you stop you can always read the last N ms contiguously (it doesn&#8217;t move stuff &#8211; it just has two copies).</p>
<p>To get the bit you want subtract from the write position output the length of time you require and it will start at that point in  the buffer. I&#8217;d leave a few ms spare at the end of the buffer to account for timing inaccuracies between max and msp. The length of the buffer is set in samples (in the count and +~ object &#8211; they need to be the same number)  and in the code as sent is 60 secs at 44.1kHz sampling rate.</p>
<p>There is an upper limit to how long you can record accurately for in this way, as determined by the 32 bit floating point format (at some point counting will fail because you run out of bits) &#8211; there are 24 bits of accuracy in a 32 bit float &#8211; so thats 2^ 24 = 16777216 samples if my maths is correct, which would be about 380 seconds or about 6 minutes at 44.k Hz, but only about 1 minute twenty at 192kHz, so be careful. In addition to this because you need a double buffer for the technique I&#8217;m proposing that time is halved &#8211; there&#8217;s no workaround for this using standard max objects &#8211; that&#8217;s just the way it is.</p>
<p>If you want to then save the recording it you may need to copy / or crop the buffer somehow just to get the bit you want &#8211; there are plenty of posts here on the forum regarding those topics (it wasn&#8217;t relevant to what I was trying to do).</p>
<p>Alex</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172350</guid>
					<title><![CDATA[Re: Continiously recording into buffer]]></title>
					<link>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172350</link>
					<pubDate>Fri, 22 Jan 2010 14:21:44 +0000</pubDate>
					<dc:creator>maaaxit</dc:creator>

					<description>
						<![CDATA[
						<p>Yes, as I have wrote in a comment in the patch, there is this kind of limitation in my approach. You can have two couples of tapin-tapout (one for the recording and one for playing in order to get continuous sound),but if you need quickly availability of the buffer, my patch doesn&#8217;t work. </p>
<p>But this can be a good question for the forum:<br />
there is a way for writing a buffer directly from tapin?</p>
<p>Probably not useful for you, but here the patch for 4.5</p>
<p>max v2;<br />
#N vpatcher 10 59 529 676;<br />
#P button 364 267 15 0;<br />
#P button 344 268 15 0;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 5;<br />
#P comment 190 472 282 196617 the problem of this approach is that the buffer is not quickly available , you have to wait the recording of it: if the buffer is 120 seconds , it takes 120 seconds to record it , and this can be an hard limitation. I don&#8217;t know if there is a way for writing a buffer directly from tapin;<br />
#P toggle 115 414 15 0;<br />
#P window linecount 1;<br />
#P message 151 442 14 196617 0;<br />
#P newex 115 442 29 196617 sig~;<br />
#P newex 115 474 68 196617 groove~ xxx;<br />
#P newex 236 439 92 196617 buffer~ xxx 5000;<br />
#P newex 401 405 44 196617 sel 500;<br />
#N counter 500;<br />
#X flags 0 0;<br />
#P newobj 401 381 66 196617 counter 500;<br />
#P newex 401 357 52 196617 metro 10;<br />
#P newex 344 439 67 196617 record~ xxx;<br />
#P toggle 344 324 15 0;<br />
#P message 364 286 14 196617 0;<br />
#P message 344 286 14 196617 1;<br />
#P button 228 174 34 0;<br />
#P message 277 229 48 196617 freeze 0;<br />
#P message 228 229 48 196617 freeze 1;<br />
#P newex 228 331 71 196617 tapout~ 5000;<br />
#P newex 228 286 65 196617 tapin~ 5000;<br />
#P newex 84 331 71 196617 tapout~ 5000;<br />
#P newex 84 286 65 196617 tapin~ 5000;<br />
#P user ezdac~ 50 524 94 557 0;<br />
#P message 70 103 30 196617 open;<br />
#N sfplay~  1 120960 0 ;<br />
#P newobj 50 138 44 196617 sfplay~;<br />
#P toggle 50 102 15 0;<br />
#P comment 96 356 100 196617 delayed sound;<br />
#P window linecount 3;<br />
#P comment 273 175 100 196617 here you can record the last 5 seconds of sound;<br />
#P connect 4 0 3 0;<br />
#P connect 2 0 3 0;<br />
#P connect 3 0 5 0;<br />
#P connect 3 0 6 0;<br />
#P connect 6 0 7 0;<br />
#P connect 21 0 5 1;<br />
#P connect 7 0 5 1;<br />
#P connect 24 0 22 0;<br />
#P connect 23 0 21 0;<br />
#P connect 22 0 21 0;<br />
#P connect 24 0 23 0;<br />
#P connect 12 0 10 0;<br />
#P fasten 11 0 8 0 282 275 233 275;<br />
#P connect 10 0 8 0;<br />
#P connect 3 0 8 0;<br />
#P connect 8 0 9 0;<br />
#P fasten 19 0 11 0 406 429 396 429 396 214 282 214;<br />
#P fasten 10 0 26 0 233 260 349 260;<br />
#P connect 26 0 13 0;<br />
#P connect 14 0 15 0;<br />
#P connect 13 0 15 0;<br />
#P connect 15 0 16 0;<br />
#P fasten 9 0 16 0 233 406 349 406;<br />
#P fasten 19 0 27 0 406 431 388 431 388 255 369 255;<br />
#P connect 27 0 14 0;<br />
#P fasten 15 0 17 0 349 346 406 346;<br />
#P connect 17 0 18 0;<br />
#P connect 18 0 19 0;<br />
#P pop;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172351</guid>
					<title><![CDATA[Re: Continiously recording into buffer]]></title>
					<link>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172351</link>
					<pubDate>Tue, 26 Jan 2010 10:09:24 +0000</pubDate>
					<dc:creator>hmarstra</dc:creator>

					<description>
						<![CDATA[
						<p>Sorry for the weekend absens. Many many thanks for posting patches. Maaxit, as you point out its the timedelay issue with the tapin/ out approach. I will keep this option as a backup solution if I cant make the other one work. </p>
<p>AlexHarker: Great. I will dive into it. So the input is the audiosignal. What about the two outputs. Where do they go? (they both say write position (ms) )</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172352</guid>
					<title><![CDATA[Re: Continiously recording into buffer]]></title>
					<link>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172352</link>
					<pubDate>Tue, 26 Jan 2010 10:56:53 +0000</pubDate>
					<dc:creator>AlexHarker</dc:creator>

					<description>
						<![CDATA[
						<p>The outputs are what you calculate the read offset from. One is in samples &#8211; the other in milliseconds &#8211; probably the milliseconds one is more useful&#8230; See above for how to work out the offset to read from. If you want to turn recording on and off you&#8217;ll need to modify the patch a bit (see the count~ helpfile~). In my case my needs were for the buffer to be constantly updating.</p>
<p>A></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172353</guid>
					<title><![CDATA[Re: Continiously recording into buffer]]></title>
					<link>http://cycling74.com/forums/topic/continiously-recording-into-buffer/#post-172353</link>
					<pubDate>Wed, 27 Jan 2010 10:26:04 +0000</pubDate>
					<dc:creator>hmarstra</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks. Finally got it right<br />
I used waveform and its crop (based on selection) message to resize the buffer</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P message 32 556 33 196617 clear;<br />
#P newex 570 417 49 196617 + 60000;<br />
#P user pictslider 260 489 19 76 0 0 0 0 wfknob.pct 1 wfmodes.pct 1 2146 0 0 196608 1. 1.;<br />
#P comment 721 438 47 196617 select all;<br />
#P message 718 452 51 196617 0 -1 0 -1;<br />
#N vpatcher 40 55 278 404;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P newex 96 202 27 196617 int;<br />
#N coll ;<br />
#T flags 1 0;<br />
#T 0 mode select;<br />
#T 1 mode loop;<br />
#T 2 mode move;<br />
#T 3 mode draw;<br />
#P newobj 131 255 53 196617 coll;<br />
#P button 75 117 15 0;<br />
#N comlet waveform~ mode messages;<br />
#P inlet 74 164 15 0;<br />
#P newex 113 88 27 196617 < < 1;<br />
#P newex 96 140 40 196617 change;<br />
#P newex 96 164 45 196617 select 0;<br />
#P newex 96 117 27 196617 |;<br />
#P outlet 131 284 15 0;<br />
#P newex 45 62 78 196617 modifiers 100;<br />
#P connect 5 0 7 0;<br />
#P connect 7 0 2 0;<br />
#P connect 0 3 2 0;<br />
#P connect 2 0 4 0;<br />
#P connect 4 0 3 0;<br />
#P connect 6 0 9 0;<br />
#P connect 3 0 9 0;<br />
#P connect 0 4 5 0;<br />
#P connect 5 0 2 1;<br />
#P connect 3 1 8 0;<br />
#P connect 9 0 8 0;<br />
#P connect 8 0 1 0;<br />
#P pop;<br />
#P newobj 279 431 50 196617 p wfkeys;<br />
#P message 567 586 35 196617 set $1;<br />
#P message 471 586 35 196617 set $1;<br />
#P message 375 586 35 196617 set $1;<br />
#P message 279 586 35 196617 set $1;<br />
#P newex 319 590 45 196617 loadbang;<br />
#P comment 376 648 247 196617 crop buffer~ to current selection (destructive edit);<br />
#P message 346 647 28 196617 crop;<br />
#P comment 630 455 68 196617 select end ms;<br />
#P comment 508 455 75 196617 select start ms;<br />
#P comment 386 455 83 196617 display length ms;<br />
#P flonum 639 469 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P flonum 519 469 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P flonum 399 469 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P flonum 279 469 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P newex 91 590 140 196617 buffer~ Circ_Buffer 120000;<br />
#P message 346 629 90 196617 set Circ_Buffer 1;<br />
#P user waveform~ 279 489 490 93 3 9;<br />
#W mode move;<br />
#W mouseoutput continuous;<br />
#W clipdraw 1;<br />
#W unit ms;<br />
#W grid 500.;<br />
#W ticks 8;<br />
#W labels 1;<br />
#W vlabels 1;<br />
#W vticks 1;<br />
#W vzoom 0.12;<br />
#W voffset 0.04;<br />
#W bpm 120. 4.;<br />
#W frgb 16 0 0;<br />
#W brgb 94 166 169;<br />
#W rgb2 63 112 185;<br />
#W rgb3 0 0 0;<br />
#W rgb4 0 0 0;<br />
#W rgb5 169 165 207;<br />
#W rgb6 108 108 108;<br />
#W rgb7 78 74 220;<br />
#P comment 266 455 83 196617 display start ms;<br />
#P comment 439 630 178 196617 link waveform~ to [ buffer , channel];<br />
#P user ezdac~ 294 191 338 224 0;<br />
#P message 198 84 14 196617 0;<br />
#P message 184 64 14 196617 1;<br />
#P message 149 39 28 196617 open;<br />
#N sfplay~  2 40320 0 ;<br />
#P newobj 149 119 206 196617 sfplay~ 2;<br />
#B color 5;<br />
#P newex 242 265 64 196617 snapshot~ 5;<br />
#P newex 275 301 66 196617 sampstoms~;<br />
#P newex 142 266 93 196617 poke~ Circ_Buffer;<br />
#B color 5;<br />
#P newex 183 205 67 196617 +~ 2646000;<br />
#P newex 84 172 112 196617 count~ 0 2646000 1 1;<br />
#P newex 43 266 93 196617 poke~ Circ_Buffer;<br />
#B color 5;<br />
#P connect 4 1 13 2;<br />
#P connect 4 1 34 0;<br />
#P connect 6 0 0 0;<br />
#P connect 6 0 3 0;<br />
#P connect 6 0 10 0;<br />
#P connect 35 0 15 0;<br />
#P connect 34 0 13 3;<br />
#P connect 1 0 0 1;<br />
#P fasten 1 0 2 0 89 201 188 201;<br />
#P connect 1 0 5 0;<br />
#P fasten 25 0 14 0 324 614 351 614;<br />
#P connect 15 1 14 0;<br />
#P fasten 6 2 8 0 350 154 365 154 365 45 189 45;<br />
#P connect 13 3 29 0;<br />
#P connect 13 2 28 0;<br />
#P connect 33 1 30 0;<br />
#P connect 26 0 16 0;<br />
#P fasten 23 0 13 0 351 674 284 674;<br />
#P connect 16 0 13 0;<br />
#P connect 14 0 13 0;<br />
#P connect 30 0 13 0;<br />
#P connect 13 0 26 0;<br />
#P connect 13 1 27 0;<br />
#P connect 27 0 17 0;<br />
#P connect 17 0 13 1;<br />
#P connect 28 0 18 0;<br />
#P connect 18 0 13 2;<br />
#P connect 29 0 19 0;<br />
#P connect 19 0 13 3;<br />
#P fasten 31 0 13 4 723 469 764 469;<br />
#P connect 6 1 10 1;<br />
#P fasten 5 0 4 0 247 291 280 291;<br />
#P connect 2 0 3 1;<br />
#P connect 7 0 6 0;<br />
#P connect 9 0 6 0;<br />
#P connect 8 0 6 0;<br />
#P window clipboard copycount 36;</p>
<p>just have to remember to send size 120000 to buffer~ when you want to make a new recording after cropping (to 60000)</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

