Greetings,<br> Well, I used two [vline~] objects and it works fine, but only when I set the right input one of the one [expr~] to 0 and the other to 1, which both lead to division through 0 and the corresponding error message. I believe you mentioned this problem, Mr. Farnell, regarding your own patches. To what complications does this problem lead? Does anyone know how I could modify the equation to be rid of it? Why does the patch nonetheless work?<br>
<br>Many thanks,<br>Stephan<br><div class="gmail_quote">On Sat, Jun 4, 2011 at 12:54 PM, Andy Farnell <span dir="ltr"><<a href="mailto:padawan12@obiwannabe.co.uk">padawan12@obiwannabe.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
<br>
[vline~] is versatile :) It can be used to solve many problems<br>
with envelopes. Also, don't be scared to use two vlines if<br>
it makes the problem easier to understand, their good time accuracy<br>
ensures they will do what you expect most times.<br>
<br>
<br>
On Sat, 4 Jun 2011 01:22:34 +0200<br>
<div><div></div><div class="h5">Stephan Elliot Perez <<a href="mailto:dreamoftheshoreofanotherworld@gmail.com">dreamoftheshoreofanotherworld@gmail.com</a>> wrote:<br>
<br>
> Thanks for your response. I tried to apply the branching principal using<br>
> the equation from the [exact-ead~] by having the envelope go to 1 and then<br>
> to 2 instead of 0, using min 1 and max 1 to create a branch, using an<br>
> expression to convert the ascending numbers over 1 into descending numbers<br>
> under 1, and then jumping to 0. I think the problem is that, during the<br>
> switches, two 1s are sent at the same time, leading to a 2 (as seen in the<br>
> graph), where I actually need a 0...<br>
><br>
> -Stephan<br>
><br>
> On Mon, May 30, 2011 at 8:34 PM, Andy Farnell <<a href="mailto:padawan12@obiwannabe.co.uk">padawan12@obiwannabe.co.uk</a>>wrote:<br>
><br>
> ><br>
> ><br>
> ><br>
> > You might be able to easily get that behaviour by<br>
> > quickly editing the example I gave you.<br>
> ><br>
> > The maths is really geometry.<br>
> ><br>
> > There are a few things that can be done as time domain<br>
> > transforms when thinking about envelopes and suchlike<br>
> > in this way.<br>
> ><br>
> > 1) Flip it around zero with [*~ -1]<br>
> > 2) Invert arithmetically wrt 1.0 using [sig~ 1][-~]<br>
> > 3) Get the [min~] or the [max~] wrt another value<br>
> > 4) Clamp at a value using [clip~] ... is special case of (3)<br>
> > 5) Shift by an amount using [-~] or [+~]<br>
> > 6) Scale by some factor with [*~]<br>
> ><br>
> > IIRC the idiom for a two stage envelope like that is<br>
> > to use [min~]/[max~] to create a split point and treat<br>
> > each of the two branches differently (you can do piecewise<br>
> > waveform construction the same way).<br>
> ><br>
> > If you want time symmetry then have the [vline~] go to 1.0<br>
> > and back to [0.0] and just use one of the branches.<br>
> ><br>
> ><br>
> ><br>
> > On Mon, 30 May 2011 18:45:55 +0200<br>
> > Stephan Elliot Perez <<a href="mailto:dreamoftheshoreofanotherworld@gmail.com">dreamoftheshoreofanotherworld@gmail.com</a>> wrote:<br>
> ><br>
> > > Greetings,<br>
> > > Thank you for your responses. I tried your suggestion, hardoff, and<br>
> > > the result is the attached [ead-reverse~]. Unfortunately, the expression<br>
> > > behaves differently with this [vline~]-construction as with the<br>
> > [phasor~].<br>
> > > Here, if 1 is entered into the right input of [expr~], the result is an<br>
> > > envelope whose steepness becomes exponentially smaller while ascending<br>
> > and<br>
> > > exponentially greater while descending (if near 0, the opposite form is<br>
> > > produced and values between 1 and 0 produce a divided, confused form). I<br>
> > > however wish to produce an envelope that becomes exponentially steeper<br>
> > both<br>
> > > ascending and descending.<br>
> > > My problem with this [expr~] as well as with Mr. Farnell's patches<br>
> > is<br>
> > > that I do not quite understand the math behind them. Any ideas?<br>
> > ><br>
> > > Best regards,<br>
> > > Stephan Elliot Perez<br>
> > ><br>
> > ><br>
> > > On Fri, May 27, 2011 at 5:54 PM, hard off <<a href="mailto:hard.off@gmail.com">hard.off@gmail.com</a>> wrote:<br>
> > ><br>
> > > > instead of the [phaser~], send a [line~] (or [vline~]) signal.<br>
> > > ><br>
> > > > for example:<br>
> > > ><br>
> > > > [1, 0.5 500, 0 1000 500(<br>
> > > > |<br>
> > > > [vline~]<br>
> > > ><br>
> > > ><br>
> > > > like most of my patches, i don't think i originally made that one,<br>
> > someone<br>
> > > > else posted it, and i just copied. ;)<br>
> > > > must have been a long time ago though, cos i barely remember it.<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > On Sat, May 28, 2011 at 12:24 AM, Stephan Elliot Perez <<br>
> > > > <a href="mailto:dreamoftheshoreofanotherworld@gmail.com">dreamoftheshoreofanotherworld@gmail.com</a>> wrote:<br>
> > > ><br>
> > > >> Greetings,<br>
> > > >> I wish to produce a wave form with the opposite form of the<br>
> > normal<br>
> > > >> ead~ wave (the curves become exponentially steeper instead of<br>
> > flatter),<br>
> > > >> which I can achieve by entering a negative number into the phasor in<br>
> > hard<br>
> > > >> off's exact-ead~ patch, which I downloaded from the archive. However,<br>
> > I<br>
> > > >> still want to be able to independently change the length of the<br>
> > ascent,<br>
> > > >> decline, and distance between waves as is possible with ead~. Does<br>
> > anyone<br>
> > > >> know how I could do this, or possibly have access to an<br>
> > abstraction-version<br>
> > > >> of ead~?<br>
> > > >><br>
> > > >> Best regards,<br>
> > > >> Stephan<br>
> > > >><br>
> > > >><br>
> > > >><br>
> > > >> _______________________________________________<br>
> > > >> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> > > >> UNSUBSCRIBE and account-management -><br>
> > > >> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
> > > >><br>
> > > >><br>
> > > ><br>
> ><br>
> ><br>
> > --<br>
> > Andy Farnell <<a href="mailto:padawan12@obiwannabe.co.uk">padawan12@obiwannabe.co.uk</a>><br>
> ><br>
> > _______________________________________________<br>
> > <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> > UNSUBSCRIBE and account-management -><br>
> > <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
> ><br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Andy Farnell <<a href="mailto:padawan12@obiwannabe.co.uk">padawan12@obiwannabe.co.uk</a>><br>
</div></div></blockquote></div><br>