[PD] closest frequency in scale

Matthias Kronlachner m.kronlachner at student.tugraz.at
Wed May 23 10:21:09 CEST 2012


if you mean as specific scale the equal tempered you can use [ftom] to 
convert from frequency to midi note numbers.
then you round this number to integer and with [mtof] back to have a 
frequency value.

matthias

Am 23.05.12 10:29, schrieb flad chester:
> Hi list, im new with pd, i was thinking about which should be the best 
> way to implement this idea or maybe somebody has done something like 
> this before:
> Im controlling the frequencies of my grains with a random number 
> generator, but instead of controlling the frequencies directly i would 
> like to select the closest frequency in a specific scale for each 
> random value.
>
> how can i do this in pd?
>
>
> thanks in advance
>
> Flad
>
>
>
>
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->  http://lists.puredata.info/listinfo/pd-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120523/fb1c2ee4/attachment.htm>


More information about the Pd-list mailing list