<?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[Clicking noise when volume changes]]></title><description><![CDATA[<p>I'm relatively new to pd and new to this forum, so thank you for taking time to take a look at my patch:</p>
<p>I'm building this sequencer that is controllable via touchOSC and I want to mute certain steps of the sequence. So I added an array with values either 0 or 1 for the single sequence steps to be muted or not. So now, there is this clicking noise every now and then when the &quot;mute&quot; value changes. Is there an easy fix for this?</p>
<p>I'm running the patch at 48kHz.</p>
<p><a href="/uploads/files/1553282775424-click_test.pd">click_test.pd</a></p>
<p><img src="/uploads/files/1553282828404-patch.jpg" alt="patch.JPG" class="img-responsive img-markdown" /></p>
<p>Thanks for any help!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11970/clicking-noise-when-volume-changes</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 07:28:54 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/11970.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Mar 2019 19:28:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Clicking noise when volume changes on Fri, 22 Mar 2019 19:28:41 GMT]]></title><description><![CDATA[<p>I'm relatively new to pd and new to this forum, so thank you for taking time to take a look at my patch:</p>
<p>I'm building this sequencer that is controllable via touchOSC and I want to mute certain steps of the sequence. So I added an array with values either 0 or 1 for the single sequence steps to be muted or not. So now, there is this clicking noise every now and then when the &quot;mute&quot; value changes. Is there an easy fix for this?</p>
<p>I'm running the patch at 48kHz.</p>
<p><a href="/uploads/files/1553282775424-click_test.pd">click_test.pd</a></p>
<p><img src="/uploads/files/1553282828404-patch.jpg" alt="patch.JPG" class="img-responsive img-markdown" /></p>
<p>Thanks for any help!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11970/clicking-noise-when-volume-changes</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11970/clicking-noise-when-volume-changes</guid><dc:creator><![CDATA[pestopasta]]></dc:creator><pubDate>Fri, 22 Mar 2019 19:28:41 GMT</pubDate></item><item><title><![CDATA[Reply to Clicking noise when volume changes on Fri, 22 Mar 2019 20:26:18 GMT]]></title><description><![CDATA[<p>yep, there's several ways to do it, but you can start by putting a message box in front of both you line~ objects with the message $1 5</p>
<p>[tabread mutes]<br />
|<br />
[$1 5 (<br />
|<br />
[line~ ]</p>
<p>this should make the volume ramp up or down over five milliseconds when it changes. the line~ object will change to the new value over the time specified by the second number in the list at the left inlet.</p>
<p>the clicks you're getting now happen when the osc~ output is far from 0 at the block boundaries. the line~ objects change their output abruptly at the block boundaries and the sound of the sine wave going from some value to 0 immediately sounds like a click transient. with a 5ms time value, the line~ will instead wait for a block boundary, and then begin changing to the new value over 5ms.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11970/clicking-noise-when-volume-changes/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11970/clicking-noise-when-volume-changes/2</guid><dc:creator><![CDATA[LarsXI]]></dc:creator><pubDate>Fri, 22 Mar 2019 20:26:18 GMT</pubDate></item><item><title><![CDATA[Reply to Clicking noise when volume changes on Fri, 22 Mar 2019 21:05:39 GMT]]></title><description><![CDATA[<p>thanks, that makes sense! this helps a ton.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11970/clicking-noise-when-volume-changes/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11970/clicking-noise-when-volume-changes/3</guid><dc:creator><![CDATA[pestopasta]]></dc:creator><pubDate>Fri, 22 Mar 2019 21:05:39 GMT</pubDate></item><item><title><![CDATA[Reply to Clicking noise when volume changes on Sun, 05 May 2019 16:03:54 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/larsxi">@LarsXI</a>, I don't understand how this works. The help file for line says it takes a pair of numbers and ramps from one to the other.</p>
<p>But you're passing it a pair of numbers, and it changes from the current value (which the help file alleges it discards when done) to the first parameter, while using the second parameter as a duration, not a target value. How can this be?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11970/clicking-noise-when-volume-changes/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11970/clicking-noise-when-volume-changes/4</guid><dc:creator><![CDATA[Faranta]]></dc:creator><pubDate>Sun, 05 May 2019 16:03:54 GMT</pubDate></item><item><title><![CDATA[Reply to Clicking noise when volume changes on Sun, 05 May 2019 19:12:08 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/faranta">@Faranta</a> When you trigger it with a new pair it slides to the new value in a given time and stays there until you send it another pair.  So if it is at 0 and you send in [1 1000( it will &quot;go to&quot; 1 in 1000msecs.  Then send it [0.5 2000( and it will slide from 1 (last value) to 0.5 in 2 seconds.<br />
<a href="/uploads/files/1557083505873-line-demo.pd">line-demo~.pd</a></p>
<p>[vline~] does the same thing but......... it can be a better option as it &quot;travels&quot; across block boundaries.... it interpolates and can start and stop with sub-sample accuracy.<br />
See doc/3.audio.examples/C04.control.to.signal.pd (the Pd/doc folder in your installation) for an audible demonstration of the difference.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11970/clicking-noise-when-volume-changes/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11970/clicking-noise-when-volume-changes/5</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sun, 05 May 2019 19:12:08 GMT</pubDate></item></channel></rss>