Csound Csound-dev Csound-tekno Search About

Re: pitch type opcode

Date2007-08-21 20:06
FromVictor Lazzarini
SubjectRe: pitch type opcode
I don't think there is. I was looking for it the
other day. But it's such a simple conversion, you
can do a UDO for it.

Victor
>
>
> Ok - I'm tired of looking - I've been searching the manual
> hoping to   find a convenient opcode for converting a MIDI
> note number into a   frequency such as
>
> iPitch   notetohz    60
>
> There has to be an existing opcode that handles this type
> of   request?  I'm just lost amongst the large list right?
>
> To do this, I've just been using the following, which is
> unsightly at   best.
>
> iPitch    =     8.17579891564 * exp(0.0577622650 * p4)
>
>
> greg
>