Re: [PD] [netsend] bug?

2016-05-07 Thread Jack
I remove the [float2symbol] abstraction and change it with [makefilename %g] (thanx IOhannes) in the list2symbol.pd if someone need a vanilla solution of zexy/list2symbol. It is attached. ++ Jack Le 06/05/2016 19:15, Jack a écrit : > Can you send a full output from [netsend -b] ? > To get your

Re: [PD] [netsend] bug?

2016-05-06 Thread Mario Mey
Ok, thanks for clarify! I get what I was looking for. When I make the patch "nice, clean and tidy", I'll post on stackoverflow, where I posted a question. Thanks everybody! El 06/05/16 a las 15:08, IOhannes m zmölnig escribió: On 05/06/2016 02:45 PM, Mario Mey wrote: The connection is

Re: [PD] [netsend] bug?

2016-05-06 Thread Mario Mey
I understand this ";" at the end of the message... but I found something that I do call bug. In text-object-help.pd, inside [pd tolist] and [pd fromlist], there's this message box: [this is a message \; this is another 1 ... \;( Inside the file, it is: ... #X msg 81 115 list this is a

Re: [PD] [netsend] bug?

2016-05-06 Thread Roman Haefeli
On Fri, 2016-05-06 at 12:46 -0300, Mario Mey wrote: > Jack, thank you for this patch. It works. Also thanks to Patrice... but > I want to make it easy. > > Now, I would want to know how to reproduce l2s with Vanilla (I'm trying > to use only Vanilla). > > ... and there's something else: If I

Re: [PD] [netsend] bug?

2016-05-06 Thread Jack
Didn't know this one :D ++ Jack Le 06/05/2016 20:19, IOhannes m zmölnig a écrit : > On 05/06/2016 08:16 PM, Jack wrote: >> Of course, to get decimal, you can use [makefilename %f] but in this >> case, you got a symbol very different : >> >> Your float : float 0.19 >> The symbol you get :

Re: [PD] [netsend] bug?

2016-05-06 Thread IOhannes m zmölnig
On 05/06/2016 08:16 PM, Jack wrote: > Of course, to get decimal, you can use [makefilename %f] but in this > case, you got a symbol very different : > > Your float : float 0.19 > The symbol you get : symbol 0.19 [makefilename %g] gfrdsa IOhannes signature.asc Description: OpenPGP digital

Re: [PD] [netsend] bug?

2016-05-06 Thread Jack
Of course, to get decimal, you can use [makefilename %f] but in this case, you got a symbol very different : Your float : float 0.19 The symbol you get : symbol 0.19 With the abstraction [float2symbol] you will get : symbol 0.19 ++ Jack Le 06/05/2016 20:05, Jack a écrit : > Hello Joel, >

Re: [PD] [netsend] bug?

2016-05-06 Thread IOhannes m zmölnig
On 05/06/2016 02:45 PM, Mario Mey wrote: > The connection is well done, but I discovered that the messages arrives > with a ";" at the end of the message. this is the format that Pd messages are transmitted in. it is not a bug, but called FUDI https://en.wikipedia.org/wiki/FUDI both

Re: [PD] [netsend] bug?

2016-05-06 Thread Jack
Hello Joel, [makefilename %d] is OK if you send an integer like 1 or 25487. But if you send something like 254.56, you only get [symbol 254(. That's why, i made this abstraction ;) ++ Jack Le 06/05/2016 19:28, Joel Matthys a écrit : > Another option is to use [makefilename %d] in place of

Re: [PD] [netsend] bug?

2016-05-06 Thread Joel Matthys
Another option is to use [makefilename %d] in place of this [float2symbol] abstraction. But I've never seen this clever abstraction. Thanks Jack! Joel On 05/06/2016 12:20 PM, Jack wrote: Forget an abstraction (float2symbol). ++ Jack Le 06/05/2016 19:15, Jack a écrit : Can you send a

Re: [PD] [netsend] bug?

2016-05-06 Thread Jack
Forget an abstraction (float2symbol). ++ Jack Le 06/05/2016 19:15, Jack a écrit : > Can you send a full output from [netsend -b] ? > To get your message line by line, you must recreate the chain by > accumulating numerical values until a 10 or/and 13 comes. For this a > [route 10 13] (to do

Re: [PD] [netsend] bug?

2016-05-06 Thread Jack
Can you send a full output from [netsend -b] ? To get your message line by line, you must recreate the chain by accumulating numerical values until a 10 or/and 13 comes. For this a [route 10 13] (to do something when a 10 or 13 comes), [list prepend] (to accumulate) and [list] (to store

Re: [PD] [netsend] bug?

2016-05-06 Thread Mario Mey
Jack, thank you for this patch. It works. Also thanks to Patrice... but I want to make it easy. Now, I would want to know how to reproduce l2s with Vanilla (I'm trying to use only Vanilla). ... and there's something else: If I send "playlist" to VLC, the right outlet of [netsend -b] prints

Re: [PD] [netsend] bug?

2016-05-06 Thread patrice colet
Hi, attached is some workaround for controlling VLC, one using [tcpclient], and another one using dbus-send. Both uses tcl for scripting with [hc/sys_gui] patco Le 06/05/2016 à 15:51, Jack a écrit : Hello, Now, with Pd 0.46.7 you have [netsend -b]. It allows you to send a string in

Re: [PD] [netsend] bug?

2016-05-06 Thread Jack
Hello, Now, with Pd 0.46.7 you have [netsend -b]. It allows you to send a string in 'binary' mode (you don't need anymore to use the FUDI protocol used by netsend before). Then, something like : [list add file.mp4( | [l2s] <- from zexy library (there is vanilla solution for this) | [list

[PD] [netsend] bug?

2016-05-06 Thread Mario Mey
Hi, there. I'm trying to use PureData 0.46.7 to control VLC. Based on a patch in https://github.com/mxa/AudioVideoPatches, that uses Python code (pyext) to send TCP messages, I want to use [netsend] to send them, without Python. I start VLC with: vlc -I rc --rc-host=localhost:1234 And, in