<div>
<div>I was thinking something like this.</div>
<div> </div>
<div> </div>
<div> </div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Chuckk Hubbard ha scritto:<br><br>> I agree that would be great.<br>> Incidentally, have you considered using canvases to draw your envelope?
<br>><br><br>nope. I ca't imagine how...<br>looking at the [cnv] help doesn't suggest me anything.<br><br>however, this is what I did: <a href="http://xaero.ath.cx/cms/en/adsr-new.html">http://xaero.ath.cx/cms/en/adsr-new.html
</a><br>it can be useful for graphing an ADSR, not for editing it.<br><br>><br>> I appreciate recently added datastructs new features.<br>><br>> however I think they still miss a big functionality:<br>
> often, to graphically represent a structure of data, are needed<br>> various<br>> type of calculations; it is pretty unuseful i.e. draw a polygon<br>> with all<br>> coordinates referred to 0,0 (object's center).
<br>><br>> in order to paint a simple adsr struct, in addition to the<br>> template, I<br>> have to create a "data-controller", which prepares *ALL* points of the<br>> adsr-graph (
e.g.: x1,y1,x2,y2,....), *NOT* only the a,d,s,r.<br>><br>> i guess this feature has been requested many times, but, wouldn't be<br>> better have the ability of making additions,subtractions,etc directly<br>
> inside the drawpolygon declaration?<br>><br>> in that case, plotting that adsr line it's just:<br>> [drawpolygon 0 900 0 0 a 100 (a+d) s (a+d+100) s (a+d+100+r) 0]<br>><br>> what pd developers says about this?
<br>><br>> --<br>> ciao<br>> Federico<br></blockquote></div>