[PD] waveform question

Funs Seelen via Pd-list pd-list at lists.iem.at
Tue Jul 1 11:59:31 CEST 2014


Hi Jonathan,

On Sat, Jun 28, 2014 at 9:40 PM, Jonathan Wilkes via Pd-list <
pd-list at lists.iem.at> wrote:

>
> Hi list,
>      If I take a circle, cut it in half horizontally, then move the bottom
> half r*2 units to the right, what is the waveform that results?
>


A phase corrected triangle wave at least looks like half a circle (the
green wave: http://funsseelen.eu/images/gnuplot_100_1024.png).

Partials for a normal triangle wave:
1/(1^2) * sin(x) +
0 +
-1/(3^2) * sin(3x) +
0 +
1/(5^2) * sin(5x) +
0 +
-1/(7^2) * sin(7x)
et cetera.. --> infinity

Partials for a phase corrected triangle wave:
1/(1^2) * sin(x) +
0 +
1/(3^2) * sin(3x) +
0 +
1/(5^2) * sin(5x) +
0 +
1/(7^2) * sin(7x) +
et cetera.. --> infinity

(http://funsseelen.eu/C/fourier_series/triangle.c /
http://funsseelen.eu/C/fourier_series/triangle2.c C code to calculate
samples that create both wave forms)

Regards,

Funs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140701/377fc784/attachment.html>


More information about the Pd-list mailing list