<?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: Why does deleting a buffer cause audio to switch off &amp; on? (max5) (bit urgent!)</title>
		<atom:link href="http://cycling74.com/forums/topic/why-does-deleting-a-buffer-cause-audio-to-switch-off-on-max5-bit-urgent/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/why-does-deleting-a-buffer-cause-audio-to-switch-off-on-max5-bit-urgent/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 23:17:34 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/why-does-deleting-a-buffer-cause-audio-to-switch-off-on-max5-bit-urgent/#post-46679</guid>
					<title><![CDATA[Why does deleting a buffer cause audio to switch off &amp; on? (max5) (bit urgent!)]]></title>
					<link>http://cycling74.com/forums/topic/why-does-deleting-a-buffer-cause-audio-to-switch-off-on-max5-bit-urgent/#post-46679</link>
					<pubDate>Sun, 10 Jun 2012 12:05:26 +0000</pubDate>
					<dc:creator>david stevens</dc:creator>

					<description>
						<![CDATA[
						<p>I have a patch which creates a bunch of temp buffers, copies chunks of a longer buffer into them, saves the temp buffers to hard drive andq then deletes the temps buffers, all using scripting.<br />
(I&#8217;m doing it this way because I then load the saved chunks into a kind of sfplay for quick access. (actually, [ibufplayer~])</p>
<p>Everything works fine until I start to delete the buffers. At first it seemed to cause audio to stop, even though dspstatus said it was still on, but with 0% CPU utilisation. I then tried running e delete message thru deferlow. That seemed to work if I deleted one at a time, but wasno good when I automated the process again.<br />
Finally, I tried triggering the deletes 1 at a time, at which point I noticed (in the dsp status window)  that the audio was momentarily turning off and on again for every delete. I guess when I ran the process automatically it just wasn&#8217;t catching up with itself, with all those audio off/ons.</p>
<p>The question is, is this expected behaviour with max5 (in which case I&#8217;ll have to redesign the fragment players), or is something awry, and what might it be?</p>
<p>Thanks</p>
<p>David</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/why-does-deleting-a-buffer-cause-audio-to-switch-off-on-max5-bit-urgent/#post-167934</guid>
					<title><![CDATA[Re: Why does deleting a buffer cause audio to switch off &#038; on? (max5) (bit urgent!)]]></title>
					<link>http://cycling74.com/forums/topic/why-does-deleting-a-buffer-cause-audio-to-switch-off-on-max5-bit-urgent/#post-167934</link>
					<pubDate>Sun, 10 Jun 2012 13:09:43 +0000</pubDate>
					<dc:creator>mudang</dc:creator>

					<description>
						<![CDATA[
						<p>That&#8217;s right. Everytime an audio object gets created or deleted, or an audio connection is made, the internal dsp chain gets updated. For this, dsp is momentarily switched off.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/why-does-deleting-a-buffer-cause-audio-to-switch-off-on-max5-bit-urgent/#post-167935</guid>
					<title><![CDATA[Re: Why does deleting a buffer cause audio to switch off &#038; on? (max5) (bit urgent!)]]></title>
					<link>http://cycling74.com/forums/topic/why-does-deleting-a-buffer-cause-audio-to-switch-off-on-max5-bit-urgent/#post-167935</link>
					<pubDate>Sun, 10 Jun 2012 13:12:37 +0000</pubDate>
					<dc:creator>mudang</dc:creator>

					<description>
						<![CDATA[
						<p>Maybe you can send a &#8220;size 0&#8243; to the temp buffers, instead of deleting them&#8230;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/why-does-deleting-a-buffer-cause-audio-to-switch-off-on-max5-bit-urgent/#post-167936</guid>
					<title><![CDATA[Re: Why does deleting a buffer cause audio to switch off &#038; on? (max5) (bit urgent!)]]></title>
					<link>http://cycling74.com/forums/topic/why-does-deleting-a-buffer-cause-audio-to-switch-off-on-max5-bit-urgent/#post-167936</link>
					<pubDate>Sun, 10 Jun 2012 13:52:19 +0000</pubDate>
					<dc:creator>pid</dc:creator>

					<description>
						<![CDATA[
						<p>this is the way MSP has always worked, from 1997 &#8211; 2011. all softwares like this work in this way, e.g. Pd.</p>
<p>in Max6 you can do this successfully using the Mixer Crossfade settings.</p>
<p>however scripting deletion of buffer~s is a bit crazy and there are surely better ways around you problem. you might find polybuffer~ to your liking too (also Max6). if the buffers are small there will be no significant ram gain in deleting them.</p>
<p>if you decide you really need to &#8216;delete&#8217;, why not put them all in a poly~ and mute it when done instead?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/why-does-deleting-a-buffer-cause-audio-to-switch-off-on-max5-bit-urgent/#post-167937</guid>
					<title><![CDATA[Re: Why does deleting a buffer cause audio to switch off &#038; on? (max5) (bit urgent!)]]></title>
					<link>http://cycling74.com/forums/topic/why-does-deleting-a-buffer-cause-audio-to-switch-off-on-max5-bit-urgent/#post-167937</link>
					<pubDate>Sun, 10 Jun 2012 14:23:32 +0000</pubDate>
					<dc:creator>david stevens</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for the suggestions &#8211; </p>
<p>This is the first time I&#8217;ve attempted doing this, which is why I didn&#8217;t come across the issue before.<br />
The reason I wanted to delete the buffers is that they are only used to get the cut up audio onto the hard drive. And there may be several tens of users during the course of any day, which is why I wanted to delete them after use.</p>
<p>In the end (as I&#8217;m sticking with max5 for this project)&#8217;, I&#8217;ve decided to use precreated buffers, write to them from the slicing object, and play from them using groove~ with set $1 messages . It seems to work just as well.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

