[PD] big soundfiles

Mathieu Bouchard matju at artengine.ca
Fri Nov 26 10:04:57 CET 2010


On Fri, 26 Nov 2010, João Pais wrote:

> how about removing the expXXX numbers, and use only concrete floats? or is 
> there any software reason that doesn't let that happen?

I don't know what you mean.

If you mean stuff like 1.31072e+6, you have to know that all numbers are 
represented like that internally, and never like "1310720".

Except that in the internal float format, it's always with binary powers 
instead. The example above is written a lot more like 1.25*pow(2,20) 
internally. But really it's 0,10010100,01000000000000000000000 ; that is 
the + sign, then 127+20, then 1.25-1.

Those internal floats are somewhat more precise than the printed floats, 
because pd doesn't print enough digits.

  _______________________________________________________________________
| Mathieu Bouchard ------------------------------------- Aix-en-Provence


More information about the Pd-list mailing list