<?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[Twice triggered notes]]></title><description><![CDATA[<p>i have built a simple synth in pd with a very simple envelope (using the line command) my problem is that notes are being triggered twice, once when the note is pressed down and once when let go, causing the envelope to be triggered twice. what am i doing wrong?<br />
<br />
<a href="http://www3.sympatico.ca/alexandre.matheson/alex/simplesynth.pd" rel="nofollow">www3.sympatico.ca/alexandre.matheson/alex/simplesynth.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/52/twice-triggered-notes</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 10:38:15 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/52.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Jul 2004 08:32:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Twice triggered notes on Sat, 24 Jul 2004 08:32:37 GMT]]></title><description><![CDATA[<p>i have built a simple synth in pd with a very simple envelope (using the line command) my problem is that notes are being triggered twice, once when the note is pressed down and once when let go, causing the envelope to be triggered twice. what am i doing wrong?<br />
<br />
<a href="http://www3.sympatico.ca/alexandre.matheson/alex/simplesynth.pd" rel="nofollow">www3.sympatico.ca/alexandre.matheson/alex/simplesynth.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/52/twice-triggered-notes</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/52/twice-triggered-notes</guid><dc:creator><![CDATA[ealx]]></dc:creator><pubDate>Sat, 24 Jul 2004 08:32:37 GMT</pubDate></item><item><title><![CDATA[Reply to Twice triggered notes on Sun, 25 Jul 2004 02:59:40 GMT]]></title><description><![CDATA[<p>what's happening is this; <br />
when a note is hit a message is sent with the note number, velocity, channel, etc..., and when when it is released all of the same information is sent again, with the important difference that the velocity is zero.<br />
In your current patch the velocity is used to trigger the envelope, regardless of its value. To stop the double notes you need to filter out any velocities whose value is zero.<br />
<br />
A easy way to do that is with the &quot;select&quot; (or &quot;sel&quot;) object.<br />
connect the second output of your &quot;notein&quot; with the first input of a &quot;select 0&quot;, then connect the second output of the &quot;select 0&quot; to the &quot;t&quot; message box.<br />
<br />
(also check out the trigger object box, it will work better and be more flexible that the &quot;t&quot; message box that your patch currently uses)<br />
<br />
hope that all helps.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/52/twice-triggered-notes/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/52/twice-triggered-notes/2</guid><dc:creator><![CDATA[tenthousand]]></dc:creator><pubDate>Sun, 25 Jul 2004 02:59:40 GMT</pubDate></item><item><title><![CDATA[Reply to Twice triggered notes on Sun, 25 Jul 2004 17:23:27 GMT]]></title><description><![CDATA[<p>thanks, I'll try it out right now<br />
{ : -))</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/52/twice-triggered-notes/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/52/twice-triggered-notes/3</guid><dc:creator><![CDATA[ealx]]></dc:creator><pubDate>Sun, 25 Jul 2004 17:23:27 GMT</pubDate></item><item><title><![CDATA[Reply to Twice triggered notes on Mon, 26 Jul 2004 10:10:09 GMT]]></title><description><![CDATA[<p>hello<br />
<br />
an easiest way to avoid triggering on note off is to use the stripnote object.<br />
<br />
it doesz exactly what you want. it supress all note off message and let note on goes thru.<br />
<br />
have a look at the reference help for the stripnote..<br />
<br />
cheers <br />
glo</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/52/twice-triggered-notes/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/52/twice-triggered-notes/4</guid><dc:creator><![CDATA[mobil12]]></dc:creator><pubDate>Mon, 26 Jul 2004 10:10:09 GMT</pubDate></item></channel></rss>