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
On Sun, May 16, 2010 at 1:11 PM, Brutus Gates
Hi,
Can anyone give a hint to a noob about how to use GenX to implement gbuzz or Gen11? _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- -------------------------------------------------- www.kurtkotheimer.com --------------------------------------------------