[PD] Csound opcode Moogladder to Pd?

Julian Peterson julianpeterson at mac.com
Wed Aug 27 19:49:19 CEST 2008


Csound defines M_PI... from the manual:

Predefined Math Constant Macros

New in Csound 5.04 are predefined Math Constant Macros. The values  
defined are those found in the C header math.h, and are automatically  
defined when Csound starts and available for use in orchestras.

J


On Aug 27, 2008, at 5:47 AM, Martin Peach wrote:

> Frank Barknecht wrote:
>> Hallo,
>> Martin Peach hat gesagt: // Martin Peach wrote:
>>> ( I replaced 2*M_PI in the code with TWO_PI to avoid a multiply
>>> (compiler optimisation maybe does that already)).
>>
>> Did you define that yourself? My math.h doesn't have TWO_PI ...
>
> Yes. My math.h doesn't seem to have have M_PI either...
>
> Martin
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list





More information about the Pd-list mailing list