hi all,
i hope this could a be a simple issue for someone: i'm getting following from [unpackOSC] after changing values of a vslider in AndrOSC:
/vslider 0\,123
and [pipelist] | [routeOSC \vslider] | [print] prints then: 0,123
so how to change this symbol in a float like 0.123? or does somebody know how to fix this in AndrOSC?
greetings and thanks for helping richard
hello, i don't know any vannilaway to convert symbol to float, but you can use externals like s2f from moonix. c
Le 06/07/2015 15:31, Richard Millig a écrit :
hi all,
i hope this could a be a simple issue for someone: i'm getting following from [unpackOSC] after changing values of a vslider in AndrOSC:
/vslider 0\,123
and [pipelist] | [routeOSC \vslider] | [print] prints then: 0,123
so how to change this symbol in a float like 0.123? or does somebody know how to fix this in AndrOSC?
greetings and thanks for helping richard
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Here's a vanilla abstraction (attached) that does this, using [list fromsymbol]
On Mon, Jul 6, 2015 at 4:53 PM, Cyrille Henry ch@chnry.net wrote:
hello, i don't know any vannilaway to convert symbol to float, but you can use externals like s2f from moonix. c
Le 06/07/2015 15:31, Richard Millig a écrit :
hi all,
i hope this could a be a simple issue for someone: i'm getting following from [unpackOSC] after changing values of a vslider in AndrOSC:
/vslider 0\,123
and [pipelist] | [routeOSC \vslider] | [print] prints then: 0,123
so how to change this symbol in a float like 0.123? or does somebody know how to fix this in AndrOSC?
greetings and thanks for helping richard
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
Sorry, uploading again without [list-drip] (which is vanilla, but an abstraction you need to have).
On Mon, Jul 6, 2015 at 8:43 PM, Alexandros Drymonitis adrcki@gmail.com wrote:
Here's a vanilla abstraction (attached) that does this, using [list fromsymbol]
On Mon, Jul 6, 2015 at 4:53 PM, Cyrille Henry ch@chnry.net wrote:
hello, i don't know any vannilaway to convert symbol to float, but you can use externals like s2f from moonix. c
Le 06/07/2015 15:31, Richard Millig a écrit :
hi all,
i hope this could a be a simple issue for someone: i'm getting following from [unpackOSC] after changing values of a vslider in AndrOSC:
/vslider 0\,123
and [pipelist] | [routeOSC \vslider] | [print] prints then: 0,123
so how to change this symbol in a float like 0.123? or does somebody know how to fix this in AndrOSC?
greetings and thanks for helping richard
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
hello, look like it's more a s2i than a s2f.
cheers c
Le 06/07/2015 19:45, Alexandros Drymonitis a écrit :
Sorry, uploading again without [list-drip] (which is vanilla, but an abstraction you need to have).
On Mon, Jul 6, 2015 at 8:43 PM, Alexandros Drymonitis <adrcki@gmail.com mailto:adrcki@gmail.com> wrote:
Here's a vanilla abstraction (attached) that does this, using [list fromsymbol] On Mon, Jul 6, 2015 at 4:53 PM, Cyrille Henry <ch@chnry.net <mailto:ch@chnry.net>> wrote: hello, i don't know any vannilaway to convert symbol to float, but you can use externals like s2f from moonix. c Le 06/07/2015 15:31, Richard Millig a écrit : hi all, i hope this could a be a simple issue for someone: i'm getting following from [unpackOSC] after changing values of a vslider in AndrOSC: /vslider 0\\,123 and [pipelist] | [routeOSC \vslider] | [print] prints then: 0,123 so how to change this symbol in a float like 0.123? or does somebody know how to fix this in AndrOSC? greetings and thanks for helping richard _______________________________________________ Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list@lists.iem.at <mailto: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
On Mon, Jul 6, 2015 at 8:56 PM, Cyrille Henry ch@chnry.net wrote:
hello, look like it's more a s2i than a s2f
True! Now it's real s2f
Hello,
On 07/07/15 03:31, Alexandros Drymonitis wrote:
On Mon, Jul 6, 2015 at 8:56 PM, Cyrille Henry <ch@chnry.net mailto:ch@chnry.net> wrote: look like it's more a s2i than a s2f True! Now it's real s2f
Having tried this strategy myself I discovered there are many pitfalls. The following are valid floating point representation that your abstraction will not parse:
-2.58934e+27
I think there are also valid values like "-0.0" and "inf" that can come from floating point numbers rendered as strings and could cause some troubles.
Cheers,
Chris.
On Tue, Jul 7, 2015 at 6:35 AM, Chris McCormick chris@mccormick.cx wrote:
Hello,
On 07/07/15 03:31, Alexandros Drymonitis wrote:
On Mon, Jul 6, 2015 at 8:56 PM, Cyrille Henry <ch@chnry.net mailto:ch@chnry.net> wrote: look like it's more a s2i than a s2f True! Now it's real s2f
Having tried this strategy myself I discovered there are many pitfalls. The following are valid floating point representation that your abstraction will not parse:
-2.58934e+27
Covered!
I think there are also valid values like "-0.0" and "inf" that can come from floating point numbers rendered as strings and could cause some troubles.
Covered "inf", but not "-0.0", it will just output -0
Sorry, forgot to attach it..
On Tue, Jul 7, 2015 at 12:20 PM, Alexandros Drymonitis adrcki@gmail.com wrote:
On Tue, Jul 7, 2015 at 6:35 AM, Chris McCormick chris@mccormick.cx wrote:
Hello,
On 07/07/15 03:31, Alexandros Drymonitis wrote:
On Mon, Jul 6, 2015 at 8:56 PM, Cyrille Henry <ch@chnry.net mailto:ch@chnry.net> wrote: look like it's more a s2i than a s2f True! Now it's real s2f
Having tried this strategy myself I discovered there are many pitfalls. The following are valid floating point representation that your abstraction will not parse:
-2.58934e+27
Covered!
I think there are also valid values like "-0.0" and "inf" that can come from floating point numbers rendered as strings and could cause some troubles.
Covered "inf", but not "-0.0", it will just output -0
This is the final version, the previous one didn't work so well with "inf", now it does. I've put it on my GitHub, get it here https://github.com/alexandros301/vanillaS2f
On Tue, Jul 7, 2015 at 12:20 PM, Alexandros Drymonitis adrcki@gmail.com wrote:
On Tue, Jul 7, 2015 at 6:35 AM, Chris McCormick chris@mccormick.cx wrote:
Hello,
On 07/07/15 03:31, Alexandros Drymonitis wrote:
On Mon, Jul 6, 2015 at 8:56 PM, Cyrille Henry <ch@chnry.net mailto:ch@chnry.net> wrote: look like it's more a s2i than a s2f True! Now it's real s2f
Having tried this strategy myself I discovered there are many pitfalls. The following are valid floating point representation that your abstraction will not parse:
-2.58934e+27
Covered!
I think there are also valid values like "-0.0" and "inf" that can come from floating point numbers rendered as strings and could cause some troubles.
Covered "inf", but not "-0.0", it will just output -0
hi guys,
thanks for your help so far. i've tried that patch, but i get error messages like this:
list fromsymbol: no method for '0,873'
and a message like '0,873' prints
list fromsymbol: no method for 'float'
how do i fix this?
thanks for helping greetings richard
On 07.07.2015 17:53, Alexandros Drymonitis wrote:
This is the final version, the previous one didn't work so well with "inf", now it does. I've put it on my GitHub, get it here https://github.com/alexandros301/vanillaS2f
On Tue, Jul 7, 2015 at 12:20 PM, Alexandros Drymonitis <adrcki@gmail.com mailto:adrcki@gmail.com> wrote:
On Tue, Jul 7, 2015 at 6:35 AM, Chris McCormick <chris@mccormick.cx <mailto:chris@mccormick.cx>> wrote: Hello, On 07/07/15 03:31, Alexandros Drymonitis wrote: > On Mon, Jul 6, 2015 at 8:56 PM, Cyrille Henry <ch@chnry.net <mailto:ch@chnry.net> > <mailto:ch@chnry.net <mailto:ch@chnry.net>>> wrote: > look like it's more a s2i than a s2f > True! Now it's real s2f Having tried this strategy myself I discovered there are many pitfalls. The following are valid floating point representation that your abstraction will not parse: -2.58934e+27 Covered! I think there are also valid values like "-0.0" and "inf" that can come from floating point numbers rendered as strings and could cause some troubles. Covered "inf", but not "-0.0", it will just output -0
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Wed, Jul 8, 2015 at 1:56 PM, Richard Millig richard.millig@gmx.de wrote:
hi guys,
thanks for your help so far. i've tried that patch, but i get error messages like this:
list fromsymbol: no method for '0,873'
use a dot for floats, not comma. If I type this in the symbol atom, I get 873, but if I type "0.873" I do get 0.873
my original problem was -as i said in my first mail- that the "numbers", which I get from AndrOSC, are not floats but "numbers" with a comma (like 0,873), maybe I described the problem bad (sorry for my bad english, I'm from Germany), my problem is: how do I change that comma to a point? or: is the problem in my AndrOSC? thanks richard
On 08.07.2015 15:15, Alexandros Drymonitis wrote:
On Wed, Jul 8, 2015 at 1:56 PM, Richard Millig <richard.millig@gmx.de mailto:richard.millig@gmx.de> wrote:
hi guys, thanks for your help so far. i've tried that patch, but i get error messages like this: list fromsymbol: no method for '0,873'
use a dot for floats, not comma. If I type this in the symbol atom, I get 873, but if I type "0.873" I do get 0.873
Check GitHub again, now it's supposed to support commas... https://github.com/alexandros301/vanillaS2f
On Wed, Jul 8, 2015 at 4:24 PM, Richard Millig richard.millig@gmx.de wrote:
my original problem was -as i said in my first mail- that the "numbers", which I get from AndrOSC, are not floats but "numbers" with a comma (like 0,873), maybe I described the problem bad (sorry for my bad english, I'm from Germany), my problem is: how do I change that comma to a point? or: is the problem in my AndrOSC? thanks richard
On 08.07.2015 15:15, Alexandros Drymonitis wrote:
On Wed, Jul 8, 2015 at 1:56 PM, Richard Millig <richard.millig@gmx.de mailto:richard.millig@gmx.de> wrote:
hi guys, thanks for your help so far. i've tried that patch, but i get error messages like this: list fromsymbol: no method for '0,873'
use a dot for floats, not comma. If I type this in the symbol atom, I get 873, but if I type "0.873" I do get 0.873