<?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[ADSR from scratch]]></title><description><![CDATA[<p>Hi, this is my first post on this forum. Sorry if I am asking about something that has been commented on before.<br />
I tried to use the ADSR envelope in plugdata, but the release stage starts after the attack and decay stages are finished, which is not what I need Because of that, I decided to build my ADSR from scratch, and is working as I want. The only thing I don´t like is that the attack, decay and release stages are linear, directly from the vline object inside my custom subpatch.<br />
How can I add a convex attack stage, and concave decay and release stages? Within my patch, all the different stages are launched with a single vline object. If I apply some exponential law, I am applying it to every stage, and that's not correct.<br />
Could someone help me to find documentation for an ADSR patch where I can see how it has been built?. I tried to open the ADSR object in Plugdata, but it has not been possible.</p>
<p>Thanks very much for your help!!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch</link><generator>RSS for Node</generator><lastBuildDate>Mon, 04 May 2026 07:03:36 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/15867.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 May 2026 05:02:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ADSR from scratch on Fri, 01 May 2026 05:02:34 GMT]]></title><description><![CDATA[<p>Hi, this is my first post on this forum. Sorry if I am asking about something that has been commented on before.<br />
I tried to use the ADSR envelope in plugdata, but the release stage starts after the attack and decay stages are finished, which is not what I need Because of that, I decided to build my ADSR from scratch, and is working as I want. The only thing I don´t like is that the attack, decay and release stages are linear, directly from the vline object inside my custom subpatch.<br />
How can I add a convex attack stage, and concave decay and release stages? Within my patch, all the different stages are launched with a single vline object. If I apply some exponential law, I am applying it to every stage, and that's not correct.<br />
Could someone help me to find documentation for an ADSR patch where I can see how it has been built?. I tried to open the ADSR object in Plugdata, but it has not been possible.</p>
<p>Thanks very much for your help!!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch</guid><dc:creator><![CDATA[JuanMadrid]]></dc:creator><pubDate>Fri, 01 May 2026 05:02:34 GMT</pubDate></item><item><title><![CDATA[Reply to ADSR from scratch on Fri, 01 May 2026 05:15:43 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/juanmadrid">@JuanMadrid</a> Hello.  You can use the [curve~] external, or if natural curves are sufficient then square the output of [vline~]......<br />
See this thread....... <a href="https://forum.pdpatchrepo.info/topic/9819/curved-adsr-envelope/3" rel="nofollow">https://forum.pdpatchrepo.info/topic/9819/curved-adsr-envelope/3</a></p>
<p>And yes... you cannot open that adsr object because it is not a patch.  It is a compiled object like [vline~].<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Fri, 01 May 2026 05:15:43 GMT</pubDate></item><item><title><![CDATA[Reply to ADSR from scratch on Fri, 01 May 2026 18:38:06 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/juanmadrid">@JuanMadrid</a> Maybe use a 2nd [vline~] to sequence the exponent? I think you might have to do something similar to adjust the transition to/from the sustain level.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/3</guid><dc:creator><![CDATA[jameslo]]></dc:creator><pubDate>Fri, 01 May 2026 18:38:06 GMT</pubDate></item><item><title><![CDATA[Reply to ADSR from scratch on Fri, 01 May 2026 21:37:28 GMT]]></title><description><![CDATA[<p>What version of PlugData do you have?</p>
<p>If you have the last stable version 0.9.3 this is what you have and shows you how to set the envelope for immediate release or not</p>
<p><img src="/uploads/files/1777671335460-screenshot-2026-05-01-at-18.35.29.png" alt="Screenshot 2026-05-01 at 18.35.29.png" class="img-responsive img-markdown" /></p>
<p>A new version of ELSE and plugdata is already up as part of an experimental 0.9.4  PlugData release and things changed a bit.</p>
<p>So there's nothing really wrong with the object, you just didn't check the help file carefully <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/15867/adsr-from-scratch/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/4</guid><dc:creator><![CDATA[porres]]></dc:creator><pubDate>Fri, 01 May 2026 21:37:28 GMT</pubDate></item><item><title><![CDATA[Reply to ADSR from scratch on Fri, 01 May 2026 21:42:22 GMT]]></title><description><![CDATA[<p>this is what I have for the upcoming version, a more versatile and sophisticated time management system</p>
<p><img src="/uploads/files/1777671578867-screenshot-2026-05-01-at-18.38.57.png" alt="Screenshot 2026-05-01 at 18.38.57.png" class="img-responsive img-markdown" /></p>
<p>I'm really sorry that I end up changing things a bit, but as long as PlugData is still at an experimental 0.x.x version I am doing this in favor of improving and enhancing the objects. When PlugData 1.0 is finally out (and I can't wait for Tim to do that), I made a pact with the devils that I should just stick to whatever bad decisions I had at the time and let it go...</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/5</guid><dc:creator><![CDATA[porres]]></dc:creator><pubDate>Fri, 01 May 2026 21:42:22 GMT</pubDate></item><item><title><![CDATA[Reply to ADSR from scratch on Fri, 01 May 2026 22:11:24 GMT]]></title><description><![CDATA[<p>Note that the new stuff I pointed above are already part of the experimental/nightly builds of PlugData.</p>
<p>As for designing envelopes, I have the &quot;Live Electronics Tutorial&quot;, an extensive tutorial and all things ELSE and Pd, which is also distributed as part of the PlugData documentation. I have an example on how to build exponential envelopes over there, see</p>
<p>here's a screenshot you'll find in chapter 17 <img src="/uploads/files/1777673380106-screenshot-2026-05-01-at-19.09.32.png" alt="Screenshot 2026-05-01 at 19.09.32.png" class="img-responsive img-markdown" /></p>
<p>I also have added something like this to the help file of [slop~]</p>
<p><img src="/uploads/files/1777673476351-screenshot-2026-05-01-at-19.08.42.png" alt="Screenshot 2026-05-01 at 19.08.42.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/6</guid><dc:creator><![CDATA[porres]]></dc:creator><pubDate>Fri, 01 May 2026 22:11:24 GMT</pubDate></item><item><title><![CDATA[Reply to ADSR from scratch on Fri, 01 May 2026 22:12:54 GMT]]></title><description><![CDATA[<p>of course [else/adsr~] is much more powerful and offers more exponential curves. I find the one pole filter solution not that great, but I haven't bothered on trying to implement something like that in Vanilla</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/7</guid><dc:creator><![CDATA[porres]]></dc:creator><pubDate>Fri, 01 May 2026 22:12:54 GMT</pubDate></item><item><title><![CDATA[Reply to ADSR from scratch on Sun, 03 May 2026 13:43:08 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/porres">@porres</a> Yes, you are right. I didn´t enter in the pd release patch to see the additional explanation. Thanks very much!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/8</guid><dc:creator><![CDATA[JuanMadrid]]></dc:creator><pubDate>Sun, 03 May 2026 13:43:08 GMT</pubDate></item><item><title><![CDATA[Reply to ADSR from scratch on Sun, 03 May 2026 14:26:57 GMT]]></title><description><![CDATA[<p>A lot of useful information here to explore and try during the next week.<br />
Thanks very much!<br />
Juan</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/9</guid><dc:creator><![CDATA[JuanMadrid]]></dc:creator><pubDate>Sun, 03 May 2026 14:26:57 GMT</pubDate></item><item><title><![CDATA[Reply to ADSR from scratch on Sun, 03 May 2026 14:56:14 GMT]]></title><description><![CDATA[<p>it was historically immediate release by default, but in that particular version I was trying to accommodate more features and kinda screwed up... and now it'll be back  immediate release with yet more features, so I was able to find a way to accommodate things.</p>
<p>It's hard to add features without breaking things.</p>
<p>By the way. I don't think [vline~] can be considered an envelope generator at all... you can do it, but it's a lot of hassle and it's only linear and very limited. For you to be able to deal with exponential curves and all the things I provide in my envelope generator is just virtually impossible with vanilla.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/10</guid><dc:creator><![CDATA[porres]]></dc:creator><pubDate>Sun, 03 May 2026 14:56:14 GMT</pubDate></item><item><title><![CDATA[Reply to ADSR from scratch on Mon, 04 May 2026 05:31:05 GMT]]></title><description><![CDATA[<p>Thanks for your answer. I have actually created an ADSR just with vline. I attach  the patch below ans it is working. The only problem is that is linear, and I would like to implement something similar to yiur solution with slope but now I am confused about how slop works so I need to try to unterstand hiw it works during this weeks.<br />
And you are right, to develope the ADSR with vline was complicated foir me. I spent several hours,</p>
<p><a href="/uploads/files/1777872653880-trying-to-understand-midi-keys.pd">Trying to understand midi keys.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15867/adsr-from-scratch/11</guid><dc:creator><![CDATA[JuanMadrid]]></dc:creator><pubDate>Mon, 04 May 2026 05:31:05 GMT</pubDate></item></channel></rss>