-
Jean Sapristi
Hello,
Anybody know what is the meaning of this value ?
What kind of formula is it supposed to define ?I try to achieve the French translation and i'm a bit lost with that.
Thanks.
-
Jean Sapristi
Hello,
With this message : [foo cosinesum 64 1.(
all values of foo array are set to 1.
While with this one : [foo sinesum 64 1.(
i have the expected simple sinus drawn ; is it a bug ?
(i'm os X.4.11 with Pd-vanilla 0.43-1test5)
-
-
Jean Sapristi
Hello,
wow, thanks, i should have never found !
-
Jean Sapristi
Hello,
sorry, it is in the properties of the number UI [nbx] (Pd-vanilla).
-
Jean Sapristi
Hello mod,
you are right, and and after a good night it seems obvious why :
cosinesum : a0 * cos (0. * x) + a1 * cos (1. * x) + a2 * cos (2. * x) + ... + an * cos (n * x)
sinesum : b0 * sin (0. * x) + b1 * sin (1. * x) + b2 * sin (2. * x) + ... + bn * sin (n * x)for cosinesum, a0 * cos (0) = a0 ; while for sinesum : b0 * sin (0) is ALWAYS 0 ; so you don't have to give the b0 amplitude, list of amplitudes start with b1 in case of sinesum.
it is not a "bug", it is normal behavior ; i'm not sure it is a very intuitive approach ; better to keep the same logic (for math noob like me) ? ; but anyway it seems this is the common way ...
-
Jean Sapristi
Hello,
quick look in sources and it seems there is no DC in case of sinus as in this applet ...
http://lumimath.univ-mrs.fr/~jlm/cours/fourier/fourier1.htm
... i don't know why ; anybody ?
Anyway thanks for reply.
-
Jean Sapristi
Hello,
i used maxMSP during several years to explore generative music ;
i switched serously with pureData last week because :- pureData's BSD licence and libpd project ; In DAWs, you can't code your own algorithm and so (machine-learning, IA ...) ; with M4L perhaps (i don't really know it) but you are not free to reuse what you do everywhere you want ; Of course that's something you don't think about when you start learning but, the day you will code externals in C/C++, it is.
- pureData run on linux ; actually i'm a macintosh user ; but as i'm fed up to give money each year for planned obsolescence i only buy second-hand computer now and pureData is perfect for that.
my 2 cents.