[chuck-users] gbuzz Gen11

kurt sobrilliant at gmail.com
Mon May 17 13:06:48 EDT 2010


Whoops...
Try put that 'index++' at the beginning of the while loop (we want the
fundamental=1 not 0).
Also, it seems that Gen9 tops out at 17 harmonics?  Or maybe I am hearing
some kind of foldover/aliasing thing here.  Try different values for
partials to hear what I mean.
Later

On Sun, May 16, 2010 at 2:18 PM, kurt <sobrilliant at 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
>
>
> On Sun, May 16, 2010 at 1:11 PM, Brutus Gates <brutusgates at gmail.com>wrote:
>
>> 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 at lists.cs.princeton.edu
>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>>
>
>
>
> --
> --------------------------------------------------
> www.kurtkotheimer.com
> --------------------------------------------------
>



-- 
--------------------------------------------------
www.kurtkotheimer.com
--------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20100517/22ef04b9/attachment.htm>


More information about the chuck-users mailing list