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

hans w. koch hansw.koch at gmail.com
Fri Jun 25 23:28:19 CEST 2021


yes, of course :-)
i stated here for [div] and [mod]: https://lists.puredata.info/pipermail/pd-list/2020-09/128152.html
and on git: https://github.com/pure-data/pure-data/issues/1150


> Am 25.06.2021 um 23:20 schrieb Lucas Cordiviola <lucarda27 at hotmail.com>:
> 
>> not every object is double ready though in my experience.
> 
> It would be very useful if you tell whats not ready. Either here on the "list" or issues on https://github.com/pure-data/pure-data/issues
> 
> :)
> 
> Mensaje telepatico asistido por maquinas.
> 
> On 6/25/2021 6:01 PM, hans w. koch wrote:
>> yes, i am already using pd double.
>> not every object is double ready though in my experience.
>> sometimes hard to tell apart...
>> 
>> @alexandre: thanks for the offer to file a feature request for the helpfile change.
>> i can do it too, but wasn´t sure if i should flood the long list with this trivia.
>> 
>> best
>> hans
>> 
>>> Am 25.06.2021 um 22:41 schrieb Lucas Cordiviola <lucarda27 at hotmail.com>:
>>> 
>>>> Also, all numbers in Pd are 32-bit floats while all numbers in JS are 64-bit doubles.
>>> I might be missing something but Hans said he was using "vanilla double"
>>> 
>>> 
>>> --
>>> 
>>> Mensaje telepatico asistido por maquinas.
>>> 
>>> On 6/25/2021 5:30 PM, Christof Ressi wrote:
>>>>> 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
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Pd-list at lists.iem.at mailing list
>>>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>>> 
>>> 
>>> _______________________________________________
>>> 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