hello,
does sinesum automatically offset the phase of each partial by 180º?
regards, Alexandre Matheson amatheso@alcor.concordia.ca iChat: ealx@mac.com
Hallo, alexandre matheson hat gesagt: // alexandre matheson wrote:
does sinesum automatically offset the phase of each partial by 180º?
No, every partial starts with phase=0. You can see for yourself with:
sinesum 256 1 sinesum 256 0 1 sinesum 256 0 0 1 sinesum 256 0 0 0 1 sinesum 256 0 0 0 0 1 etc.
sinesum is just a sum of sines. ;)
Frank Barknecht _ ______footils.org_ __goto10.org__
Aha! explains why I can't make triangle waves with sinesum. I guess
I'll just use the trick from Miller's Pink Floyd example.
On 8-Apr-06, at 7:56 PM, Frank Barknecht wrote:
Hallo, alexandre matheson hat gesagt: // alexandre matheson wrote:
does sinesum automatically offset the phase of each partial by 180º?
No, every partial starts with phase=0. You can see for yourself with:
sinesum 256 1 sinesum 256 0 1 sinesum 256 0 0 1 sinesum 256 0 0 0 1 sinesum 256 0 0 0 0 1 etc.
sinesum is just a sum of sines. ;)
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
regards, Alexandre Matheson amatheso@alcor.concordia.ca iChat: ealx@mac.com
However, if you wish to invert the phase for a given partial, simply prefix it with a '-':
sinesum 256 1 -0.5 0.333 -0.25
for instance - each negative partial is flipped 180º.
(Too bad there's no way to make intermediate phases with such a simple statement - you'd have to do that by hand with a counter & a formula.)
-david
On 4/8/06, Frank Barknecht fbar@footils.org wrote:
Hallo, alexandre matheson hat gesagt: // alexandre matheson wrote:
does sinesum automatically offset the phase of each partial by 180º?
No, every partial starts with phase=0. You can see for yourself with:
sinesum 256 1 sinesum 256 0 1 sinesum 256 0 0 1 sinesum 256 0 0 0 1 sinesum 256 0 0 0 0 1 etc.
sinesum is just a sum of sines. ;)
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list