lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Decaying squiggle


From: Andrew Bernard
Subject: Re: Decaying squiggle
Date: Tue, 28 Jun 2016 02:28:17 -0700

Hi Jacques,

Indeed yes. The complexity comes in when you realise that once you have the function and it’s derivative - that is the easy part - you need to compute a set of bezier spline segments that approximate the function in order to use them in Postscript path creation. This is decidedly Not Simple (TM).

The code that was posted here is remarkable and very nicely done in this respect.

Thanks for your input.

Andrew



On 28 June 2016 at 7:04:46 PM, Jacques Menu Muzhic (address@hidden) wrote:

They show how to draw a decaying wave with:

y_damped = sin(2*pi*330*t).*exp(-t/tau);
 
I guess this could be done in Scheme, couldn’t it?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]