<?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[Distortion when overdubbing audio]]></title><description><![CDATA[<p>Hi everyone, I'm relatively new to PD and I've been making a loop pedal/mini daw for a class assignment. My issue is, when I'm overdubbing on the same array, it slowly starts to distort more and more. I was wondering if anyone could help me out with this, I'll attach my patch so you can have a look! (THECHAOSWALL is the main patch)</p>
<p><a href="/uploads/files/1733917955427-dp_square_pan.pd">DP_square_pan.pd</a> <a href="/uploads/files/1733917955426-thechaoswall.pd">THECHAOSWALL.pd</a></p>
<p>Ignore the messiness of the patch it's still a work in progress <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 19:13:30 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/14960.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Dec 2024 11:53:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Distortion when overdubbing audio on Wed, 11 Dec 2024 11:53:49 GMT]]></title><description><![CDATA[<p>Hi everyone, I'm relatively new to PD and I've been making a loop pedal/mini daw for a class assignment. My issue is, when I'm overdubbing on the same array, it slowly starts to distort more and more. I was wondering if anyone could help me out with this, I'll attach my patch so you can have a look! (THECHAOSWALL is the main patch)</p>
<p><a href="/uploads/files/1733917955427-dp_square_pan.pd">DP_square_pan.pd</a> <a href="/uploads/files/1733917955426-thechaoswall.pd">THECHAOSWALL.pd</a></p>
<p>Ignore the messiness of the patch it's still a work in progress <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio</guid><dc:creator><![CDATA[Blades_Prod]]></dc:creator><pubDate>Wed, 11 Dec 2024 11:53:49 GMT</pubDate></item><item><title><![CDATA[Reply to Distortion when overdubbing audio on Wed, 11 Dec 2024 14:49:35 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/blades_prod">@Blades_Prod</a> Basically, my looper is not working as it should. It does loop round and record the audio, but every layer that I add on is more distorted and riddled with feedback, help would be very much appreciated</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio/2</guid><dc:creator><![CDATA[Blades_Prod]]></dc:creator><pubDate>Wed, 11 Dec 2024 14:49:35 GMT</pubDate></item><item><title><![CDATA[Reply to Distortion when overdubbing audio on Wed, 11 Dec 2024 21:21:53 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/blades_prod">@Blades_Prod</a> You have put a [clip~] before your final output, and that will effectively create a &quot;fuzz box&quot; on the output when the audio signal exceeds +/-1.<br />
Pd has a massive internal dynamic range, so it is very unlikely that there is any distortion before that point.<br />
It would be better to simply reduce the final volume with your [*~] and [fader] combo, and remove the [clip~].<br />
You could also put a soft limiter in place of [clip~]..... with a feed forward delay..... using something like [limiter~] and [z~] before your output fader (see the help file for [limiter~]).</p>
<p>The final output must not exceed +/-1 or your sound card will distort.</p>
<p>The feedback will be acoustic probably..... and headphones would help.  If you are using a microphone and listening to the loop with speakers then there will be some of the previous loop fed back to the loop with a delay, and it will get very muddy very fast.<br />
The 100% feedback from [tabread4~] to [tabwrite~] shouldn't be producing &quot;feedback&quot; as such.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio/3</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Wed, 11 Dec 2024 21:21:53 GMT</pubDate></item><item><title><![CDATA[Reply to Distortion when overdubbing audio on Wed, 11 Dec 2024 22:23:18 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> thank you for your reply! I tried using the limiter and reduced the volume using [*~] however, this did not fix the issue. Overdubbing 'Track 1' does not have any distortion, but the rest do even though it's the exact same code in each track's sub patch. I genuinely don't know what else I can try lol.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio/4</guid><dc:creator><![CDATA[Blades_Prod]]></dc:creator><pubDate>Wed, 11 Dec 2024 22:23:18 GMT</pubDate></item><item><title><![CDATA[Reply to Distortion when overdubbing audio on Wed, 11 Dec 2024 22:25:35 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/blades_prod">@Blades_Prod</a> I just copy and pasted one of the loopers into a new patch, it lets me overdub 3 times and then the 4th one is crazy distorted. Could it be an issue with my computer/settings?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio/5</guid><dc:creator><![CDATA[Blades_Prod]]></dc:creator><pubDate>Wed, 11 Dec 2024 22:25:35 GMT</pubDate></item><item><title><![CDATA[Reply to Distortion when overdubbing audio on Thu, 12 Dec 2024 07:08:59 GMT]]></title><description><![CDATA[<p>A bit of shameless self-plug: I built such a looper for chapter 9 of my book &quot;Digital Electronics for Musicians&quot;, where overdubbing both forward and backward is possible, without getting distortion. In the 2nd edition of the book, the project is built with a Bela, as a stomp box. here's the chapter's webpage, in case you are interested <a href="https://link.springer.com/chapter/10.1007/979-8-8688-0394-9_9" rel="nofollow">https://link.springer.com/chapter/10.1007/979-8-8688-0394-9_9</a> and here's the source code of the first edition <a href="https://github.com/Apress/digital-electronics-for-musicians" rel="nofollow">https://github.com/Apress/digital-electronics-for-musicians</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio/6</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Thu, 12 Dec 2024 07:08:59 GMT</pubDate></item><item><title><![CDATA[Reply to Distortion when overdubbing audio on Thu, 12 Dec 2024 11:20:41 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/blades_prod">@Blades_Prod</a> said:</p>
<blockquote>
<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> thank you for your reply! I tried using the limiter and reduced the volume using [*~] however, this did not fix the issue. Overdubbing 'Track 1' does not have any distortion, but the rest do even though it's the exact same code in each track's sub patch. I genuinely don't know what else I can try lol.</p>
</blockquote>
<p>In the patch you posted you are not overdubbing in Track 1 I think, as there is no feedback from [tabread4~] to [tabwrite~].</p>
<p>You seem to have a large gain on your [adc~] input...... 15 loadbanged to the input.<br />
Maybe that is correct?... but..? 15 is a massive amount of gain and could be the source of your problem.</p>
<p>If you turn your track modules into abstractions then you will be able to see your input meters while you are working..... like this... <a href="/uploads/files/1733992597252-wall.zip">wall.zip</a><br />
The disadvantage (maybe) is that they will all be the same.... change one and they will all change.<br />
The $1 within [track] is the argument for the abstraction...... 1 2 3 4 for the track numbers.<br />
I have added an output meter as well, and because they are all the same they now all have feedback from [tabread4~] to [tabwrite~] (overdubbing).<br />
You might be better able to see what is happening on the meters as you work.</p>
<p>The array is overwritten on every pass, so I cannot see why it should be stable for 3 overdubs and then suddenly distort on the 4th.</p>
<p>P.S. I noticed with your original patch that the input gain 15 did not seem to have loadbanged in every track sub-patch.  Very strange.</p>
<p>No promotion.... I have just found that I did update to Pd Vanilla a looper that I built for a client back in the days of Pd extended.<br />
It has only one &quot;track&quot; and it uses a delay line instead of an array.  It has a visual metronome, and an audio click, and will automatically stop at the end of a pattern when the &quot;Cue seen&quot; button is clicked.<br />
It might have some features that you could use although translating to an array based looper would take some time.<br />
You might not get away with using the visual metronome for a class assignment.<br />
I had found that keeping the [adc~] input low enough was the solution for stopping the patch from climbing to distortion...... <a href="/uploads/files/1733994689063-pdloop.zip">PdLoop.zip</a><br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio/7</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Thu, 12 Dec 2024 11:20:41 GMT</pubDate></item><item><title><![CDATA[Reply to Distortion when overdubbing audio on Thu, 12 Dec 2024 08:54:30 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> said:</p>
<blockquote>
<p>P.S. I noticed with your original patch that the input gain 15 did not seem to have loadbanged in every track sub-patch.  Very strange.</p>
</blockquote>
<p>It's because some of the loadbangs are messages, not objects.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio/8</guid><dc:creator><![CDATA[jameslo]]></dc:creator><pubDate>Thu, 12 Dec 2024 08:54:30 GMT</pubDate></item><item><title><![CDATA[Reply to Distortion when overdubbing audio on Thu, 12 Dec 2024 09:12:33 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jameslo">@jameslo</a> Well spotted!  I am getting old and lazy.....<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14960/distortion-when-overdubbing-audio/9</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Thu, 12 Dec 2024 09:12:33 GMT</pubDate></item></channel></rss>