Re: [PD] [sel] problem - matched value doesn't bang

2016-03-23 Thread João Pais
maybe I did something slightly different the other time. anyway, it's doing great now. Strange! it worked for me, picture attached. Mensaje telepatico asistido por maquinas. To: pd-list@lists.iem.at; lucard...@hotmail.com Subject: Re: [PD] [sel] problem - matched value doesn't bang Date

Re: [PD] [sel] problem - matched value doesn't bang

2016-03-22 Thread João Pais
[* 100] [+ 0.5] [i] [/100] actually that one didn't work, I followed Cyrille's suggestion and multiplied the [sel] value also with 100. It's fixed now, everything works as it should. Best, Joao___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE

Re: [PD] [sel] problem - matched value doesn't bang

2016-03-22 Thread Lucas Cordiviola
> >> hello, > >> > >> it look like rounding error. the rejected 91 is not really 91, but > >> 90.99 or similar. > >> using a [i] object, it is converted to 90. > > > > that would be one solution. the problem is that in other moments there will > > be floats there. what is the best way to

Re: [PD] [sel] problem - matched value doesn't bang

2016-03-22 Thread cyrille henry
Le 22/03/2016 19:26, João Pais a écrit : hello, it look like rounding error. the rejected 91 is not really 91, but 90.99 or similar. using a [i] object, it is converted to 90. that would be one solution. the problem is that in other moments there will be floats there. what is the best

Re: [PD] [sel] problem - matched value doesn't bang

2016-03-22 Thread João Pais
hello, it look like rounding error. the rejected 91 is not really 91, but 90.99 or similar. using a [i] object, it is converted to 90. that would be one solution. the problem is that in other moments there will be floats there. what is the best way to avoid these errors? (had read

Re: [PD] [sel] problem - matched value doesn't bang

2016-03-22 Thread João Pais
I did try with individual objects while debugging, and the results were the same. You might also find that using individual math objects to solve the arithmetic rather than expr corrects the rounding error.___ Pd-list@lists.iem.at mailing list

Re: [PD] [sel] problem - matched value doesn't bang

2016-03-22 Thread Liam Goodacre
You might also find that using individual math objects to solve the arithmetic rather than expr corrects the rounding error. > To: pd-list@lists.iem.at > From: c...@chnry.net > Date: Tue, 22 Mar 2016 10:01:43 +0100 > Subject: Re: [PD] [sel] problem - matched value doesn't ban

Re: [PD] [sel] problem - matched value doesn't bang

2016-03-22 Thread cyrille henry
hello, it look like rounding error. the rejected 91 is not really 91, but 90.99 or similar. using a [i] object, it is converted to 90. cheers c Le 22/03/2016 09:41, João Pais a écrit : Hello list, I have a problem with [sel], in a patch the matched value doesn't behave as expected. In