[PD] udp broadcasting with netsend: permission denied in Linux

2011-03-31 Thread Matteo Sisti Sette

Hi,

I've used netsend for broadcasting UDP packets to the local network for 
years, connecting to 255.255.255.255:5000 (or any other port 1024) and 
I never had problems under Windows.


However in Linux it doesn't work, it doesn't connect. If I run Pd from a 
terminal, I see this error in the terminal output: connecting stream 
socket: Permission denied (13) (one of the few errors that don't appear 
in the pd console btw).


I remember mentioning this some time ago and being told that it had been 
fixed, but it seems it isn't.


Is there a way to circumvent this and be able to broadcast udp packets 
with netsend?


thanks
m.

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


Re: [PD] udp broadcasting with netsend: permission denied in Linux

2011-03-31 Thread Matteo Sisti Sette
By the way, if I try to connect to 192.168.2.255 (which is the broadcast 
address for my actual local network) instead of 255.255.255.255, I get 
the same error in the terminal, but in this case, in the Pd console I 
also see the message bad host?


On 03/31/2011 04:46 PM, Matteo Sisti Sette wrote:

Hi,

I've used netsend for broadcasting UDP packets to the local network for
years, connecting to 255.255.255.255:5000 (or any other port 1024) and
I never had problems under Windows.

However in Linux it doesn't work, it doesn't connect. If I run Pd from a
terminal, I see this error in the terminal output: connecting stream
socket: Permission denied (13) (one of the few errors that don't appear
in the pd console btw).

I remember mentioning this some time ago and being told that it had been
fixed, but it seems it isn't.

Is there a way to circumvent this and be able to broadcast udp packets
with netsend?

thanks
m.



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


Re: [PD] access to pd table from another application

2011-03-31 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/31/2011 02:00 AM, Billy Stiltner wrote:
 GLUT absolutely wants to run an infinite loop, otherwise it will not give
 you any events. Therefore you can't run it in the same thread as pd's
 event loop.

 
 That must have been what kept me from using it as well.
 

though it's not true.
you can run the glut loop yourself (e.g. Gem/src/Output/gemglutwindow.cpp)

fgmsadr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2UlQgACgkQkX2Xpv6ydvSD5wCgsmq+KVunoO/iLwYPNC9msXY+
cegAoJ3Q6JDcmTrp3OuV/watFBTfGqoz
=Z6cN
-END PGP SIGNATURE-

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


Re: [PD] udp broadcasting with netsend: permission denied in Linux

2011-03-31 Thread Ivica Ico Bukvic
Use disis_netsend/netreceive, which provide this and other functionalities.

Ico

 -Original Message-
 From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf
 Of Matteo Sisti Sette
 Sent: Thursday, March 31, 2011 10:51 AM
 To: PD-List
 Subject: Re: [PD] udp broadcasting with netsend: permission denied in
 Linux
 
 By the way, if I try to connect to 192.168.2.255 (which is the broadcast
 address for my actual local network) instead of 255.255.255.255, I get
 the same error in the terminal, but in this case, in the Pd console I
 also see the message bad host?
 
 On 03/31/2011 04:46 PM, Matteo Sisti Sette wrote:
  Hi,
 
  I've used netsend for broadcasting UDP packets to the local network
 for
  years, connecting to 255.255.255.255:5000 (or any other port 1024)
 and
  I never had problems under Windows.
 
  However in Linux it doesn't work, it doesn't connect. If I run Pd from a
  terminal, I see this error in the terminal output: connecting stream
  socket: Permission denied (13) (one of the few errors that don't appear
  in the pd console btw).
 
  I remember mentioning this some time ago and being told that it had
 been
  fixed, but it seems it isn't.
 
  Is there a way to circumvent this and be able to broadcast udp
 packets
  with netsend?
 
  thanks
  m.
 
 
 ___
 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] Looking for partconv darwin for mac

2011-03-31 Thread Jack Kalish
Hey Y'all,
I'm trying to accomplish convolution in PD. I understand there is a
partconv external available, but I cannot find the Darwin file to do
it on a Mac.

Essentially, what I am trying to accomplish is to have a sound that
sounds like static/noise, but over time musicality emerges out of the
sound. From my understanding, convolution is a good method by which to
achieve this effect. But, I am open to other suggestions.

Any help would be great! Thanks you!

Jack Kalish
www.jackkalish.com

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


Re: [PD] udp broadcasting with netsend: permission denied in Linux

2011-03-31 Thread John Harrison
Can you say more about disis netsend vs netsend?

Btw I've been using netsend and netreceive to broadcast through a network on
linux without problems for years. My guess is you have a firewall up...

...sent from my cell
On Mar 31, 2011 11:11 AM, Ivica Ico Bukvic i...@vt.edu wrote:
 Use disis_netsend/netreceive, which provide this and other
functionalities.

 Ico

 -Original Message-
 From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf
 Of Matteo Sisti Sette
 Sent: Thursday, March 31, 2011 10:51 AM
 To: PD-List
 Subject: Re: [PD] udp broadcasting with netsend: permission denied in
 Linux

 By the way, if I try to connect to 192.168.2.255 (which is the broadcast
 address for my actual local network) instead of 255.255.255.255, I get
 the same error in the terminal, but in this case, in the Pd console I
 also see the message bad host?

 On 03/31/2011 04:46 PM, Matteo Sisti Sette wrote:
  Hi,
 
  I've used netsend for broadcasting UDP packets to the local network
 for
  years, connecting to 255.255.255.255:5000 (or any other port 1024)
 and
  I never had problems under Windows.
 
  However in Linux it doesn't work, it doesn't connect. If I run Pd from
a
  terminal, I see this error in the terminal output: connecting stream
  socket: Permission denied (13) (one of the few errors that don't
appear
  in the pd console btw).
 
  I remember mentioning this some time ago and being told that it had
 been
  fixed, but it seems it isn't.
 
  Is there a way to circumvent this and be able to broadcast udp
 packets
  with netsend?
 
  thanks
  m.


 ___
 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] udp broadcasting with netsend: permission denied in Linux

2011-03-31 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/31/2011 07:41 PM, John Harrison wrote:
 Can you say more about disis netsend vs netsend?

use iemnet/udpsend :-)
(or mrpeach/udpsend)

 
 Btw I've been using netsend and netreceive to broadcast through a network on
 linux without problems for years. My guess is you have a firewall up...

unlikely.
if the firewall  would be the problem, then you wouldn't get an error on
the console.
broadcast means to send to all those who are listening.
a firewall impairs the listening capabilities, not the sending capabilities.


mgasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2Uw4UACgkQkX2Xpv6ydvRhSQCgveNW1C3lWeVYd6AErIWYcobh
OIoAoNfLNZ6YACiSWN3yYijpVODb03zs
=MzaL
-END PGP SIGNATURE-

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


Re: [PD] Looking for partconv darwin for mac

2011-03-31 Thread chris clepper
I made a Mac version (and wrote a lot of Altivec PPC code) for partconv~
many years ago.  It should be part of extended.

I don't think partitioned convolution is really what you want for the sound
you describe.  The typical use for partitioned convolution is for reverb and
other time based effects that are static.  You would have to make a set of
impulse responses artificially and cross fade between them (or make one long
IR).



On Thu, Mar 31, 2011 at 1:07 PM, Jack Kalish j...@jackkalish.com wrote:

 Hey Y'all,
 I'm trying to accomplish convolution in PD. I understand there is a
 partconv external available, but I cannot find the Darwin file to do
 it on a Mac.

 Essentially, what I am trying to accomplish is to have a sound that
 sounds like static/noise, but over time musicality emerges out of the
 sound. From my understanding, convolution is a good method by which to
 achieve this effect. But, I am open to other suggestions.

 Any help would be great! Thanks you!

 Jack Kalish
 www.jackkalish.com

 ___
 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] access to pd table from another application

2011-03-31 Thread Mathieu Bouchard

On Thu, 31 Mar 2011, IOhannes m zmölnig wrote:

On 03/31/2011 02:00 AM, Billy Stiltner wrote:

GLUT absolutely wants to run an infinite loop, otherwise it will not give
you any events. Therefore you can't run it in the same thread as pd's
event loop.

That must have been what kept me from using it as well.

though it's not true.
you can run the glut loop yourself (e.g. Gem/src/Output/gemglutwindow.cpp)


glutMainLoopEvent is Linux-only.

glutCheckLoop is OSX-only.

thus neither exists on Win32.

the GLUT 3 standard does not have anything for that.

much of the point of GLUT is so that GL-application writers have a 
portable layer.


there has to be reasons why Gem/src/Output also contains 
gemcocoawindow.mm, gemglxwindow.cpp, gemmacwindow.cpp and 
gemw32window.cpp.


thus it's quite simplistic to say it's not true.

 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] List delete carnage - 2 questions

2011-03-31 Thread Mathieu Bouchard

On Tue, 29 Mar 2011, Frank Barknecht wrote:


Your list-drip.pd was included in [list]-abs at about that time. Message boxes
are used in a handful of objects to speed things up, but probably some more
places would be useful. I don't remember ATM if message box storage works fine
with pointers as well, but there are objects where only floats would be allowed
anyway.


consistency check failed: bad item in binbuf

while trying to output a gem pointer from a messagebox. not a real pd 
pointer though. note that it does not complain while putting the pointer 
in the binbuf using 'set' or 'add2', only when trying to output it.


i'll let you make the test using true pd pointers because I never remember 
how to use them, not to mention why t_gpointer and t_gstub have to exist 
at all.


 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Looking for partconv darwin for mac

2011-03-31 Thread Jack Kalish
Thanks.
What is the extended? If you meant the extended version of PD, I
have that, and partconv is not available.

I get this error message when I try to use it:
partconv~ ir 2048
... couldn't create

I will look into impulse response. Is there an object in PD for
creating impulse responses?

-jack

On Thu, Mar 31, 2011 at 2:14 PM, chris clepper cgclep...@gmail.com wrote:
 I made a Mac version (and wrote a lot of Altivec PPC code) for partconv~
 many years ago.  It should be part of extended.

 I don't think partitioned convolution is really what you want for the sound
 you describe.  The typical use for partitioned convolution is for reverb and
 other time based effects that are static.  You would have to make a set of
 impulse responses artificially and cross fade between them (or make one long
 IR).



 On Thu, Mar 31, 2011 at 1:07 PM, Jack Kalish j...@jackkalish.com wrote:

 Hey Y'all,
 I'm trying to accomplish convolution in PD. I understand there is a
 partconv external available, but I cannot find the Darwin file to do
 it on a Mac.

 Essentially, what I am trying to accomplish is to have a sound that
 sounds like static/noise, but over time musicality emerges out of the
 sound. From my understanding, convolution is a good method by which to
 achieve this effect. But, I am open to other suggestions.

 Any help would be great! Thanks you!

 Jack Kalish
 www.jackkalish.com

 ___
 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] access to pd table from another application

2011-03-31 Thread Billy Stiltner
On 3/31/11, Mathieu Bouchard ma...@artengine.ca wrote:
 On Thu, 31 Mar 2011, IOhannes m zmölnig wrote:
 On 03/31/2011 02:00 AM, Billy Stiltner wrote:
 GLUT absolutely wants to run an infinite loop, otherwise it will not
 give
 you any events. Therefore you can't run it in the same thread as pd's
 event loop.
 That must have been what kept me from using it as well.
 though it's not true.
 you can run the glut loop yourself (e.g. Gem/src/Output/gemglutwindow.cpp)

 glutMainLoopEvent is Linux-only.

 glutCheckLoop is OSX-only.

 thus neither exists on Win32.

 the GLUT 3 standard does not have anything for that.

 much of the point of GLUT is so that GL-application writers have a
 portable layer.

 there has to be reasons why Gem/src/Output also contains
 gemcocoawindow.mm, gemglxwindow.cpp, gemmacwindow.cpp and
 gemw32window.cpp.

 thus it's quite simplistic to say it's not true.

   ___
 | Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC


Mathieu you might want to check this out
http://www.transmissionzero.co.uk/software/freeglut-devel/
says he has dlls compiled that are compatible with both mingw and vc++.

There is no mention in the freeglut api reference about eventloop
being linux and mac only.

IOhannes, thanks for pointing that out. I guess what I should do is
just look at how glut manages the keyboard and mouse on all 3
platforms.

The GEM sourcecode I have is from L2ork I'm not sure if it has been
modified or not. I'll have to download the actual GEM source. Is there
a difference between GEM that comes with pd extended and GEM from the
main source?

I have had success with the javasocketbridge establishing a connection
to pd and sending messages through tcp from firefox. the problem is
that the page reloads if I hit a form button to send a second message
and erases all the information in the form. The original html did not
have the form buttons wrapped in a form/form object so i will try
removing the form/form Maybe with html5 a canvas would be
preferred over form elements anyways.
I do get a dialog that looks like it is respawning the
javasocketbridge class when the button is hit. which did not happen
before I added the form wrapper. The button i not a submit button
either. But it is good news that this works. I am uncertain though how
to get netsend to send data to the javasocketbridge once it is
connected to the netreceive object in pd. javasocketbridge only allows
one connection at a time.

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


Re: [PD] pd latency on puredyne 9.10 with Nvidia HDA

2011-03-31 Thread Billy Stiltner
Ok this is crazy I changed the priority of pd, pdgui, and jackd to -20
and the audio doe's not glitch now and there are no dropouts with
Ubuntu Studio 10.10. Still working on puredyne. but a big duh to me.
Ubuntu still has some cpu issues though. The cpu usage is really high.
probably the power management settings. Thanks everyone for your help
it is  very much appreciated.

On 3/30/11, Billy Stiltner billy.stilt...@gmail.com wrote:
 On 3/30/11, joel silvestre j.silves...@wanadoo.fr wrote:
 Just in case, do you run pd with the rt flag?

 Joël


 Sometimes

 Thanks for thinking of that.
 I'm thinking it is a hardware problem or some kind of kernel configuration.
 I sent my patch to someone and it ran with smooth audio and  a very
 low cpu load.
 Cpu load on my machine goes up to 73% or so on UBUNTU studio 10.10.
 The cpu load is very high with that linux at all times. It is the
 opposite with windows cpu load is normally low and memory use is high.
 Could be the power settings in linux. I have not messed with the power
 settings.


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