I'm about to start writing a base class for additive synthesis in chuck,
with overrideable methods to calculate sample-specific harmonic frequency,
harmonic amplitude, and number of harmonics. I would then spork all the
harmonics with each knowing its own harmonic number and each would go into
a per-sample loop adjusting frequency and amplitude by calling these
overrided methods at each step.

I'm wondering if anyone else has approached additive synthesis and if so,
if you used a different technique, and especially if you'd be willing to
share your code.

Forrest
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

Reply via email to