[PD] mtof does cents (hooray!) suggestion to state that in the helpfile

Christof Ressi info at christofressi.com
Fri Jun 25 22:30:34 CEST 2021


> or maybe another case of limitation on the display-side of things?
This.

Also, all numbers in Pd are 32-bit floats while all numbers in JS are 
64-bit doubles.

Christof

On 25.06.2021 21:27, hans w. koch wrote:
> today to my amazement, i discovered, that the midi decimals in mtof equal cents :-)
> sorry, for stating the obvious. better late then never, at least for me…i literally hit my head when i recognized this.
> i´ve searched the archives for "mtof cents” and didn´t find a mention of this.
>
> now that i´ve outed myself as a dummie, forward on with one suggestion:
> wouldn´t it be helpful for future slowfoxes like me, to mention that somehow in mtofs helpfile?
> at the moment it reads: You can specify microtonal pitches as in "69.5" (a quarter tone higher than 69).
> my suggestion would be to add: The decimals specify cents as in .01 = 1 cent.
>
> further question:
> i am working in a recent pd vanilla double and was expecting to see more decimals
> e.g.
> pd: 69.031 into mtof gives 440.789
> javascript: 440 + 3.1 cent gives: 440.78858311490677
> its not that i would claim to hear a difference between 440.789 and 440.7885 hz, but i could imagine cases, where working further these roundings accumulate.
> or maybe another case of limitation on the display-side of things?
>
> best
> hans
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list





More information about the Pd-list mailing list