• lacuna

okok wasn't sure if my "as being said" sounded arrogant ... allright!

On the question, how to calculate exact: As far as I understand (not): Fixed point arithmetic can be exact but has no headroom.

posted in technical issues read more
• lacuna

@jameslo I'm not a native speaker, no offense intended.
Just was hoping, we would overcome those (non)issues, making courageous decisions or find some better workaround/patch/fix.
Some day, I am going to try the mentioned ones. I am learning, too, thank you all!!!

posted in technical issues read more
• lacuna

"[...] Any rational with a denominator that has a prime factor other than 2 will have an infinite binary expansion. This means that numbers that appear to be short and exact when written in decimal format may need to be approximated when converted to binary floating-point. For example, the decimal number 0.1 is not representable in binary floating-point of any finite precision; the exact binary representation would have a "1100" sequence continuing endlessly:

``````e = −4; s = 1100110011001100110011001100110011...,
``````

where, as previously, s is the significand and e is the exponent.

When rounded to 24 bits this becomes

``````e = −4; s = 110011001100110011001101,
``````

which is actually 0.100000001490116119384765625 in decimal. [...]"

And as being said here about SC and Arduino, and on the mailling-list on Max or JSON: Pd is not the only user-friendly (scripting/patching) language/environment that had to deal with this.

Althought backward-compabillity is the most precious thing
and long-term maintaince would become more complicated if PD single and double would differ in such an elementary part, my vote goes for more Pd64 developement, if I had a voice.

But for now, it seems like there are several easy experimental improvements, already doable when self-compiling Pd64!?

Also we could have a look (for %.14lg ) in the code of Katja's Pd-double, and Pd-Spagetties is double, too. (dev stopped, I never tried this)
@jancsika Is Purr-Data double now? https://forum.pdpatchrepo.info/topic/11494/purr-data-double-precision I don't know if or how they care about printing and saving.

posted in technical issues read more
• lacuna

yes

12 years ago:
[PD] why does PD round numbers? (in tables, in messageboxes, etc)
https://lists.puredata.info/pipermail/pd-list/2012-04/095892.html

posted in technical issues read more
• lacuna

@alexandros said:

``````[3.14\ <- this is a symbol (Ctl+4)
|
[f ]
|
[3.14\ <- this is a number atom (Ctl+3)
``````

Since 0.5? shortcut ctrl+4 has been replaced by the new list-box. Symbol-box has no shortcut anymore, it's still in the 'put-menu'.

posted in technical issues read more
• lacuna

@jameslo do you know these threads? Maybe they help:
https://forum.pdpatchrepo.info/topic/13710/how-to-calculate-with-higher-precision/5
https://forum.pdpatchrepo.info/topic/709/symbol-to-float-conversion/17

posted in technical issues read more
• lacuna

@WEIRD1

Oh my sorry! Loop-delay fixed:

posted in technical issues read more
• lacuna

@WEIRD1
Forgot to sum attack and hold-times, resulting in total delay for sustain-stage to start.

vline messages are
"go to 1 in A ms, wait for A+H ms then go to 0 in R ms"

posted in technical issues read more
• lacuna

@WEIRD1 said:

feel free to suggest

EDIT: better [del 200] to prevent getting stuck in instant invinite loops

posted in technical issues read more
• lacuna

@Dannmar said:

In Bela's documentation they refer as the object [rzero~ 1] to detect activity, but how could I turn that into a non-activity detector?

Maybe like this, but not sure, you have to try:

posted in I/O hardware diyread more

Internal error.

Oops! Looks like something went wrong!