Re: [PD] detect character in a symbol?

2010-08-10 Thread João Pais
I've looked into this. I see two problems: - this would be for the famous patch that I'm sending around. Since it's for non-pd users, I should limit myself to pd-ext objects - or I would have to ship gridflow with it, which might not be legal (don't know), but anyway isn't practical. - I

Re: [PD] detect character in a symbol?

2010-08-10 Thread João Pais
Hmm, I couldn't find this. Basically I want a way to detect the difference between symbols like 4/8 and 4:8. for now, maybe other characters will come in later. -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/07/2010 11:30 PM, João Pais wrote: Hi, a quick question: I wanted to

Re: [PD] detect character in a symbol?

2010-08-10 Thread Jack
Don't know if it is what you are looking for. ++ Jack Le mardi 10 août 2010 à 11:07 +0100, João Pais a écrit : I've looked into this. I see two problems: - this would be for the famous patch that I'm sending around. Since it's for non-pd users, I should limit myself to pd-ext objects -

Re: [PD] detect character in a symbol?

2010-08-10 Thread Mathieu Bouchard
On Tue, 10 Aug 2010, João Pais wrote: - I couldn't understand how to go from x/y (x and y being any natural numbers) to any other string format that I could use with [sel]. as I understood, string replace doesn't take spaces or expressions like a as parameter. In the cases I'm thinking of,

Re: [PD] detect character in a symbol?

2010-08-10 Thread João Pais
- this would be for the famous patch that I'm sending around. Since it's for non-pd users, I should limit myself to pd-ext objects If it's for non-pd users, you should limit yourself to non-pd objects. I mean, if they end up using your patch, they will be some kind of pd user, albeit one that

Re: [PD] detect character in a symbol?

2010-08-10 Thread João Pais
thanks. it wasn't really exactly what I wanted, but it inspired me to find the solution, using the s2l-symbol trick. Don't know if it is what you are looking for. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -

Re: [PD] detect character in a symbol?

2010-08-08 Thread Mathieu Bouchard
On Sat, 7 Aug 2010, João Pais wrote: a quick question: I wanted to detect a character in a symbol, in order to route that symbol in a different way. Afaik, there is no object that does that, so the only way would be to decompose the symbol in ascii values, and then detect it. you can use

Re: [PD] detect character in a symbol?

2010-08-08 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/07/2010 11:30 PM, João Pais wrote: Hi, a quick question: I wanted to detect a character in a symbol, in order to route that symbol in a different way. Afaik, there is no object that does that, [routeOSC] can basically do that, since it

[PD] detect character in a symbol?

2010-08-07 Thread João Pais
Hi, a quick question: I wanted to detect a character in a symbol, in order to route that symbol in a different way. Afaik, there is no object that does that, so the only way would be to decompose the symbol in ascii values, and then detect it. Btw, this would also be used to decompose the

Re: [PD] detect character in a symbol?

2010-08-07 Thread patko
Hi, - João Pais jmmmp...@googlemail.com a écrit : Hi, a quick question: I wanted to detect a character in a symbol, in order to route that symbol in a different way. Afaik, there is no object that does that, have you tried [any2string] ? so the only way would be to decompose

Re: [PD] detect character in a symbol?

2010-08-07 Thread João Pais
a quick question: I wanted to detect a character in a symbol, in order to route that symbol in a different way. Afaik, there is no object that does that, have you tried [any2string] ? ah, yes, I didn't say it. I mean, I know how to do it in the way I described. I wanted to know if there's