Re: [PD] Live stream audio, do it with [oggcast~]?

2013-11-25 Thread IOhannes m zmölnig
On 2013-11-24 20:37, Alexandros Drymonitis wrote:
 Ok, I don't know stuff about RTP/RTCP. So, I'd rather go for
 [netsend~]/[netreceive~]. In the README file though it says this:
 To compile for Pd, cd into the directory, where you found this
   README and type make pd_linux, make pd_darwin, make pd_irix6
   (make is supposed to be gnu-make) or nmake pd_nt depending on
   the operating system you are using.
 
 But typing make pd_darwin I get this error: make: Nothing to be done for
 `pd_darwin'.

this means that upstream already built a .pd_darwin for you.

 Plus, on the website of these objects it says that they are currently
 unsupported...


this means, that it's author doesn't have time to answer questions. it
doesn't mean that the objects don't work.


 
 The directory though includes .pd_darwin files, but trying to import the
 library in a patch, the console shows this:
 /Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/netsend~/netsend~.pd_darwin:
 dlopen(/Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/netsend~/netsend~.pd_darwin,
 10): no suitable image found.  Did find:
 
 /Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/netsend~/netsend~.pd_darwin:
 mach-o, but wrong architecture
 [import]: can't load library in 'netsend~'


the pd_darwin that comes with the download is apparently for the wrong
architecture (powerpc): you have to recompile.

$ make clean
$ make

(alternatively simply delete all .pd_darwin files (and probably .o
files) before running make):

fgmards
IOhannes



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


Re: [PD] Live stream audio, do it with [oggcast~]?

2013-11-24 Thread Alexandros Drymonitis
I'm actually trying to solve the make problem with the iemrtp library. The
error I get when I type make in the library's directory is this:
./iemrtp.h:35:2: error: No byte order defined

I looked at the iemrtp.h file and what I understood is that I need the
endian.h file, which I don't have. There is also an #if defined(__linux__)
|| defined(__CYGWIN__) || defined(__GNU__) || defined(ANDROID) which I
commented out and left only the #include endian.h (bad, good? I'm on os x,
so should I define something when attempting to make the library?).

I googled and found an endian.h file, copied it to the library's directory,
but if I type make I get this error: ./iemrtp.h:26:10: fatal error:
'endian.h' file not found.

Can anyone help me out with this?


On Sat, Nov 23, 2013 at 6:25 PM, Alexandros Drymonitis adr...@gmail.comwrote:




 On Sat, Nov 23, 2013 at 12:19 PM, IOhannes m zmölnig zmoel...@iem.atwrote:

 On 2013-11-23 11:11, Alexandros Drymonitis wrote:
  Is [oggcast~] the object to live stream audio to another computer? And
  which one is the receiver? It's not mentioned in the help patch.

 oggcast~ is the object to feed a streaming server, like icecast.
 it's main purpose is to build a web broadcast, rather than a
 peer-to-peer communication. (you will need a streaming server and a
 receiver, e.g. [oggamp~]; latency is usually quite high in such setups,
 expect 10sec)

 for low-latency peer-to-peer streaming, check [netsend~]/[netreceive~].

 Forgot to ask, are these the [netsend~]/[netreceive~] objects
 http://www.nullmedium.de/dev/netsend~/?
 Taken from this website: If you're looking for objects to stream audio
 over the Internet this is not what you want! However, streaming over
 Internet2 or local 10Mbit or even wireless networks works very well.
 Internet2? It also is alpha and can't make that either. Tried different
 solutions with the makefile, like change pd_darwin to d_fat (took this from
 Lyon's book) and some other stuff, but nothing worked out. There's still
 much to learn about unix..


 if you are on linux (or osx), you could also use an external application
 like `jacktrip` (`aptitude install jacktrip`) and use jack to setup your
 routing between Pd, network and speakers.


 finally, there's the iemrtp [1], which allows you to build an RTP
 streamer (both sides) within Pd.

 mgfdsar
 IOhannes

 [1] https://github.com/iem-projects/pd-iemrtp/

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



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



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


Re: [PD] Live stream audio, do it with [oggcast~]?

2013-11-24 Thread Alexandros Drymonitis
Ok, I don't know stuff about RTP/RTCP. So, I'd rather go for
[netsend~]/[netreceive~]. In the README file though it says this:
To compile for Pd, cd into the directory, where you found this
  README and type make pd_linux, make pd_darwin, make pd_irix6
  (make is supposed to be gnu-make) or nmake pd_nt depending on
  the operating system you are using.

But typing make pd_darwin I get this error: make: Nothing to be done for
`pd_darwin'.
Plus, on the website of these objects it says that they are currently
unsupported...

The directory though includes .pd_darwin files, but trying to import the
library in a patch, the console shows this:
/Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/netsend~/netsend~.pd_darwin:
dlopen(/Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/netsend~/netsend~.pd_darwin,
10): no suitable image found.  Did find:

/Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/netsend~/netsend~.pd_darwin:
mach-o, but wrong architecture
[import]: can't load library in 'netsend~'

Any tip on solving this problem?


On Sun, Nov 24, 2013 at 9:25 PM, IOhannes m zmölnig zmoel...@iem.at wrote:

 On 2013-11-24 19:38, Alexandros Drymonitis wrote:
  I'm actually trying to solve the make problem with the iemrtp library.
 The

 darn, i should not announce these objects :-) :-(

 the thing is, that these objects allow you to create an RTP streaming
 solution - if you know what you are doing (you should have a good idea
 about what RTP/RTCP is; the objects will do the
 data-formatting/packaging for you, but you have to implement buffering,
 resampling, packet-loss correction,... yourself and within Pd!
 currently the only supported payload is 16bit uncompressed audio.

 these objects are not for the fain-hearted...

 [netsend~]/[netreceive~] are definitely easier to use.

 gfmdsar
 IOhannes


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


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


[PD] Live stream audio, do it with [oggcast~]?

2013-11-23 Thread Alexandros Drymonitis
Is [oggcast~] the object to live stream audio to another computer? And
which one is the receiver? It's not mentioned in the help patch.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Live stream audio, do it with [oggcast~]?

2013-11-23 Thread IOhannes m zmölnig
On 2013-11-23 11:11, Alexandros Drymonitis wrote:
 Is [oggcast~] the object to live stream audio to another computer? And
 which one is the receiver? It's not mentioned in the help patch.

oggcast~ is the object to feed a streaming server, like icecast.
it's main purpose is to build a web broadcast, rather than a
peer-to-peer communication. (you will need a streaming server and a
receiver, e.g. [oggamp~]; latency is usually quite high in such setups,
expect 10sec)

for low-latency peer-to-peer streaming, check [netsend~]/[netreceive~].
if you are on linux (or osx), you could also use an external application
like `jacktrip` (`aptitude install jacktrip`) and use jack to setup your
routing between Pd, network and speakers.


finally, there's the iemrtp [1], which allows you to build an RTP
streamer (both sides) within Pd.

mgfdsar
IOhannes

[1] https://github.com/iem-projects/pd-iemrtp/

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




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


Re: [PD] Live stream audio, do it with [oggcast~]?

2013-11-23 Thread Alexandros Drymonitis
On Sat, Nov 23, 2013 at 12:19 PM, IOhannes m zmölnig zmoel...@iem.atwrote:

 On 2013-11-23 11:11, Alexandros Drymonitis wrote:
  Is [oggcast~] the object to live stream audio to another computer? And
  which one is the receiver? It's not mentioned in the help patch.

 oggcast~ is the object to feed a streaming server, like icecast.
 it's main purpose is to build a web broadcast, rather than a
 peer-to-peer communication. (you will need a streaming server and a
 receiver, e.g. [oggamp~]; latency is usually quite high in such setups,
 expect 10sec)

 for low-latency peer-to-peer streaming, check [netsend~]/[netreceive~].
 if you are on linux (or osx), you could also use an external application
 like `jacktrip` (`aptitude install jacktrip`) and use jack to setup your
 routing between Pd, network and speakers.


 finally, there's the iemrtp [1], which allows you to build an RTP
 streamer (both sides) within Pd.

Do I have to make the objects? There's no pd_darwin (I'm on os x) in the
directory..
I did type make in this directory (I moved it to the 'extra' directory) and
got this:
cc -I/Applications/Pd-extended.app/Contents/Resources/include/pd -DPD
-DVERSION='0' -arch i386 -arch x86_64 -mmacosx-version-min=10.5 -fPIC
-I/sw/include -Wall -W -g -ftree-vectorize -ftree-vectorizer-verbose=2
-fast -o unpackRTP.o -c unpackRTP.c
clang: warning: argument unused during compilation: '-ftree-vectorize'
clang: warning: argument unused during compilation:
'-ftree-vectorizer-verbose=2'
clang: warning: argument unused during compilation: '-fast'
In file included from unpackRTP.c:23:
./iemrtp.h:35:2: error: No byte order defined
#error No byte order defined
 ^
1 error generated.
make: *** [unpackRTP.o] Error 1

Any suggestions?


 mgfdsar
 IOhannes

 [1] https://github.com/iem-projects/pd-iemrtp/

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



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


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


Re: [PD] Live stream audio, do it with [oggcast~]?

2013-11-23 Thread Alexandros Drymonitis
On Sat, Nov 23, 2013 at 12:19 PM, IOhannes m zmölnig zmoel...@iem.atwrote:

 On 2013-11-23 11:11, Alexandros Drymonitis wrote:
  Is [oggcast~] the object to live stream audio to another computer? And
  which one is the receiver? It's not mentioned in the help patch.

 oggcast~ is the object to feed a streaming server, like icecast.
 it's main purpose is to build a web broadcast, rather than a
 peer-to-peer communication. (you will need a streaming server and a
 receiver, e.g. [oggamp~]; latency is usually quite high in such setups,
 expect 10sec)

 for low-latency peer-to-peer streaming, check [netsend~]/[netreceive~].

Forgot to ask, are these the [netsend~]/[netreceive~] objects
http://www.nullmedium.de/dev/netsend~/?
Taken from this website: If you're looking for objects to stream audio
over the Internet this is not what you want! However, streaming over
Internet2 or local 10Mbit or even wireless networks works very well.
Internet2? It also is alpha and can't make that either. Tried different
solutions with the makefile, like change pd_darwin to d_fat (took this from
Lyon's book) and some other stuff, but nothing worked out. There's still
much to learn about unix..


if you are on linux (or osx), you could also use an external application
 like `jacktrip` (`aptitude install jacktrip`) and use jack to setup your
 routing between Pd, network and speakers.


 finally, there's the iemrtp [1], which allows you to build an RTP
 streamer (both sides) within Pd.

 mgfdsar
 IOhannes

 [1] https://github.com/iem-projects/pd-iemrtp/

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



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


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