<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Question about [tabread4~]]]></title><description><![CDATA[<p>While working on a sample player, I noticed that the sample sounded slightly different when played through Audacity and when played through my Pd patch. It's hard to notice the difference (unless you have perfect pitch, which I don't), but when played through Audacity, it has a slightly higher pitch. If you play them both at the same time, the difference is obvious.</p>
<p>So I extracted just the essentials from my patch to illustrate. I don't know if I'm doing something wrong in my patch, but I don't see any problem. I used Audacity to create the sample in the first place, which is exactly 44,100 samples long, at a sample rate of 44,100.</p>
<p>Anybody see any problem with my patch?</p>
<p><img src="/uploads/files/1679997517592-image2.jpg" alt="Image2.jpg" class="img-responsive img-markdown" /></p>
<p><img src="/uploads/files/1679997427348-image1.jpg" alt="Image1.jpg" class="img-responsive img-markdown" /></p>
<p>Patch: <a href="https://drive.google.com/file/d/151cvF_9_4ViebScR_zOS-IRaQXok0XIJ/view?usp=share_link" rel="nofollow">https://drive.google.com/file/d/151cvF_9_4ViebScR_zOS-IRaQXok0XIJ/view?usp=share_link</a></p>
<p>Sound file: <a href="https://drive.google.com/file/d/18UyB1o6mOfS1oW2OhIUtpA1KdJhHBTm9/view?usp=share_link" rel="nofollow">https://drive.google.com/file/d/18UyB1o6mOfS1oW2OhIUtpA1KdJhHBTm9/view?usp=share_link</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 13:46:17 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/14299.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Mar 2023 10:08:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 14:31:09 GMT]]></title><description><![CDATA[<p>While working on a sample player, I noticed that the sample sounded slightly different when played through Audacity and when played through my Pd patch. It's hard to notice the difference (unless you have perfect pitch, which I don't), but when played through Audacity, it has a slightly higher pitch. If you play them both at the same time, the difference is obvious.</p>
<p>So I extracted just the essentials from my patch to illustrate. I don't know if I'm doing something wrong in my patch, but I don't see any problem. I used Audacity to create the sample in the first place, which is exactly 44,100 samples long, at a sample rate of 44,100.</p>
<p>Anybody see any problem with my patch?</p>
<p><img src="/uploads/files/1679997517592-image2.jpg" alt="Image2.jpg" class="img-responsive img-markdown" /></p>
<p><img src="/uploads/files/1679997427348-image1.jpg" alt="Image1.jpg" class="img-responsive img-markdown" /></p>
<p>Patch: <a href="https://drive.google.com/file/d/151cvF_9_4ViebScR_zOS-IRaQXok0XIJ/view?usp=share_link" rel="nofollow">https://drive.google.com/file/d/151cvF_9_4ViebScR_zOS-IRaQXok0XIJ/view?usp=share_link</a></p>
<p>Sound file: <a href="https://drive.google.com/file/d/18UyB1o6mOfS1oW2OhIUtpA1KdJhHBTm9/view?usp=share_link" rel="nofollow">https://drive.google.com/file/d/18UyB1o6mOfS1oW2OhIUtpA1KdJhHBTm9/view?usp=share_link</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4</guid><dc:creator><![CDATA[dfkettle]]></dc:creator><pubDate>Wed, 29 Mar 2023 14:31:09 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Tue, 28 Mar 2023 18:18:11 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/dfkettle">@dfkettle</a> If you have Pd running at a 48000 sample rate in Pd Audio Settings then that would explain it....<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Tue, 28 Mar 2023 18:18:11 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Tue, 28 Mar 2023 18:54:21 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> that was my first reaction but if the original was recorded at 44100 and you're still reading over 44100 in 1 second it should basically be the same aside from minor resampling artifacts</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/3</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Tue, 28 Mar 2023 18:54:21 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Tue, 28 Mar 2023 21:29:00 GMT]]></title><description><![CDATA[<p>You are missing the  &quot; three guard points&quot; for [tabread4~]'s 4-point interpolation:<br />
1 at the beginning and 2 at the end of the array.<br />
You can read about it in<br />
else\Live-Electronics-Tutorial\Part.07-Sampling.Delay.Granulation\27-Sampling(buffer)\3.Interpolation</p>
<p><img src="/uploads/files/1680032691224-else-cubic.png" alt="else-cubic.png" class="img-responsive img-markdown" /><br />
Copy the last sample to the beginning<br />
and the first two samples to the end<br />
as guardpoints.</p>
<p>For playback, skip the guardpoints, like this:<br />
<img src="/uploads/files/1680033131621-tabread4-running.png" alt="tabread4~-running.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/4</guid><dc:creator><![CDATA[lacuna]]></dc:creator><pubDate>Tue, 28 Mar 2023 21:29:00 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Tue, 28 Mar 2023 19:58:51 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/seb-harmonik-ar">@seb-harmonik.ar</a> But it will be read in less than 1 second if Pd is running at 48K samples per second.<br />
I wondered about artefacts too.  Also the interpolation.... but [phasor~] is reading the correct number of samples even though the wrap around is wrong.  Anyway, 3 samples in 44100 would be  too small a shift to hear I think..... but maybe not when playing from both players in sync.<br />
And then the OP says Audacity has the higher pitch...... but maybe that is wrong..... and playing them alongside could change perception.......... <a href="/uploads/files/1680033445275-change_perception.pd">change_perception.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/5</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Tue, 28 Mar 2023 19:58:51 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Tue, 28 Mar 2023 20:04:54 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/lacuna">@lacuna</a> Yeah but that shouldn't affect the pitch either ..</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/6</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Tue, 28 Mar 2023 20:04:54 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Tue, 28 Mar 2023 20:01:02 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/lacuna">@lacuna</a> I wouldn't expect to hear a pitch difference with a 1 second sample...... its still only 3 in 44100.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/7</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Tue, 28 Mar 2023 20:01:02 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Tue, 28 Mar 2023 20:02:39 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> no it won't, if the <code>[phasor~]</code>s frequency is set to 1.<br />
Now if pd was recording it at a different sample rate that would make a difference though</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/8</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Tue, 28 Mar 2023 20:02:39 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Tue, 28 Mar 2023 20:07:52 GMT]]></title><description><![CDATA[<p>is audacity running at 44100? Or is that just the info in the sound file?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/9</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Tue, 28 Mar 2023 20:07:52 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Tue, 28 Mar 2023 20:09:43 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/seb-harmonik-ar">@seb-harmonik.ar</a> Yes, muddled thinking from me.  Confused with [readsf~].<br />
Yes..... the Audacity window has the project rate at 44100.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/10</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Tue, 28 Mar 2023 20:09:43 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Tue, 28 Mar 2023 23:42:25 GMT]]></title><description><![CDATA[<p>I would test Pd by recording a few seconds of [phasor~ 1], and measuring the number of samples per cycle. Obviously this should be the system sample rate, give or take floating point rounding error.</p>
<p>The worry in this thread is that Pd is playing at the wrong speed.</p>
<p>The only way this could happen is if [phasor~ 1] is running at the wrong speed, because in the demo patch, phasor~ is the only thing controlling the speed.</p>
<p>Therefore, if there is no evidence of phasor~ running at the wrong speed, then Pd must be playing the file at the true speed!</p>
<p>&quot;But what if the system sample rate differs from the file's?&quot; The file is at the lowest sample rate in common use. If Pd is playing it slower than Audacity, then Pd would have to be running below 44.1 kHz, which is unlikely to be supported in hardware. So I'm comfortable ruling that out (not to mention that scaling the phasor~ by the file's number of samples already accounts for this). Common scenario would be: 44.1 kHz file, 48 kHz system SR, without correcting for this then Pd would play faster, but that isn't the report.</p>
<blockquote>
<p>is audacity running at 44100?</p>
</blockquote>
<p>I'm pretty sure Audacity has no power to override the hardware sample rate. I've never heard of soundcards issuing separate, per-app interrupts at different rates (imagine how difficult that would be, to make it work, highly implausible). AFAIK Audacity does sample rate conversion when the file is at a different rate from the hardware... just like all other audio software.</p>
<p>Is it 100% guaranteed that Audacity is playing it at the right speed?</p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/11</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Tue, 28 Mar 2023 23:42:25 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 00:19:18 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/lacuna">@lacuna</a> That wouldn't explain the difference in frequency, I don't think. It might cause a click at the start, that's all. And as for the sample rate, both Audacity and  Pd were running at 41000. Did anyone try running the patch? Links to the patch and the sample file are attached.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/12</guid><dc:creator><![CDATA[dfkettle]]></dc:creator><pubDate>Wed, 29 Mar 2023 00:19:18 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 00:21:06 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/dfkettle">@dfkettle</a> said:</p>
<blockquote>
<p>That wouldn't explain the difference in frequency, I don't think.</p>
</blockquote>
<p>True. log2(44100 / 44097) * 1200 = 0.12 cents, not at all easily detectable to the ear.</p>
<p>BTW here's one test of phasor~ duration (48 kHz) -- it's spot on.</p>
<p><img src="/uploads/files/1680049247002-pd-phasor-dur.png" alt="pd-phasor-dur.png" class="img-responsive img-markdown" /></p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/13</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/13</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Wed, 29 Mar 2023 00:21:06 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 04:16:10 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/dfkettle">@dfkettle</a> no, phasor is running with it's speed (should be 1Hz) the readhead and 44100 samples is still one period.</p>
<blockquote>
<blockquote>
<p>Is it 100% guaranteed that Audacity is playing it at the right speed?</p>
</blockquote>
</blockquote>
<p>That would explain trouble we had with video-audio out of sync which was appearing after &gt;30 minutes?, at that time we blamed the cheap audio recording device's clock for it, but could possible have been Audacity, too!?</p>
<blockquote>
<blockquote>
<p>I would test Pd by recording a few seconds of [phasor~ 1], and measuring the number of samples per cycle. Obviously this should be the system sample rate, give or take floating point rounding error.</p>
</blockquote>
</blockquote>
<p>I think phasor~ has jitter due to precision limits but that shoud be +- 1 sample, not more.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/14</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/14</guid><dc:creator><![CDATA[lacuna]]></dc:creator><pubDate>Wed, 29 Mar 2023 04:16:10 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 00:29:49 GMT]]></title><description><![CDATA[<p>I rebuilt the essential logic in your patch and I get dead-on accurate pitch between Pd and Audacity.</p>
<p><img src="/uploads/files/1680049764645-pd-buf-dur.png" alt="pd-buf-dur.png" class="img-responsive img-markdown" /></p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/15</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/15</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Wed, 29 Mar 2023 00:29:49 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 00:30:19 GMT]]></title><description><![CDATA[<p>As for the missing guard points (even though they don't explain the difference in frequency), I loaded the file (which has exactly 41,000 samples in it) using [soundfiler] and the &quot;-resize&quot; option. So I guess [soundfiler] doesn't add guard points. Should it?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/16</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/16</guid><dc:creator><![CDATA[dfkettle]]></dc:creator><pubDate>Wed, 29 Mar 2023 00:30:19 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 04:18:03 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/dfkettle">@dfkettle</a> yes, you have to add them. This is for less artifacts only. And only if you playback at different speed and/or samplerate tabread4~ would be needed. For original speed, you can playback with tabread~ or tabplay~ without any interpolation, sample by sample.</p>
<p>I did not open your uploads.</p>
<p>EDIT: here is an abstraction for it <a href="https://forum.pdpatchrepo.info/topic/14301/add-delete-guard-points-to-a-table-for-4-point-interpolation-of-tabread4-ect" rel="nofollow">https://forum.pdpatchrepo.info/topic/14301/add-delete-guard-points-to-a-table-for-4-point-interpolation-of-tabread4-ect</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/17</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/17</guid><dc:creator><![CDATA[lacuna]]></dc:creator><pubDate>Wed, 29 Mar 2023 04:18:03 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 00:38:25 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ddw_music">@ddw_music</a> said:</p>
<blockquote>
<p>I rebuilt the essential logic in your patch and I get dead-on accurate pitch between Pd and Audacity.</p>
</blockquote>
<p>I don't really see any difference between your patch and mine, apart from the fact the you hard-coded the name of the file and replaced the horizontal slider with a constant value of 0.1.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/18</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/18</guid><dc:creator><![CDATA[dfkettle]]></dc:creator><pubDate>Wed, 29 Mar 2023 00:38:25 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 00:39:25 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/lacuna">@lacuna</a></p>
<blockquote>
<p>That would explain trouble we had with video-audio out of sync which was appearing after &gt;30 minutes?</p>
</blockquote>
<p>Soundcard clocks are famously inaccurate -- if you record exactly 10 minutes of real world clock time, you probably won't get exactly sr * 600 samples. Normally this is not a terrible thing, but if you're trying to sync with video that was recorded according to a different clock, then yeah, it's a common problem. I've seen it myself. I have a SuperCollider script saved somewhere that will faster-than-realtime resample the audio to match video duration (based on by-hand duration measurements).</p>
<p>However, Audacity doesn't deal with video, so it can't be the problem here. If you read /n/ samples into Audacity and then export them to a different file, you should still have /n/ samples. Resampling is for playback. AFAIK if your sound card is at 48 kHz but the file is 44.1 kHz, there is no magic way that Audacity can &quot;run at&quot; 44.1 kHz while everything else is at 48 kHz. But the fx etc in Audacity should be working at the file's rate.</p>
<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/dfkettle">@dfkettle</a></p>
<blockquote>
<p>So I guess [soundfiler] doesn't add guard points. Should it?</p>
</blockquote>
<p>I would say no, because [soundfiler] doesn't know what you plan to do with the data.</p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/19</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/19</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Wed, 29 Mar 2023 00:39:25 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 00:48:06 GMT]]></title><description><![CDATA[<blockquote>
<blockquote>
<p>clocks are famously inaccurate</p>
</blockquote>
</blockquote>
<p>As I have been writing, this is what we assumed - and still might be most likely, but as far as I remember Audacity on a Mac has been involved in the post-production, too.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/20</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/20</guid><dc:creator><![CDATA[lacuna]]></dc:creator><pubDate>Wed, 29 Mar 2023 00:48:06 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 01:26:57 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/lacuna">@lacuna</a> said:</p>
<blockquote>
<blockquote>
<blockquote>
<p>clocks are famously inaccurate</p>
</blockquote>
</blockquote>
<p>As I have been writing, this is what we assumed - and still might be most likely, but as far as I remember Audacity on a Mac has been involved in the post-production, too.</p>
</blockquote>
<p>I didn't record the file with Audacity, I used the generate function (Generate-&gt;Pluck... in the main menu). So I don't think the clock would even be involved in generating the file. Playing it back would involve the clock, I guess, but the file is only one second long. The clock would have to be very inaccurate to produce a noticeable difference in such a short period of time.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/21</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/21</guid><dc:creator><![CDATA[dfkettle]]></dc:creator><pubDate>Wed, 29 Mar 2023 01:26:57 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 01:41:21 GMT]]></title><description><![CDATA[<p>Yes, also Audacity and PD <em>should</em> rely on the same clock.  And for playback of the same file, the recording clock doesn't matter.<br />
But we don't know what Audacity does, that's all I wanted to say.<br />
<a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/dfkettle">@dfkettle</a> said:</p>
<blockquote>
<p>a noticeable difference in such a short period of time.</p>
</blockquote>
<p>how much is it off?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/22</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/22</guid><dc:creator><![CDATA[lacuna]]></dc:creator><pubDate>Wed, 29 Mar 2023 01:41:21 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 01:46:40 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/lacuna">@lacuna</a> said:</p>
<blockquote>
<blockquote>
<blockquote>
<p>clocks are famously inaccurate</p>
</blockquote>
</blockquote>
<p>As I have been writing, this is what we assumed - and still might be most likely</p>
</blockquote>
<p>In SuperCollider, after booting the audio engine, you can ask it <code>.sampleRate</code> and <code>.actualSampleRate</code>. The latter fluctuates, sometimes as much as a dozen or two samples per second (especially for built-in audio interfaces).</p>
<p>Once the signal is sampled, you're stuck with it, apart from resampling after the fact.</p>
<blockquote>
<p>but as far as I remember Audacity on a Mac has been involved in the post-production, too.</p>
</blockquote>
<p>Audacity should not resample anything unless you tell it to, by &quot;Change Speed.&quot; It will not automatically fix a recording rate mismatch (it can't, because there's no way to determine from a stream of audio samples how fast it was actually recorded vs the nominal sample rate) <em>and</em> it should definitely not make matters worse. Let's nip this bit of folklore in the bud. Audacity, /n/ samples imported --&gt; /n/ samples exported.</p>
<p>Audacity playback and Audacity export are different mechanisms.</p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/23</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/23</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Wed, 29 Mar 2023 01:46:40 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 06:32:06 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ddw_music">@ddw_music</a> You could well be right........ waspi soundcard rate mismatch in windows 10 (the screenshots look like Windows &gt;7)..... <a href="https://forum.audacityteam.org/t/audacity-playback-is-too-fast/45964" rel="nofollow">https://forum.audacityteam.org/t/audacity-playback-is-too-fast/45964</a></p>
<p>Except that the sample was copied to Pd from a recording in Audacity, and the Audacity problem is famously intermittent.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/24</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/24</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Wed, 29 Mar 2023 06:32:06 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 11:19:09 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ddw_music">@ddw_music</a><br />
agree with everything you said about how such an offline DAW, as Audacity, should be working, but do not remember how the recordings have been processed, just know it has been rather complicated, there might have been some resampling involved as well.</p>
<blockquote>
<p>Is it 100% guaranteed that Audacity is playing it at the right speed?</p>
</blockquote>
<p>was your question and I read it like: can we trust Audacity more than Pd? My answer was no, with my experience, which is most likely offtopic.<br />
Now I realize that you might have adressed the settings with your question.<br />
....<br />
<a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/dfkettle">@dfkettle</a> said:</p>
<blockquote>
<p>The clock would have to be very inaccurate to produce a noticeable difference</p>
</blockquote>
<p>Agree with this.</p>
<p>anyway</p>
<blockquote>
<p>.actualSampleRate</p>
</blockquote>
<p>is interesting. Do you know how SC measures this?</p>
<p>In PD, all I could come up is this:</p>
<p><img src="/uploads/files/1680086511991-clock-jitter-pd-screenshot.png" alt="clock-jitter-pd-screenshot.png" class="img-responsive img-markdown" /><br />
<a href="/uploads/files/1680087390693-clock-jitter-pd.pd">clock-jitter-pd.pd</a></p>
<p>but feels like measuring bullshit, as it just compares the drift of two clocks against one another, or worse, one calculation on top of a clock against another, within the same system (while the control objects have a lower priority in the schedule, are not time-critical). I think a &quot;real&quot; measure would require an external calibrated frequency-counter device.</p>
<p>How accurate is [realtime] ? <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/smiley.png" title="smiley" alt=":smiley:" /><br />
[cputime] doesn't seem to work here on Windows.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/25</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/25</guid><dc:creator><![CDATA[lacuna]]></dc:creator><pubDate>Wed, 29 Mar 2023 11:19:09 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 11:03:37 GMT]]></title><description><![CDATA[<p>re: guard points: You're still telling tabread4~ to go from 0 to 44099 in 1 second. The only thing that will happen is that the read point is clipped between the 2nd and 2nd-to-last samples, but that doesn't influence the playback rate at all. You'll get repeated values where you 'would' read the 1st and last samples, that's it.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/26</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/26</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Wed, 29 Mar 2023 11:03:37 GMT</pubDate></item><item><title><![CDATA[Reply to Question about [tabread4~] on Wed, 29 Mar 2023 11:12:34 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/seb-harmonik-ar">@seb-harmonik.ar</a><br />
to be precise: reading from sample 1 (skipping sample 0, as it is a guard point) to arraysize-2<br />
makes still 44100 samples. And yes, doesn't influence the playback-rate, neither the perceived pitch at all.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/27</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14299/question-about-tabread4/27</guid><dc:creator><![CDATA[lacuna]]></dc:creator><pubDate>Wed, 29 Mar 2023 11:12:34 GMT</pubDate></item></channel></rss>