[PD] send audio over udp with mrpeach/udpsend~ and mrpeach/udpsend

2010-10-28 Thread padovani

Hello,

I am doing some tests sending UDP packets to Processing and 
openFrameworks from PD.


First I tried to send tabdumps with mrpeach/udpsend... It would be nice 
to use this one because I could select specific frames to send.

But it seems to not accept the floats from the arrays...

So, now, I am trying to do it with mrpeach/udpsend~, but I am trying to 
understand what are exactly the 24 bytes that begin with TAG!


Any help is appreciated,

josé

--
http://zepadovani.info

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


Re: [PD] send audio over udp with mrpeach/udpsend~ and mrpeach/udpsend

2010-10-28 Thread padovani

Thank you very much martin... I will continue my tests...

BTW... Pd-extended for mac intel has a non functional udpreceive~ (wrong 
architecture)...


I have compiled it here, but it would be nice to see what is wrong in 
the provided build scripts..


josé

Em 28/10/10 13:15, martin.pe...@sympatico.ca escreveu:




First I tried to send tabdumps with mrpeach/udpsend... It would be nice
to use this one because I could select specific frames to send.
But it seems to not accept the floats from the arrays...

So, now, I am trying to do it with mrpeach/udpsend~, but I am trying to
understand what are exactly the 24 bytes that begin with TAG!



 From udpsend~.h:

typedef struct _tag
{   /* size (bytes) */
 char tag[4];/*  4  */ /*TAG!*/
 char format;/*  1  */
 long count; /*  4  */
 char channels;  /*  1  */
 long framesize; /*  4  */
 char reserved[2];   /*  2  */ /* pad to 16 bytes */
} t_tag;/*-*/
 /* 16  */

If you use [udpreceive~] to a [tabwrite~] you shouldn't need to worry about 
that.
You can send an [info( message to either [udpreceive~] or [udpsend~] to get the 
current values.

Martin





--
http://zepadovani.info

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