[PD] cos~, feature or bug?

Frank Barknecht fbar at footils.org
Thu Feb 24 12:38:15 CET 2005

august hat gesagt: // august wrote:

> can someone please examine the attatched patch for me and see why I get
> WAY different values for [cos~] and [expr~ cos($v1)] ?

Because both expect input to be in different scales. the cos in expr
wants radians.

Try to input 1 and 3.14 =~ M_PI.

cos~ will output 1 at input 1, "expr~ cos()" will output almost 1 at
input 3.14.

 Frank Barknecht                               _ ______footils.org__
             _ __latest track: fqdn _ http://footils.org/cms/show/38

More information about the Pd-list mailing list