Re: [PD] more about float limitation (was: weird float/add limitation)

2015-02-01 Thread Alexandre Torres Porres
Yeah, SC is double float, but they seem to round it up for some reason, maybe the same reason as Pd. But SC uses single float for signal processing, so it is the same as Pd in the end. Well, I did believe that Pd compiled for 64bits did increase the resolution to double, but ok, it does not. And y

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-31 Thread Martin Peach
I tried this using c on Windows: float: Pi is 3.14159274101257320 double: Pi is 3.14159265358979310 , which matches the supercollider value: 3.1415926535898 My lpi.pd_lua also gives 3.141592653589793100 on WIndows but on linux I got 48 digits after the decimal: 3.14

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-31 Thread Jonathan Wilkes via Pd-list
I erroneously sent my last reply to a single recipient-- here's the gist... There's a hidden premise in this thread that Pd's representation of float atoms in the GUI must be exactly the same as the representation in the Pd file.  Not only is that false, but AFAICT the only sane way to solve the

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-31 Thread patrice colet
Le 31/01/2015 14:46, IOhannes m zmölnig a écrit : On 01/31/2015 12:06 PM, Rivoire David wrote: Hello, can you help me to connect a [adc~] object to my TR808 drum-machine patch ? Thanks ! David 6. do not assume that anybody knows the contents of your harddisk. what is "your TR808 drum-machine

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-31 Thread IOhannes m zmölnig
On 01/31/2015 12:06 PM, Rivoire David wrote: > Hello, can you help me to connect a [adc~] object to my TR808 drum-machine > patch ? Thanks ! David 1. switch to edit mode (Ctrl-E) 2. move the mouse to one of the small black rectangles at the bottom of the [adc~]. 3. click and drag the mouse cursor

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-31 Thread Rivoire David
Hello, can you help me to connect a [adc~] object to my TR808 drum-machine patch ? Thanks ! David Envoyé de mon iPhone > Le 31 janv. 2015 à 07:46, Alexandre Torres Porres a écrit : > > So, cant we raise the bit resolution of pd to more than what's there? how? > > Martin, about the pi in lua,

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-31 Thread Cyrille Henry
Le 31/01/2015 07:46, Alexandre Torres Porres a écrit : So, cant we raise the bit resolution of pd to more than what's there? how? by replacing float by double. katja made a lot's of work around this http://www.katjaas.nl/doubleprecision/doubleprecision.html there are lot's of mail in this list

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-30 Thread Alexandre Torres Porres
So, cant we raise the bit resolution of pd to more than what's there? how? Martin, about the pi in lua, i never got to see it, but supercollider prints the value of pi as 3.1415926535898 so thats more than 24 bit float, but what is it? cheers 2015-01-29 15:47 GMT-02:00 Martin Peach : > Here's

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-29 Thread Martin Peach
I have 0.43-4. Probably one of these will work: http://autobuild.puredata.info/auto-build/latest/ Martin On Thu, Jan 29, 2015 at 1:36 PM, Alexandre Torres Porres wrote: > i got extended 0.42-5, it doesn't happen > > 2015-01-29 16:22 GMT-02:00 Martin Peach : > > If you have pd-extended it will o

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-29 Thread Alexandre Torres Porres
i got extended 0.42-5, it doesn't happen 2015-01-29 16:22 GMT-02:00 Martin Peach : > If you have pd-extended it will open lpi with the built-in pdlua loader. > I placed lpi-test and lpi.pd_lua in a directory and started pd-extended > from there. > You can also right-click on the lpi object to ope

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-29 Thread Martin Peach
If you have pd-extended it will open lpi with the built-in pdlua loader. I placed lpi-test and lpi.pd_lua in a directory and started pd-extended from there. You can also right-click on the lpi object to open it in an editor. Martin On Thu, Jan 29, 2015 at 1:05 PM, Alexandre Torres Porres wrote:

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-29 Thread Alexandre Torres Porres
and how does one use [lpi] in a mac? 2015-01-29 15:47 GMT-02:00 Martin Peach : > Here's a patch using pdlua that shows the value of pi in various ways. I > get 48 decimal places in a symbol. > > Martin > > On Thu, Jan 29, 2015 at 12:36 PM, Alexandre Torres Porres < > por...@gmail.com> wrote: > >>

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-29 Thread Martin Peach
Here's a patch using pdlua that shows the value of pi in various ways. I get 48 decimal places in a symbol. Martin On Thu, Jan 29, 2015 at 12:36 PM, Alexandre Torres Porres wrote: > > more that 7 digit but less than 8 digits > ... > > so, 4/3 =! 1.3 > > but 4/3 == 1. (8 "3") > > I d

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-29 Thread Alexandre Torres Porres
> more that 7 digit but less than 8 digits ... > so, 4/3 =! 1.3 > but 4/3 == 1. (8 "3") I don't get it. More than 7 decimal digits but less than 8 decimal digits? How does that work? In practice, is it 7 or 8? In the example we see that 4/3 == 1. (8 "3") - so it's 8 decimal di

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-29 Thread Cyrille Henry
hello, ok, claude was faster to answer, but since i already write my mail, i send it anyway... pd internal resolution is float32. (i.e, 23 bit, so a bit less than 17 millions, i.e more that 7 digit but less than 8 digits) pd graphical representation is 6 digits so, 4/3 =! 1.3 but 4/3 ==

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-29 Thread Claude Heiland-Allen
On 29/01/15 16:17, Alexandre Torres Porres wrote: Pd can only represent up to 6 significant digits, so they say. For example, in a message, you can have a number with up to 5 decimal places, like: -5.29314e+12 but it does have a better internal resolution, if you compare 4 / 3 to 1.3 you'll

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-29 Thread Alexandre Torres Porres
6 significant digits also allow a number like 0.000123456 2015-01-29 14:17 GMT-02:00 Alexandre Torres Porres : > Well, thanks everyone. > > And now for some related issues. > > Pd can only represent up to 6 significant digits, so they say. For > example, in a message, you can have a number with

[PD] more about float limitation (was: weird float/add limitation)

2015-01-29 Thread Alexandre Torres Porres
Well, thanks everyone. And now for some related issues. Pd can only represent up to 6 significant digits, so they say. For example, in a message, you can have a number with up to 5 decimal places, like: -5.29314e+12 but it does have a better internal resolution, if you compare 4 / 3 to 1.3 y