[PD] cosinesum vs sinesum in arrays

Alexandros Drymonitis adrcki at gmail.com
Wed Jan 29 21:02:10 CET 2014

When sending the cosinesum message to an array, don't you have to specify
the number of points too? And specifically a power of two? Plus, for a
cosine you have to specify the first partial to have zero amplitude and the
second an amplitude of 1 (or less). So the message should be something like
[; array999 cosinesum 1024 0 1(
First the name of the array, then the cosinesum function, table length and
partial strengths. Hope I got your question right..

On Wed, Jan 29, 2014 at 6:01 PM, Peter P. <p8rpp at aol.com> wrote:

> Dear List,
> not sure if I am getting something wrong here, but it seems that
> sending the message
> ; cosinesum array999 1
> does something different (besides an obvious phase shift between sine
> and cosine functions) to the resulting contents of that table:
> the first partial on cosinesum seems to be the DC component, while the
> first partial in sinesum is the, well, first partial.
> Accordingly, the second partials have double frequency in sinesum as
> in cosinesum.
> Perhaps this is intentional, but was just wondering...
> best, Peter
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140129/a3384dd0/attachment.htm>

More information about the Pd-list mailing list