On Sun, May 16, 2010 at 2:18 PM, kurt
<sobrilliant@gmail.com> wrote:
something like this?...
<code>
Phasor phs => Gen9 gbuzz => dac;
30 => int partials;
0 => int index;
float coefs[partials*3];
while (index < partials) {
coefs << index $float;//which harmonic
coefs << 1.;//equal amplitude
coefs << 90.;//cosine = 90 degrees
index++;
}
coefs => gbuzz.coefs;
second => now;
</code>
I am not sure if that is exactly what gbuzz does but it at least gives you an idea of how to do additive synthesis with Gen9.
Hope that helps.
Later,
Kurt--
--------------------------------------------------
www.kurtkotheimer.com
--------------------------------------------------