<?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: Problem using nonRealTime and sfRecord~. Is it a bug or am I doing something wrong?</title>
		<atom:link href="http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 20:49:03 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/#post-30891</guid>
					<title><![CDATA[Problem using nonRealTime and sfRecord~. Is it a bug or am I doing something wrong?]]></title>
					<link>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/#post-30891</link>
					<pubDate>Sun, 18 Mar 2007 03:58:01 +0000</pubDate>
					<dc:creator>onar3d</dc:creator>

					<description>
						<![CDATA[
						<p>Greetings!</p>
<p>I&#8217;ve bumped into a problem while trying to render the audio output of my Max/MSP/Jitter patch using sfRecord, when in NonRealTime mode:</p>
<p>the audio files recorded are sped up considerably (something like 4x) compared to the real-time output, and what&#8217;s even stranger is the amount of speed up is dependent on the &#8220;signal vector size&#8221; value when in nonrealtime mode. The larger the &#8220;Signal vector size&#8221;, the closer the speed is to that of the real-time output. Unfortunately with the maximum allowed value of 512, the speed is still too high.</p>
<p>The patch:<br />
MIDI (note on, note off, control) messages are sent to the Kontakt 2 sampler VST, that are triggered by events detected in a qucktime movie, the playback of which is driven with a tempo(40) object. The 9 audio output channels from Kontakt are then recorded to disc using an individual sfRecord~ object for each. </p>
<p>Finally note that the pitch of the audio is correct in the files generated when in nonrealtime mode; it doesn&#8217;t sound like when playing a tape too fast for example, when the pitches go up, so it&#8217;s not simply a matter of playing back the audio files slower to get the correct speed. </p>
<p>I have also tried the option of using record~ and buffer~, just for debugging, resulting in the same problem, but this time around it is a slowdown, in the case when &#8220;Signal Vector Size&#8221; is 512. When setting this to 128, the speed seems to be fine, but unfortunately the solution of using the record~ and buffer~ combination does not suit my purposes, since I would like to record for much longer time than this solution allows; so I will still need to use sfRecord~ in the final version&#8230;</p>
<p>I have looked for information in all documentation and all forum posts I could find, but there seems to be no reference of a similar problem on the web.</p>
<p>Does this sound familiar to you, so that you may have a suggestion on how it may be solved?</p>
<p>Thank you!</p>
<p>Regards,<br />
Ilias B.</p>
<p>P.S. Note that I have previously posted about this, but since the title may have been misleading, I got no replies and the post had been bumped off the front page of the forum, so I decided to try once more.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/#post-99429</guid>
					<title><![CDATA[Re: Problem using nonRealTime and sfRecord~. Is it a bug or am I doing something wrong?]]></title>
					<link>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/#post-99429</link>
					<pubDate>Sun, 18 Mar 2007 11:11:55 +0000</pubDate>
					<dc:creator>grg</dc:creator>

					<description>
						<![CDATA[
						<p>
Am 18.03.2007 um 04:58 schrieb Ilias Bergstrom:<br />
> I have also tried the option of using record~ and buffer~, just for <br />
> debugging, resulting in the same problem, but this time around it is a <br />
> slowdown, in the case when &#8220;Signal Vector Size&#8221; is 512. When setting <br />
> this to 128, the speed seems to be fine, but unfortunately the <br />
> solution of using the record~ and buffer~ combination does not suit my <br />
> purposes, since I would like to record for much longer time than this <br />
> solution allows; so I will still need to use sfRecord~ in the final <br />
> version&#8230;</p>
<p>Hi Ilias,</p>
<p>search the forum for nonrealtime and sfrecord, similar issues have been <br />
discussed before. As you are non realtime anyway, why not use the <br />
working buffer~solution, stop every once in a while (every x frames), <br />
save the buffers with an indexed name &#038; glue them together afterwards. <br />
Btw questions like this are much clearer if one can see a patch ;)</p>
<p>g, g.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/#post-99430</guid>
					<title><![CDATA[Re: Problem using nonRealTime and sfRecord~. Is it a bug or am I doing something wrong?]]></title>
					<link>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/#post-99430</link>
					<pubDate>Sun, 18 Mar 2007 11:55:18 +0000</pubDate>
					<dc:creator>onar3d</dc:creator>

					<description>
						<![CDATA[
						<p>grg,</p>
<p>The reason I posted is of course that I did search the forum but didn&#8217;t find anything. There are mentions of a slowdown using nonrealtime, but that is of the recording procedure, not the audio as played back from the recorded file!</p>
<p>The patch is very elaborate, and involves an external VST, which is why I didn&#8217;t post it. Should try to recreate the problem in a much smaller scale and post it though, in that you&#8217;re right.</p>
<p>The buffer solution is not viable because i have close to a hundred channels of audio, and want to record for a long time, that is, a few minutes&#8230; I&#8217;d have to cut the work up in very small chunks to do this :(</p>
<p>Thanks!</p>
<p>Ilias B.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/#post-99431</guid>
					<title><![CDATA[Re: Problem using nonRealTime and sfRecord~. Is it a bug or am I doing something wrong?]]></title>
					<link>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/#post-99431</link>
					<pubDate>Sun, 18 Mar 2007 12:57:39 +0000</pubDate>
					<dc:creator>grg</dc:creator>

					<description>
						<![CDATA[
						<p>
Am 18.03.2007 um 12:55 schrieb Ilias Bergstrom:<br />
><br />
> The reason I posted is of course that I did search the forum but <br />
> didn&#8217;t find anything. There are mentions of a slowdown using <br />
> nonrealtime, but that is of the recording procedure, not the audio as <br />
> played back from the recorded file!</p>
<p>I just though some of the hints (large disk buffer size for sfrecord, <br />
audio in interupt on etc) might help.</p>
<p>> The buffer solution is not viable because i have close to a hundred <br />
> channels of audio, and want to record for a long time, that is, a few <br />
> minutes&#8230; I&#8217;d have to cut the work up in very small chunks to do this <br />
> :(</p>
<p>I though you had nine, not hunderts. Anyway, my idea was to automate <br />
the saving &#038; glueing, so it wouldn&#8217;t really matter how many chunks you <br />
have. Or just let your patch record one channel after another and let <br />
it run over night?</p>
<p>No idea why the signal vector size changes the pitch in nonrealtime <br />
tough.</p>
<p>Cheers, g.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/#post-99432</guid>
					<title><![CDATA[Re: Problem using nonRealTime and sfRecord~. Is it a bug or am I doing something wrong?]]></title>
					<link>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/#post-99432</link>
					<pubDate>Sun, 18 Mar 2007 13:16:56 +0000</pubDate>
					<dc:creator>onar3d</dc:creator>

					<description>
						<![CDATA[
						<p>grg,</p>
<p>The automating is actually a good idea for now, if the result is seamless it&#8217;s well worth a try! </p>
<p>You were right about my being ambiguous on the channel count; the final product will have many more channels than the 9 I&#8217;m currently experimenting with.</p>
<p>
Thank you for the tip about automating the buffer-writing, given that you mention it I assume the output is seamless, which then serves my purpose fine till I figure out why sfRecord is acting up!</p>
<p>Regards,<br />
Ilias B.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/#post-99433</guid>
					<title><![CDATA[Re: Problem using nonRealTime and sfRecord~. Is it a bug or am I doing something wrong?]]></title>
					<link>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/#post-99433</link>
					<pubDate>Mon, 19 Mar 2007 16:52:52 +0000</pubDate>
					<dc:creator>Stefan Tiedje</dc:creator>

					<description>
						<![CDATA[
						<p>Georg Bosch schrieb:<br />
> Btw questions like this are much clearer if one can see a patch ;)</p>
<p>In this case no patch required, if you have scheduler events controling <br />
your timing (like metro, delay&#8230;) you HAVE TO switch on scheduler in <br />
audiointerupt. Elsewise the scheduler runs in realtime and the audio in <br />
non-realtime&#8230;<br />
sfrecord is bad in non realtime, you end up rendering much slower than <br />
realtime. Your buffer~/record~ solution is better to speed things up&#8230;</p>
<p>Stefan</p>
<p>&#8211; <br />
Stefan Tiedje&#8212;&#8212;&#8212;&#8212;x&#8212;&#8212;-<br />
&#8211;_____&#8212;&#8212;&#8212;&#8211;|&#8212;&#8212;&#8212;&#8212;&#8211;<br />
&#8211;(_|_ &#8212;-|&#8212;&#8211;|&#8212;&#8211;()&#8212;&#8212;-<br />
&#8211; _|_)&#8212;-|&#8212;&#8211;()&#8212;&#8212;&#8212;&#8212;&#8211;<br />
&#8212;&#8212;&#8212;-()&#8212;&#8212;&#8211;www.ccmix.com</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/#post-99434</guid>
					<title><![CDATA[Re: Problem using nonRealTime and sfRecord~. Is it a bug or am I doing something wrong?]]></title>
					<link>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/#post-99434</link>
					<pubDate>Mon, 19 Mar 2007 17:10:44 +0000</pubDate>
					<dc:creator>onar3d</dc:creator>

					<description>
						<![CDATA[
						<p>Georg,</p>
<p>Thank you for your reply!</p>
<p>Setting it so that the scheduler is in Audio interrupt (and with Max scheduling in Overdrive of course) makes no difference.</p>
<p>Also, I have just posted a very simplified example to illustrate this, as a new thread, named: &#8220;Possible bug example patch, using nonRealTime and sfRecord~&#8221;</p>
<p>I will try to see if i can make a solution that is satisfactory using the buffer technique next up. The problem is, given I will have so many channels, for any longer recording time I will have to do a lot of gluing of wav files together, if i find no way of automating this as well. I am also uncertain whether this option will really result in completely seamless audio in the recording; remains to be seen in practice :) </p>
<p>Also note that I get the same behaviour when using this buffer technique, but this time only for signal vector sizes smaller than i think 256 or 512, i don&#8217;t remember. Using sfRecord would I assume also be fine, if nonRealTime allowed buffers of more than 512, because with 512 the speedup seems to be 2x, so with 1024 there might be none :) &#8230;unfortunately though the maximum that the window allows is 512, so i will never find out&#8230;</p>
<p>&#8230;Under this light the ideal solution would still be to find what it is that causes this behavior, rather than trying to circumvent it&#8230;</p>
<p>Thank you for your help!<br />
Ilias B.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/#post-99435</guid>
					<title><![CDATA[Re: Problem using nonRealTime and sfRecord~. Is it a bug or am I doing something wrong?]]></title>
					<link>http://cycling74.com/forums/topic/problem-using-nonrealtime-and-sfrecord-is-it-a-bug-or-am-i-doing-something-wrong/#post-99435</link>
					<pubDate>Mon, 19 Mar 2007 17:15:00 +0000</pubDate>
					<dc:creator>onar3d</dc:creator>

					<description>
						<![CDATA[
						<p>&#8230;sorry Stefan, got your name wrong in my previous post, the &#8220;Georg Bosch schrieb:&#8221; header confused me :)</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

