<?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[How to turn an [osc~ 440] on and off using a toggle?]]></title><description><![CDATA[<p>I have the following patch. But whenever I click on the toggle the sound is interrupted and then I can't turn it back on by clicking on the same toggle. How to solve it?</p>
<p>[toggle]<br />
|<br />
[osc~ 440]<br />
|<br />
[dac~]</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14336/how-to-turn-an-osc-440-on-and-off-using-a-toggle</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 18:34:05 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/14336.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 22 Apr 2023 20:06:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to turn an [osc~ 440] on and off using a toggle? on Sat, 22 Apr 2023 20:06:00 GMT]]></title><description><![CDATA[<p>I have the following patch. But whenever I click on the toggle the sound is interrupted and then I can't turn it back on by clicking on the same toggle. How to solve it?</p>
<p>[toggle]<br />
|<br />
[osc~ 440]<br />
|<br />
[dac~]</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14336/how-to-turn-an-osc-440-on-and-off-using-a-toggle</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14336/how-to-turn-an-osc-440-on-and-off-using-a-toggle</guid><dc:creator><![CDATA[lucassilveira]]></dc:creator><pubDate>Sat, 22 Apr 2023 20:06:00 GMT</pubDate></item><item><title><![CDATA[Reply to How to turn an [osc~ 440] on and off using a toggle? on Sat, 22 Apr 2023 20:34:51 GMT]]></title><description><![CDATA[<p>Use the toggle not as a frequency control, but rather as a volume control -- multiply the osc~ by the toggle.</p>
<p>More precisely: In a synthesizer, the thing that turns notes on and off is an envelope, controlling the volume. The idea of &quot;turning off the oscillator&quot; isn't the modular synthesis way. I guess... start with toggle-as-volume and then later discuss how to change that into an envelope.</p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14336/how-to-turn-an-osc-440-on-and-off-using-a-toggle/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14336/how-to-turn-an-osc-440-on-and-off-using-a-toggle/2</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Sat, 22 Apr 2023 20:34:51 GMT</pubDate></item><item><title><![CDATA[Reply to How to turn an [osc~ 440] on and off using a toggle? on Sat, 22 Apr 2023 21:51:41 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/lucassilveira">@lucassilveira</a> When you use the [toggle] to the left inlet of the [osc~ 440] you are changing its frequency...... to 1Hz when the [toggle] is on and 0Hz when it is off.<br />
You can hear neither.<br />
Two methods are shown below..<br />
BUT..... you should use the second, as <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ddw_music">@ddw_music</a> suggests..... because with the first method the oscillator will output 0Hz when the [toggle] is off...... but depending on when you toggled it off within its cycle it will be sending a DC signal between +1 and -1 which is bad for your speakers when sent to the [dac~]</p>
<p>I other circumstances you might want that though..... to freeze a bouncing ball animation for example.<br />
David.</p>
<p><img src="/uploads/files/1682199162307-capture.jpg" alt="Capture.JPG" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14336/how-to-turn-an-osc-440-on-and-off-using-a-toggle/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14336/how-to-turn-an-osc-440-on-and-off-using-a-toggle/3</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sat, 22 Apr 2023 21:51:41 GMT</pubDate></item><item><title><![CDATA[Reply to How to turn an [osc~ 440] on and off using a toggle? on Sat, 22 Apr 2023 23:55:43 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> ddw_music</p>
<p>This is awesome. I made this little change and it works.<br />
Thank you very much, guys. You're great.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14336/how-to-turn-an-osc-440-on-and-off-using-a-toggle/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14336/how-to-turn-an-osc-440-on-and-off-using-a-toggle/4</guid><dc:creator><![CDATA[romulovieira-me]]></dc:creator><pubDate>Sat, 22 Apr 2023 23:55:43 GMT</pubDate></item><item><title><![CDATA[Reply to How to turn an [osc~ 440] on and off using a toggle? on Sun, 23 Apr 2023 13:18:23 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> Works for me too <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/14336/how-to-turn-an-osc-440-on-and-off-using-a-toggle/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14336/how-to-turn-an-osc-440-on-and-off-using-a-toggle/5</guid><dc:creator><![CDATA[lucassilveira]]></dc:creator><pubDate>Sun, 23 Apr 2023 13:18:23 GMT</pubDate></item></channel></rss>