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 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 <m...@ucsd.edu> 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


[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


Re: [PD] communicating with c++ app using OSC

2015-03-10 Thread Paul Keyes
If I really want to use OSC is there a simple way to do it?

On Fri, Oct 24, 2014 at 4:10 PM, Miller Puckette m...@ucsd.edu wrote:

 Hi Paul -

 No need to use OSC for this - you can just use netsend.  THere's sample
 code for receiving from netsend in pd/src/u_pdreceive.c.

 cheers
 Miller

 On Fri, Oct 24, 2014 at 03:21:22PM -0300, Paul Keyes wrote:
  Hi,
 
  I'm sending a list from pd to a c++/liblo app like so:
 
  [mylist]
  |
  [list prepend /osc_addr]
  |
  [list trim]
  |
  [packOSC]
 
  ...
 
  How can I read this list into an array or vector in the c++ app?
  There seems to be lots of libraries, I've been testing liblo, but nothing
  straightforward for receiving a list.
 
  Any help is greatly appreciated!

  ___
  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] communicating with c++ app using OSC

2014-10-24 Thread Paul Keyes
Hi,

I'm sending a list from pd to a c++/liblo app like so:

[mylist]
|
[list prepend /osc_addr]
|
[list trim]
|
[packOSC]

...

How can I read this list into an array or vector in the c++ app?
There seems to be lots of libraries, I've been testing liblo, but nothing
straightforward for receiving a list.

Any help is greatly appreciated!
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list