[PD] amplitude of modal synthesis

frablanc frablanc at laposte.net
Wed Apr 26 14:40:26 CEST 2006


The continous-time equation is : (d²x/dt²)/F² +(dx/dt)/(Q*F)+x
= E, where E stands for the excitation, F the "proper"
pulsation (not
the frequency) of the system, and Q the quality coefficient.

the derivations are discretized using :

 d²/dt² --> (Z - Z^(-1))Fe²,

 and d/dt --> (Z - Z^(-1))Fe/2 (Fe is the samplerate);

After some algebra, this leads to the difference equation:

x(n) = 1/(Fe²/F² + Fe/(2QF))* [ (2Fe²/F² - 1)x(n-1) +
(Fe/(2QF) - Fe²/F²)x(n-2) + E(n-1)];

anyway, i did a mistake in the biquad~ coefficients (the
excitator coefficient), and now highest pulsations are louder
than the lowest, but the difference is smaller ...

here is the new patch.
François.

 
> interesting problem, could you describe the equation you used?
> 
> cyrille
> 

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34 €/mn) ; tél : 08 92 68 13 50 (0,34€/mn)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: modale.pd
Type: application/octet-stream
Size: 1701 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060426/38d246ab/attachment.obj>


More information about the Pd-list mailing list