Re: [PD] What is the current, correct way to use Open Sound Control with PD?

2016-05-09 Thread Mario Mey
I used to use mrpeach system, now I use this method. I included 
sendOSC.pd to make a similar working as I used to use with mrpeach:


Before:
[hslider]
|
[send /pd/vol recplay siguiente(
|
[s OSC]

Now:
[hslider]
|
[sendOSC pd vol]

sendOSC.pd is actually to use with only folder and subfolder (2 levels). 
If you want/need to use 3, modify the file connecting the inlet to the 
right side group of patches.


El 08/05/16 a las 01:14, Paul Keyes escribió:
I need to use OSC. I had been using mrpeach in pd-extended, but I see 
that pd-extended is no longer recommended, and it won't compile for my 
system anyway  (I'm using unbuntu 14.04 on an Udoo), so I have 
pd-0-46-7 installed.
I downloaded pd-osc from my package repo, but there is no hint about 
where udpsend is supposed to come from. There is no pd-mrpeach from my 
repo either, so I'm currently trying to get the version from 
https://svn.code.sf.net/p/pure-data/svn/trunk/externals/mrpeach/net/ 
working without much success. It compiles but I still get "udpsend 
..couldn't create".

What is the correct way to get udpsend? Or is there another way to do OSC?

Cheers,
Paul


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


#N canvas 528 186 1035 562 10;
#X obj 198 371 tgl 30 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X msg 198 195 disconnect;
#X obj 419 147 r OSC;
#X msg 181 169 connect localhost 12000;
#X text 425 121 ENVIO;
#X obj 419 197 spigot;
#X obj 452 172 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 198 343 netsend -u -b;
#X obj 419 268 oscformat;
#X obj 419 297 list prepend send;
#X obj 419 326 list trim;
#X obj 644 97 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144
-1 -1 7600 1;
#X floatatom 644 233 5 0 0 0 - - -, f 5;
#X obj 644 260 sendOSC pd vol;
#X obj 774 287 route vol;
#X obj 774 346 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144
-1 -1 7600 1;
#X floatatom 774 319 5 0 0 0 - - -, f 5;
#X obj 774 172 oscparse;
#X obj 774 145 netreceive -u -b;
#X obj 774 96 loadbang;
#X obj 774 197 list trim;
#X msg 774 120 listen 12000;
#X obj 181 145 loadbang;
#X obj 774 265 route pd;
#X connect 0 0 6 0;
#X connect 1 0 7 0;
#X connect 2 0 5 0;
#X connect 3 0 7 0;
#X connect 5 0 8 0;
#X connect 6 0 5 1;
#X connect 7 0 0 0;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 10 0 7 0;
#X connect 11 0 12 0;
#X connect 12 0 13 0;
#X connect 14 0 16 0;
#X connect 16 0 15 0;
#X connect 17 0 20 0;
#X connect 18 0 17 0;
#X connect 19 0 21 0;
#X connect 20 0 23 0;
#X connect 21 0 18 0;
#X connect 22 0 3 0;
#X connect 23 0 14 0;
#N canvas 811 676 598 350 12;
#X obj 42 28 inlet;
#X obj 327 114 symbol \$1;
#X obj 405 114 symbol \$2;
#X obj 327 147 list;
#X obj 353 34 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X msg 327 213 set \$1 \$2 \$3;
#X obj 273 67 t a b b b;
#X obj 327 180 list;
#X obj 42 264 s OSC;
#X obj 273 213 list;
#X obj 494 114 symbol \$3;
#X obj 96 121 symbol \$1;
#X obj 174 121 symbol \$2;
#X obj 96 154 list;
#X obj 122 41 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 42 74 t a b b b;
#X obj 42 220 list;
#X msg 96 220 set \$1 \$2;
#X obj 273 263 s OSC;
#X connect 0 0 15 0;
#X connect 1 0 3 0;
#X connect 2 0 3 1;
#X connect 3 0 7 0;
#X connect 4 0 6 0;
#X connect 5 0 18 0;
#X connect 6 0 9 0;
#X connect 6 1 1 0;
#X connect 6 2 2 0;
#X connect 6 3 10 0;
#X connect 7 0 5 0;
#X connect 9 0 18 0;
#X connect 10 0 7 1;
#X connect 11 0 13 0;
#X connect 12 0 13 1;
#X connect 13 0 17 0;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 15 1 11 0;
#X connect 15 2 12 0;
#X connect 16 0 8 0;
#X connect 17 0 8 0;
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] What is the current, correct way to use Open Sound Control with PD?

2016-05-09 Thread Paul Keyes
Thank you! This helped me find the issue: oscparse expects "/" at the front
of addresses, and oscformat adds "/" automatically to messages that don't
included it.  Liblo does not use the same assumptions...leading to
confusion.
Cheers

On Sun, May 8, 2016 at 8:52 PM, Dan Wilcox <danomat...@gmail.com> wrote:

> See the mrpeach-to-vanilla-osc.pd in
> https://github.com/danomatika/BangYourHead/tree/master/6.Communication
>
> 
> Dan Wilcox
> @danomatika <https://twitter.com/danomatika>
> danomatika.com
> robotcowboy.com
>
> On May 8, 2016, at 3:33 AM, pd-list-requ...@lists.iem.at wrote:
>
> *From: *Paul Keyes <spske...@gmail.com>
> *Subject: **[PD] What is the current, correct way to use Open Sound
> Control with PD?*
> *Date: *May 7, 2016 at 10:14:48 PM MDT
> *To: *pd-list@lists.iem.at
>
>
> I need to use OSC. I had been using mrpeach in pd-extended, but I see that
> pd-extended is no longer recommended, and it won't compile for my system
> anyway  (I'm using unbuntu 14.04 on an Udoo), so I have
> pd-0-46-7 installed.
> I downloaded pd-osc from my package repo, but there is no hint about where
> udpsend is supposed to come from. There is no pd-mrpeach from my repo
> either, so I'm currently trying to get the version from
> https://svn.code.sf.net/p/pure-data/svn/trunk/externals/mrpeach/net/ working
> without much success. It compiles but I still get "udpsend ..couldn't
> create".
> What is the correct way to get udpsend? Or is there another way to do OSC?
>
> Cheers,
> Paul
>
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] What is the current, correct way to use Open Sound Control with PD?

2016-05-08 Thread Dan Wilcox
See the mrpeach-to-vanilla-osc.pd in 
https://github.com/danomatika/BangYourHead/tree/master/6.Communication 
<https://github.com/danomatika/BangYourHead/tree/master/6.Communication>


Dan Wilcox
@danomatika <https://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>
> On May 8, 2016, at 3:33 AM, pd-list-requ...@lists.iem.at wrote:
> 
> From: Paul Keyes <spske...@gmail.com <mailto:spske...@gmail.com>>
> Subject: [PD] What is the current, correct way to use Open Sound Control with 
> PD?
> Date: May 7, 2016 at 10:14:48 PM MDT
> To: pd-list@lists.iem.at <mailto:pd-list@lists.iem.at>
> 
> 
> I need to use OSC. I had been using mrpeach in pd-extended, but I see that 
> pd-extended is no longer recommended, and it won't compile for my system 
> anyway  (I'm using unbuntu 14.04 on an Udoo), so I have pd-0-46-7 installed. 
> I downloaded pd-osc from my package repo, but there is no hint about where 
> udpsend is supposed to come from. There is no pd-mrpeach from my repo either, 
> so I'm currently trying to get the version from 
> https://svn.code.sf.net/p/pure-data/svn/trunk/externals/mrpeach/net/ 
> <https://svn.code.sf.net/p/pure-data/svn/trunk/externals/mrpeach/net/> 
> working without much success. It compiles but I still get "udpsend ..couldn't 
> create". 
> What is the correct way to get udpsend? Or is there another way to do OSC?
> 
> Cheers,
> Paul

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] What is the current, correct way to use Open Sound Control with PD?

2016-05-08 Thread Paul Keyes
OK, thanks. I'm trying to use osc to connect with a c++ program that uses
the liblo osc library. When I send from the c++ program I see the error
"oscparse: not an OSC message( no leading slash)" but this same program is
able to send OSC messages to other software. Sending from pd to c++ does
not work either, and i'm guessing the problem is related. Any help
troubleshooting is much appreciated.

Cheers

On Sun, May 8, 2016 at 1:25 AM, Miller Puckette  wrote:

> check out oscparse and oscformat in vanilla.
>
> cheers
> Miller
>
> On Sun, May 08, 2016 at 01:14:48AM -0300, Paul Keyes wrote:
> > I need to use OSC. I had been using mrpeach in pd-extended, but I see
> that
> > pd-extended is no longer recommended, and it won't compile for my system
> > anyway  (I'm using unbuntu 14.04 on an Udoo), so I have
> > pd-0-46-7 installed.
> > I downloaded pd-osc from my package repo, but there is no hint about
> where
> > udpsend is supposed to come from. There is no pd-mrpeach from my repo
> > either, so I'm currently trying to get the version from
> > https://svn.code.sf.net/p/pure-data/svn/trunk/externals/mrpeach/net/
> > working without much success. It compiles but I still get "udpsend
> > ..couldn't create".
> > What is the correct way to get udpsend? Or is there another way to do
> OSC?
> >
> > Cheers,
> > Paul
>
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] What is the current, correct way to use Open Sound Control with PD?

2016-05-07 Thread Roman Haefeli
On Sun, 2016-05-08 at 01:14 -0300, Paul Keyes wrote:
> I need to use OSC. I had been using mrpeach in pd-extended, but I see
> that pd-extended is no longer recommended, and it won't compile for my
> system anyway  (I'm using unbuntu 14.04 on an Udoo), so I have
> pd-0-46-7 installed. 
> I downloaded pd-osc from my package repo, but there is no hint about
> where udpsend is supposed to come from. There is no pd-mrpeach from my
> repo either, so I'm currently trying to get the version
> from https://svn.code.sf.net/p/pure-data/svn/trunk/externals/mrpeach/net/ 
> working without much success. It compiles but I still get "udpsend ..couldn't 
> create". 
> What is the correct way to get udpsend? Or is there another way to do
> OSC?

You can do that all now with Pd-vanilla. Check the help fies for
[oscformat], [oscparse], [netsend] (in your case probably [netsend -b
-u]) and [netreceive].

Also, there is pd-iemnet, which is a fork of mrpeach's net classes. I
consider them more mature and more reliable than the original mrpeach
net classes.

Roman



signature.asc
Description: This is a digitally signed message part
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] What is the current, correct way to use Open Sound Control with PD?

2016-05-07 Thread Miller Puckette
check out oscparse and oscformat in vanilla.

cheers
Miller

On Sun, May 08, 2016 at 01:14:48AM -0300, Paul Keyes wrote:
> I need to use OSC. I had been using mrpeach in pd-extended, but I see that
> pd-extended is no longer recommended, and it won't compile for my system
> anyway  (I'm using unbuntu 14.04 on an Udoo), so I have
> pd-0-46-7 installed.
> I downloaded pd-osc from my package repo, but there is no hint about where
> udpsend is supposed to come from. There is no pd-mrpeach from my repo
> either, so I'm currently trying to get the version from
> https://svn.code.sf.net/p/pure-data/svn/trunk/externals/mrpeach/net/
> working without much success. It compiles but I still get "udpsend
> ..couldn't create".
> What is the correct way to get udpsend? Or is there another way to do OSC?
> 
> Cheers,
> Paul

> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] What is the current, correct way to use Open Sound Control with PD?

2016-05-07 Thread Paul Keyes
I need to use OSC. I had been using mrpeach in pd-extended, but I see that
pd-extended is no longer recommended, and it won't compile for my system
anyway  (I'm using unbuntu 14.04 on an Udoo), so I have
pd-0-46-7 installed.
I downloaded pd-osc from my package repo, but there is no hint about where
udpsend is supposed to come from. There is no pd-mrpeach from my repo
either, so I'm currently trying to get the version from
https://svn.code.sf.net/p/pure-data/svn/trunk/externals/mrpeach/net/
working without much success. It compiles but I still get "udpsend
..couldn't create".
What is the correct way to get udpsend? Or is there another way to do OSC?

Cheers,
Paul
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list