Re: [PD] [sel] problem - matched value doesn't bang
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: Wed, 23 Mar 2016 00:17:01 +0100 From: jmmmp...@gmail.com [* 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 and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [sel] problem - matched value doesn't bang
[* 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 and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [sel] problem - matched value doesn't bang
> >> 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 > > about them, but never happened to me before) > > [* 100] > [+ 0.5] > [i] > > > to match float using 2 digit precision (use 100 time the value in the sel > object) > > > cheers > c Of course, [* 100][+ 0.5][i][/100] between [trigger] and [sel] works ok. Mensaje telepatico asistido por maquinas. ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [sel] problem - matched value doesn't bang
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 way to avoid these errors? (had read about them, but never happened to me before) [* 100] [+ 0.5] [i] to match float using 2 digit precision (use 100 time the value in the sel object) cheers c ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [sel] problem - matched value doesn't bang
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 about them, but never happened to me before) ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [sel] problem - matched value doesn't bang
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 UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [sel] problem - matched value doesn't bang
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 bang > > 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 case anyone can have a look, here is a patch with all the > > details. > > > > Thanks, > > > > Joao > > > > > > ___ > > Pd-list@lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> > > http://lists.puredata.info/listinfo/pd-list > > > > ___ > Pd-list@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [sel] problem - matched value doesn't bang
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 case anyone can have a look, here is a patch with all the details. Thanks, Joao ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] [sel] problem - matched value doesn't bang
Hello list, I have a problem with [sel], in a patch the matched value doesn't behave as expected. In case anyone can have a look, here is a patch with all the details. Thanks, Joao sel-bug.pd Description: Binary data ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list