alexandre r. decoupigny wrote:
On 23/10/06, Charles Henry <[EMAIL PROTECTED]> wrote:
Greets, Alexandre
> i understand that atan2 outputs radiants and not degrees.
> if i divide atan2's output by pi and then multiply it with 180
> the results are not at all, what i imagine them to be,.
the result of this operation, should be between -180 and 180, right?
the result of the operation above, eg. the values that [atan2] is
outputting
are between -pi and plus pi... and i dont quite know how to translate this
result into 0-360.. and still i am facing a dilemma, which is what you
as zexy's author i would suggest: [rag2deg] and [wrap 0 360] (note that
there are several versions of [wrap]; the only one i know that would
wrap -180..180 into 0..360 is the one from zexy.
mf.adsr
IOhannes
_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list