Csound Csound-dev Csound-tekno Search About

[Csnd] math speak

Date2013-03-15 13:47
Fromthorin kerr
Subject[Csnd] math speak
Dear list, oh... please help :)

does this:

o(n)=(y(n) + ax(n))tanh(x(n) + by(n)) + cx(n) + dy(n)

equate to this in csound speak?

aresult = ((iconst1 * acarrier) + amod) * tanh(acarrier + (iconst2 * amod)) + (iconst3 * acarrier) + (iconst4 * amod)

(a,b,c,d are constants)

Thorin