[PD] cos~, feature or bug?

august august at alien.mur.at
Thu Feb 24 16:14:17 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.

ok, this makes sense.  thanks frank, thanks ioannes.

but, maybe someone should update the help file for cos~.

right now it says " the cos~ object outputs the cosine of its signal
inlet"

best -august.




More information about the Pd-list mailing list