[PD] more output channels problem

2013-03-14 Thread Fero Kiraly
Hi friends,

I cant set up more than  2 audio channels outputs.
Inputs are working correctly (I use 4 with no problems)

When I'am trying it hangs with segfault.

pd-extended 0.43-4
archlinux
jack
presonus 1818VSL
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] subnormal numbers explained

2013-03-14 Thread James Dunn

Quoth katja, on 13/03/2013 10:14:
Subnormal numbers are a pain in the ass, they cause substantially 
increased CPU load without doing anything useful for audio DSP. 
Unfortunately it can happen in some Pd objects (notably [freeverb~]), 
and spoil the performance of a Pd patch.
Yes I eventually found this out and started putting [freeverb~] in a 
subpatch with a [env~] connected to [sel 0] and then to a [switch~] 
object to turn off dsp when the reverb tail has finished. The logic 
ended up getting quite complicated but it did the job!


James

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


[PD] Syphonserver/client for pd

2013-03-14 Thread Pagano, Patrick
Helo

Does anyne have a working syphonserver.pd_darwin?

I had a version working with Gem92, but 93.x no worky
i am hoping someone could share their lib
I am on OSX obviously i would like to use the most recent pd-extendd release 
but i will roll back to 42-5 if someone has a working version i can use for an 
upcoming show

pp

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


Re: [PD] Jack support on Windows

2013-03-14 Thread Esteban Viveros
People I made a very stupid mistake..! :/ hehehehehe

Jack don't need a new pd-extended compilation to work together.
Jack run over asio driver in windows. All software with asio support
can see jackrouter in asio on driver settings.

I have tested it with pd-extended 0.43.4 windows version downloaded
today 14/03/2013 and Live 8 and Live 9.

The unique specificity is that in Live 8, we need to run all in
administrator
mode, jack and pd-extended.

ps.: in last pd-extended 0.43.4 version at this moment I can't see any
problem has as happening in wild compilation.


2013/2/11 Hans-Christoph Steiner h...@at.or.at


 The 0.44.0 nightly builds include Jack for Windows support, if you want to
 try.

 .hc

 On Feb 3, 2013, at 8:12 PM, Esteban Viveros wrote:

 The 0.44 are working with jack? I can test it..(?)


 2013/2/3 Hans-Christoph Steiner h...@at.or.at


 That's a bummer, but I don't think this story is over, so leave the wiki.
  I
 think that Jack on Windows is relatively new, so its going to have little
 problems.  And through contributions like yours, it will get better.

 For example, I included the jack for windows stuff in pd-extended 0.44,
 so the
 nightly builds should include it starting tomorrow:
 http://autobuild.puredata.info/auto-build/2013-02-04/

 .hc

 On 02/03/2013 07:20 PM, Esteban Viveros wrote:
  ok... I yeld...  That solution don't work well yet..
 
  When I disable UAC settings in Windows the only thing happend is the app
  can start itself in administrator mode...
 
  The problem is when I run pd in administrator mode, it are bugged... It
  can't load objects correctly like a video I send previously.
 
  Is the best thing delete the wiki??
 
 
  2013/1/28 Esteban Viveros emvive...@gmail.com
 
  Ok.. Now we have some information on wiki page..
 
  http://puredata.info/docs/PdExtended0434JackAbletonLive8
 
  Ready to changes..! ;)
 
 
  2013/1/28 Hans-Christoph Steiner h...@at.or.at
 
 
  This is great!  Could you create a wiki page here and put the info
 there?
  That's an easy place for people to find it when they are trying to
 set it
  up
  themselves.
 
  http://puredata.info/docs/
 
  .hc
 
  On 01/28/2013 12:56 PM, Esteban Viveros wrote:
  At this moment I can use ableton live and pd with jack with a custom
  compiled version of pd-extended.. You can try in your setup and
 relate
  if
  that work or you too..
 
  You need:
 
  pd-extended jack built:
  https://docs.google.com/file/d/0B6TScIMkPOGJSHdwZzJVM19CQ00/edit
  Jack Audio: *Mixed 64/32 bit JACK 1.9.9* in
  http://jackaudio.org/download
 
  Read this:
  To install Jack: http://jackaudio.org/jack_on_windows
  Probably you need Asio4All, at now the website of asio4all is out,
 but
  you
  can download it here for example: http://asio4all.softonic.com.br/
 
  After uncompress pd-extended, install correctly jack, you need to
 change
  UAC settings in your windows. In my case I'm using Windows 7 x64,
 and it
  solve all the problems with Ableton Live, Jack and pd sync.
  To change UAC settings (disabling):
  http://www.petri.co.il/disable-uac-in-windows-7.htm
 
  Hope it's works!
 
 
 
  2013/1/28 batinste dwanaf...@yahoo.fr
 
   pd in Live... I'm drooling. Keep us posted about how well you make
 it
  work with a recent pd version, i'm very interested.
 
 
  On 28/01/2013 12:45, Esteban Viveros wrote:
 
  That's sound very nice!
 
   I will try to install on Ableton pdvst again in the coming days. It
  will
  be very good to get everything running cool place .. ;)
 
   I will also open a new topic to better organize the topic for
 future
  google research .. Ok?
 
 
  2013/1/27 Hans-Christoph Steiner h...@at.or.at
 
   On 01/27/2013 01:49 PM, Patrice Colet wrote:
 
 
  De: Esteban Viveros emvive...@gmail.com
 
  Some time ago I tried to run pdvst without sucess.
 
  ah if you put the vststuff.dll into vstplugin directory, and the
  pdvst
  folder that contains vststuff.pd patches vststuff.pdv files along
  with the
  vst host executable (it should be 'Program' folder for Ableton
 Live)
  it
  should be ok.
 
  I've started some time ago to give a try into recompiling pdvst
 with
  a
  recent pd version, but no success yet.
  It would be nice to have some patches to apply into pd-extended
  sources
  for having an actual pdvst version, but if I'm the only one
  interested into
  using this, it might not be worth the effort.
 
   I've never looked at those patches because I've never really used
  VSTs.
   But
  post them here and I'll look at them.  If its possible to include
  them,
  I'm up
  for it.  I think I remember that pdvst has a custom scheduler.  The
  best
  thing
  then would be to port it to the new pluggable scheduler stuff used
 by
  pd~
 
  .hc
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
  http://lists.puredata.info/listinfo/pd-list
 
 
 
 
   --
 
  Esteban Viveros
 
  (27) 8815 7170
  (27) 3066 0359
  (11) 95761 4125
  (11) 2738 7868

[PD] Pd-extended stopped working

2013-03-14 Thread Òscar Martínez Carmona
Yesterday I was doing some patch and pd got jammed, got to force quit and
when I restarted it was still getting stuck. So I decided to remoce the
application (with Appcleaner) and downloading/installing the package. So I
did but the problem persists!!
WTF?? What can I do??
(My computer is a late 2008 MacBook 2.1GHZ Core 2 Duo 4GB with OSX 10.7
running on it)
Thanx!


-- 
Òscar Martínez Carmona
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd-extended stopped working

2013-03-14 Thread Nicolas Montgermont


I think 10.7 make pd trying to reopen the last patch opened at launch.
I don't know if applcleaner clean this.
Try to erase the directory :
~/Library/Saved Application State/org.pdextended.something...

To disable completely, see here for example:
http://hints.macworld.com/article.php?story=20110918051930924

forget 10.7...
n

Le 14/03/13 15:59, Òscar Martínez Carmona a écrit :
Yesterday I was doing some patch and pd got jammed, got to force quit 
and when I restarted it was still getting stuck. So I decided to 
remoce the application (with Appcleaner) and downloading/installing 
the package. So I did but the problem persists!!

WTF?? What can I do??
(My computer is a late 2008 MacBook 2.1GHZ Core 2 Duo 4GB with OSX 
10.7 running on it)

Thanx!




--
http://nim.on.free.fr

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


[PD] can't load pdp

2013-03-14 Thread oscar santis
I can't load pdp in Pure Data 0.43.0-4 and Pure Data 0.43.4-extended. I
work with Ubuntustudio 12.04 running in an Acer Aspire One.
In vanilla I wrote pdp at startup setting and console says

/usr/lib/pd/extra/pdp.pd_linux: /usr/lib/libgsl.so.0: undefined symbol:
cblas_dasum
pdp: can't load library

I installed pd-pdp from repository and libgsl0ldbl

Thanks

-- 
óscar santis
escultor, pintor, ruidista
http://www.oscarsantis.cl
http://www.flickr.com/oscarsantis
http://www.soundcloud.com/oscarsantis
tel: ++ 56 9 84280381
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] can't load pdp

2013-03-14 Thread Pagano, Patrick
get the working version from the pd-extended download

pp

From: pd-list-boun...@iem.at [pd-list-boun...@iem.at] on behalf of oscar santis 
[pelaosan...@gmail.com]
Sent: Thursday, March 14, 2013 11:25 AM
To: pd-list@iem.at
Subject: [PD] can't load pdp

I can't load pdp in Pure Data 0.43.0-4 and Pure Data 0.43.4-extended. I work 
with Ubuntustudio 12.04 running in an Acer Aspire One.
In vanilla I wrote pdp at startup setting and console says

/usr/lib/pd/extra/pdp.pd_linux: /usr/lib/libgsl.so.0: undefined symbol: 
cblas_dasum
pdp: can't load library

I installed pd-pdp from repository and libgsl0ldbl

Thanks

--
óscar santis
escultor, pintor, ruidista
http://www.oscarsantis.cl
http://www.flickr.com/oscarsantis
http://www.soundcloud.com/oscarsantis
tel: ++ 56 9 84280381
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Missing pdp objects in pd-extended

2013-03-14 Thread dreamer
On Thu, Mar 14, 2013 at 12:49 AM, dreamer drea...@puikheid.nl wrote:

 Odd, these are actually installed in /usr/lib/pd-extended/extra/pdp/
 Strange that they are not found then. If I add this path it gets removed
 again after restarting pd.


I now added this path in .pdextended and it shows up in the preferences.
However it still doesn't load these objects.






 I was browsing the help and looking at pdp/examples/example01.pd (and
 others) I am missing:
 
 pdp_conv_sobel_edge
 pdp_motion_phase
 pdp_gradient
 pdp_blur
 pdp_grey
 pdp_saturation
 pdp_cheby3o
 pdp_save_png_sequence
 pdp_diff
 pdp_agc
 pdp_contrast
 pdp_motion_fade
 pdp_pps

 I don't know if these where ever part of pd-extended. Have they been
 removed?
 This makes most of the examples pretty useless.

 --
 http://www.fastmail.fm - Accessible with your email software
   or over the web



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


[PD] More Sensor Questions inc libfreenect on the Rpi

2013-03-14 Thread Julian Brooks
Hi again,

So after some more research I've come to the conclusion that the
ultrasonics aren't going to do what I would like - not a wide enough beam
and unnecessary accuracy.

Perhaps if I say what I would like 'something' to do, someone may say oh,
you want one, two, n of *these*.

I have a digital wind chime thingy that now works ok on the RPi.  What I
would like is to be able to put it outdoors with *something* that will
*see*when large objects, like people, are coming towards and moving
away from it
and then I can make use of that data to send force in pmpd to the chimes
and then the chimes can klang into each other.

Been looking at the kinects but it seems I'll need GEM to be able to
explore Matthias's very excellent looking freenect lib which is a no-no on
the RPi currently.

My friend and I have rounded up a nice solar panel, we've got some old
broken soundstick speakers that we've hacked into and a weather-proof box
plus a pole to hang it all on.  Should be a nice little project when it's
done but a we're bit stuck on this problem at the moment...

Any suggestions people?

Cheers,

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


[PD] Send Key Commands to PD w/ -nogui without X (from console)

2013-03-14 Thread me.grimm
How can I best send key commands to pd when i do -nogui from console
(no x windows) to be received with [key], for example? im on
raspbian/linux

my google searches have not ended so well on this subject

m

-- 

m.e.grimm | m.f.a | ed.m.
megr...@gmail.com
_

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


Re: [PD] Send Key Commands to PD w/ -nogui without X (from console)

2013-03-14 Thread James Dunn

Quoth me.grimm, on 14/03/2013 16:57:

How can I best send key commands to pd when i do -nogui from console
(no x windows) to be received with [key], for example? im on
raspbian/linux

my google searches have not ended so well on this subject

m


use [hid] and read this:

http://puredata.info/docs/tutorials/HowToReadHIDDevicesInLinuxWithoutBeingRoot

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


Re: [PD] Pd-extended stopped working

2013-03-14 Thread Nicolas Montgermont

back on the list.

tilde is your home. it must be /Users/yourname/Library/Saved 
Application State

otherwise can you run pd in a terminal with -stderr:
/Applications/Pd-extended.app/Contents/Resources/bin/pdextended -stderr
and report here.

which version of pd?

good luck!
n

Le 14/03/13 18:09, Òscar Martínez Carmona a écrit :
Hey, thanx for replying, i've just tried that and cant find that 
directory, neither on the terminal and I've reinstalled pd several 
times, another solution? Thanx!


El dijous 14 de març de 2013, Nicolas Montgermont ha escrit:


I think 10.7 make pd trying to reopen the last patch opened at launch.
I don't know if applcleaner clean this.
Try to erase the directory :
~/Library/Saved Application State/org.pdextended.something...

To disable completely, see here for example:
http://hints.macworld.com/article.php?story=20110918051930924

forget 10.7...
n

Le 14/03/13 15:59, Òscar Martínez Carmona a écrit :

Yesterday I was doing some patch and pd got jammed, got to
force quit and when I restarted it was still getting stuck. So
I decided to remoce the application (with Appcleaner) and
downloading/installing the package. So I did but the problem
persists!!
WTF?? What can I do??
(My computer is a late 2008 MacBook 2.1GHZ Core 2 Duo 4GB with
OSX 10.7 running on it)
Thanx!



-- 
http://nim.on.free.fr


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



--
Òscar Martínez Carmona



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


Re: [PD] Send Key Commands to PD w/ -nogui without X (from console)

2013-03-14 Thread me.grimm
hmmm... i forgot about that. I will try it...

no way in vanilla i take it?

m


On Thu, Mar 14, 2013 at 1:17 PM, James Dunn ja...@4thharmonic.com wrote:
 Quoth me.grimm, on 14/03/2013 16:57:

 How can I best send key commands to pd when i do -nogui from console
 (no x windows) to be received with [key], for example? im on
 raspbian/linux

 my google searches have not ended so well on this subject

 m

 use [hid] and read this:

 http://puredata.info/docs/tutorials/HowToReadHIDDevicesInLinuxWithoutBeingRoot



-- 

m.e.grimm | m.f.a | ed.m.
megr...@gmail.com
_

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


Re: [PD] Send Key Commands to PD w/ -nogui without X (from console)

2013-03-14 Thread James Dunn

Quoth me.grimm, on 14/03/2013 17:21:

hmmm... i forgot about that. I will try it...

no way in vanilla i take it?

m



not that I'm aware of

James

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


Re: [PD] TCP/IP communication from the unix server to the Pure Data

2013-03-14 Thread Petar Jercic
Martin , thank you for everything, I got it working now even with 
floating point numbers, here is the rundown of the method


[solved]
BUT BEFORE FOLLOWING THIS, NOTE THAT FLOATING POINT NUMBER IS SOMETHING 
THAT YOU DON'T WANT TO PARSE, IF YOU LIKE YOUR NERVES.


The first problem is
1. Error was in using on the server side an ntohl() on a float number, 
which corrupts it heavily. Mark my words, ntohl() is an enemy of the float.
Just receive it reversed and manually work out the conversion, you HAVE 
to do it manually anyways :P


2. Float is a complex standard, even more complex when Pure Data 
converts everything to decimal partially per byte. Separate Mantissa, 
Exponent and Sign using bitwise operators [][], and work out the 
float conversion.
Follow this thread for Mantissa, that one is the hardest Convert 
floating point number from binary to a decimal number 
http://stackoverflow.com/questions/15393113/convert-floating-point-number-from-binary-to-a-decimal-number/


Good luck ^^

//Petar

On 13/3/13 1:51 PM, Martin Peach wrote:
I attached a patch that should reconstruct a long if it's bigendian, 
although it doesn't give 100 for the sequence you provided...


The floating point numbers are more difficult, you need to separate 
the sign, exponent and mantissa and then put it all together.


Martin

On 2013-03-13 06:08, Petar Jercic wrote:

Wow, these methods you proposed made me realize that I was using the
wrong endian method on my UNIX server, it has to be ntohl(). Now I got
it correct, and I am receiving data (bytes) in the correct order.

*: 0 0 0 2 0 10 114 26 0 0 0 51 0 16 242 78
*
Sample data might be 2 100 51 2000.56, which could be read in the
data ... somewhat :)*

**Now my question is, how do I get four compact numbers to work with?*
Now I have a series of bytes, but at least in the correct order.

I haven't been able to extract the data using [bytes2any] and [route],
so I prepared a small patch to demonstrate the problem, maybe you can
show me by modifying it?

//Petar

On 11/3/13 2:31 PM, Martin Peach wrote:

On 2013-03-10 17:58, Petar Jercic wrote:

Sorry, I can't use ASCII text as communication method, since I plan to
send large quantities of data at high speed rates, I need to 
optimize it

as much as possible. Compared to streaming bytes, ASCII is inefficient
up to a several orders of magnitude.

Is there a method for correct endianness in Pure Data, like these C
functions:

ntohs()--Network to Host Short
ntohl()--Network to Host Long


You can do that with Pd like this (ntohs):

[unpack 0 0]
|  |
[* 256]|
|  |
[+  ]
|
[   \

or

[unpack 0 0]
|  |
|  [* 256]
|  |
[+  ]
|
[   \

for littleendian.

Floats are harder but still possible. The main difficulty is in
splitting the incoming stream in the right places. (I think ASCII is
not orders of magnitude slower, and it is also less ambiguous).

Martin





On 09/3/13 5:15 PM, Martin Peach wrote:

It's probably safer to get the server to send the numbers as ASCII
text, to avoid disagreements about endianness and floating-point
representation.
Then, to extract the numbers, you could use [moocow/bytes2any] or 
make

a custom parser using [pdlua].

Martin


On 2013-03-09 10:55, Petar Jercic wrote:

Apparently [netclient] on the Pure Data side cannot receive nothing
else
than ; delimited messages.
So the solution for the problem:
*My question is, is there a way to send something other than string
message to Pure Data, like byte-stream or serialized number stream?
Can
Pure Data receive such messages?*

The solution is to use [tcpclient], it can receive byte-stream data.

Now I have another problem regarding the data read, on how to
convert it
back to usable numbers.

 From my UNIX server I am sending a structure

typedef struct {
 int var_code;
 intsample_time;
 int hr;
 floaths;
} phy_data;

Sample data might be 2 100 51 2000.56

When received and printed  in Pure Data I get output like this:

 : 2 0 0 0 104 34 9 0 51 0 0 0 235 50 48 69

You can notice number 2 and number 51 clearly, I guess the others 
are

correct as well. Might be some network inversion of LSB/MSB.

*How can I get these numbers back to a usable format and get them in
separate variables?

*//Petar*
*


___
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] Send Key Commands to PD w/ -nogui without X (from console)

2013-03-14 Thread Jonathan Wilkes
- Original Message -

 From: me.grimm megr...@gmail.com
 To: James Dunn ja...@4thharmonic.com
 Cc: pd_list Listserve pd-list@iem.at
 Sent: Thursday, March 14, 2013 1:21 PM
 Subject: Re: [PD] Send Key Commands to PD w/ -nogui without X (from console)
 
 hmmm... i forgot about that. I will try it...
 
 no way in vanilla i take it?

Sure...
1) Put a [netreceive 4321] in a patch like so:
[netreceive 4321]
|
[220 250, 330 300 2500, 440 300 3800, 550 75 6000, 525 20 6250, 0 300 9000; pd 
dsp 1(
|
[vline~]
|
[osc~]
|
[dac~]

2) In a terminal type:
pdsend 4321

3) the 'pdsend' program waits for FUDI input (selector args semicolon) so 
type something like:
Hello World;

4) The message Hello World will come out the left outlet of [netreceive] and 
trigger the sound

So if you're ok typing FUDI messages like this example to trigger commands, 
all you need is to
type a command like play; or stop; or whatever and [route] it when it comes 
out netreceive's
outlet.

If you want to trigger events more efficiently you probably need a shell script 
that catches your
input and converts it to ascii numbers and then hands it over to pdsend, one 
character at a
time (not sure how to do that).  That way you'd just be sending sequences of 
numbers like
113;, 104;, etc. and [routing] them when they come out of netreceive.

You can also use the old behavior of netreceive which interprets the selector 
of your
message as the receive symbol.  You could then generate genuine key events 
(i.e.,
key 1 114 0 1 that will be received by [key] objects.  But then if someone 
happens to
get inside your network and find that port open, they can start building 
arbitrary Pd patches
on your machine. :)

-Jonathan

 
 m
 
 
 On Thu, Mar 14, 2013 at 1:17 PM, James Dunn ja...@4thharmonic.com wrote:
  Quoth me.grimm, on 14/03/2013 16:57:
 
  How can I best send key commands to pd when i do -nogui from console
  (no x windows) to be received with [key], for example? im on
  raspbian/linux
 
  my google searches have not ended so well on this subject
 
  m
 
  use [hid] and read this:
 
 
 http://puredata.info/docs/tutorials/HowToReadHIDDevicesInLinuxWithoutBeingRoot
 
 
 
 -- 
 
 m.e.grimm | m.f.a | ed.m.
 megr...@gmail.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] Send Key Commands to PD w/ -nogui without X (from console)

2013-03-14 Thread me.grimm
 3) the 'pdsend' program waits for FUDI input

this might be the best solution for now until i take a look into the
shell scripting you suggested. although, how to make it all on one
line (one command). Variations in this:

megrimm-mbp:~ megrimm$ (pd -open netreceive-help.pd ) ; (pdsend 3000)

fail or me.

m



On Thu, Mar 14, 2013 at 3:05 PM, Jonathan Wilkes jancs...@yahoo.com wrote:
 - Original Message -

 From: me.grimm megr...@gmail.com
 To: James Dunn ja...@4thharmonic.com
 Cc: pd_list Listserve pd-list@iem.at
 Sent: Thursday, March 14, 2013 1:21 PM
 Subject: Re: [PD] Send Key Commands to PD w/ -nogui without X (from console)

 hmmm... i forgot about that. I will try it...

 no way in vanilla i take it?

 Sure...
 1) Put a [netreceive 4321] in a patch like so:
 [netreceive 4321]
 |
 [220 250, 330 300 2500, 440 300 3800, 550 75 6000, 525 20 6250, 0 300 9000; 
 pd dsp 1(
 |
 [vline~]
 |
 [osc~]
 |
 [dac~]

 2) In a terminal type:
 pdsend 4321

 3) the 'pdsend' program waits for FUDI input (selector args semicolon) 
 so type something like:
 Hello World;

 4) The message Hello World will come out the left outlet of [netreceive] 
 and trigger the sound

 So if you're ok typing FUDI messages like this example to trigger commands, 
 all you need is to
 type a command like play; or stop; or whatever and [route] it when it 
 comes out netreceive's
 outlet.

 If you want to trigger events more efficiently you probably need a shell 
 script that catches your
 input and converts it to ascii numbers and then hands it over to pdsend, one 
 character at a
 time (not sure how to do that).  That way you'd just be sending sequences of 
 numbers like
 113;, 104;, etc. and [routing] them when they come out of netreceive.

 You can also use the old behavior of netreceive which interprets the 
 selector of your
 message as the receive symbol.  You could then generate genuine key events 
 (i.e.,
 key 1 114 0 1 that will be received by [key] objects.  But then if someone 
 happens to
 get inside your network and find that port open, they can start building 
 arbitrary Pd patches
 on your machine. :)

 -Jonathan


 m


 On Thu, Mar 14, 2013 at 1:17 PM, James Dunn ja...@4thharmonic.com wrote:
  Quoth me.grimm, on 14/03/2013 16:57:

  How can I best send key commands to pd when i do -nogui from console
  (no x windows) to be received with [key], for example? im on
  raspbian/linux

  my google searches have not ended so well on this subject

  m

  use [hid] and read this:


 http://puredata.info/docs/tutorials/HowToReadHIDDevicesInLinuxWithoutBeingRoot



 --
 
 m.e.grimm | m.f.a | ed.m.
 megr...@gmail.com
 _

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




-- 

m.e.grimm | m.f.a | ed.m.
megr...@gmail.com
_

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


Re: [PD] TCP/IP communication from the unix server to the Pure Data

2013-03-14 Thread Martin Peach

OK, I added two externals into svn at
http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/mrpeach/serializer/
[b2f] will take four bytes and return a float, while [f2b] takes a float 
and outputs four bytes. (This is really easy in c...)
Of course it only works if the floating-point format is the same at both 
ends.


Martin

On 2013-03-14 13:41, Petar Jercic wrote:

Martin , thank you for everything, I got it working now even with
floating point numbers, here is the rundown of the method

[solved]
BUT BEFORE FOLLOWING THIS, NOTE THAT FLOATING POINT NUMBER IS SOMETHING
THAT YOU DON'T WANT TO PARSE, IF YOU LIKE YOUR NERVES.

The first problem is
1. Error was in using on the server side an ntohl() on a float number,
which corrupts it heavily. Mark my words, ntohl() is an enemy of the float.
Just receive it reversed and manually work out the conversion, you HAVE
to do it manually anyways :P

2. Float is a complex standard, even more complex when Pure Data
converts everything to decimal partially per byte. Separate Mantissa,
Exponent and Sign using bitwise operators [][], and work out the
float conversion.
Follow this thread for Mantissa, that one is the hardest Convert
floating point number from binary to a decimal number
http://stackoverflow.com/questions/15393113/convert-floating-point-number-from-binary-to-a-decimal-number/

Good luck ^^

//Petar

On 13/3/13 1:51 PM, Martin Peach wrote:

I attached a patch that should reconstruct a long if it's bigendian,
although it doesn't give 100 for the sequence you provided...

The floating point numbers are more difficult, you need to separate
the sign, exponent and mantissa and then put it all together.

Martin

On 2013-03-13 06:08, Petar Jercic wrote:

Wow, these methods you proposed made me realize that I was using the
wrong endian method on my UNIX server, it has to be ntohl(). Now I got
it correct, and I am receiving data (bytes) in the correct order.

*: 0 0 0 2 0 10 114 26 0 0 0 51 0 16 242 78
*
Sample data might be 2 100 51 2000.56, which could be read in the
data ... somewhat :)*

**Now my question is, how do I get four compact numbers to work with?*
Now I have a series of bytes, but at least in the correct order.

I haven't been able to extract the data using [bytes2any] and [route],
so I prepared a small patch to demonstrate the problem, maybe you can
show me by modifying it?

//Petar

On 11/3/13 2:31 PM, Martin Peach wrote:

On 2013-03-10 17:58, Petar Jercic wrote:

Sorry, I can't use ASCII text as communication method, since I plan to
send large quantities of data at high speed rates, I need to
optimize it
as much as possible. Compared to streaming bytes, ASCII is inefficient
up to a several orders of magnitude.

Is there a method for correct endianness in Pure Data, like these C
functions:

ntohs()--Network to Host Short
ntohl()--Network to Host Long


You can do that with Pd like this (ntohs):

[unpack 0 0]
|  |
[* 256]|
|  |
[+  ]
|
[   \

or

[unpack 0 0]
|  |
|  [* 256]
|  |
[+  ]
|
[   \

for littleendian.

Floats are harder but still possible. The main difficulty is in
splitting the incoming stream in the right places. (I think ASCII is
not orders of magnitude slower, and it is also less ambiguous).

Martin





On 09/3/13 5:15 PM, Martin Peach wrote:

It's probably safer to get the server to send the numbers as ASCII
text, to avoid disagreements about endianness and floating-point
representation.
Then, to extract the numbers, you could use [moocow/bytes2any] or
make
a custom parser using [pdlua].

Martin


On 2013-03-09 10:55, Petar Jercic wrote:

Apparently [netclient] on the Pure Data side cannot receive nothing
else
than ; delimited messages.
So the solution for the problem:
*My question is, is there a way to send something other than string
message to Pure Data, like byte-stream or serialized number stream?
Can
Pure Data receive such messages?*

The solution is to use [tcpclient], it can receive byte-stream data.

Now I have another problem regarding the data read, on how to
convert it
back to usable numbers.

 From my UNIX server I am sending a structure

typedef struct {
 int var_code;
 intsample_time;
 int hr;
 floaths;
} phy_data;

Sample data might be 2 100 51 2000.56

When received and printed  in Pure Data I get output like this:

 : 2 0 0 0 104 34 9 0 51 0 0 0 235 50 48 69

You can notice number 2 and number 51 clearly, I guess the others
are
correct as well. Might be some network inversion of LSB/MSB.

*How can I get these numbers back to a usable format and get them in
separate variables?

*//Petar*
*


___
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 - 

Re: [PD] Send Key Commands to PD w/ -nogui without X (from console)

2013-03-14 Thread Jonathan Wilkes
- Original Message -

 From: me.grimm megr...@gmail.com
 To: Jonathan Wilkes jancs...@yahoo.com
 Cc: James Dunn ja...@4thharmonic.com; pd_list Listserve pd-list@iem.at
 Sent: Thursday, March 14, 2013 3:47 PM
 Subject: Re: [PD] Send Key Commands to PD w/ -nogui without X (from console)
 
  3) the 'pdsend' program waits for FUDI input
 
 this might be the best solution for now until i take a look into the
 shell scripting you suggested. although, how to make it all on one
 line (one command). Variations in this:
 
 megrimm-mbp:~ megrimm$ (pd -open netreceive-help.pd ) ; (pdsend 3000)
 
 fail or me.

I don't understand networking very well, but it looks like the netreceive
has to bind to the port first, and I think your script only waits until pd
process sucessfully starts (i.e., doesn't wait for it to load the patch) before
doing 'pdsend'.

Quick and dirty:
(pd -open netreceive-help.pd ); sleep 5  pdsend 3000

That way pdsend waits five seconds before executing, and the patch
should be loaded by then.

Maybe there's a shell guru here who can tell you how to wrap it up in
a script that automatically sends messages on each keydown event. :)

-Jonathan


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


Re: [PD] Send Key Commands to PD w/ -nogui without X (from console)

2013-03-14 Thread me.grimm
hey! that was pretty brilliant!

now w/ -stderr also prints to terminal:

(pd -nogui -stderr -open netreceive-help.pd ); sleep 5  pdsend 3000

 Maybe there's a shell guru here who can tell you how to wrap it up in
 a script that automatically sends messages on each keydown event. :)

yes!

m



On Thu, Mar 14, 2013 at 4:27 PM, Jonathan Wilkes jancs...@yahoo.com wrote:
 - Original Message -

 From: me.grimm megr...@gmail.com
 To: Jonathan Wilkes jancs...@yahoo.com
 Cc: James Dunn ja...@4thharmonic.com; pd_list Listserve pd-list@iem.at
 Sent: Thursday, March 14, 2013 3:47 PM
 Subject: Re: [PD] Send Key Commands to PD w/ -nogui without X (from console)

  3) the 'pdsend' program waits for FUDI input

 this might be the best solution for now until i take a look into the
 shell scripting you suggested. although, how to make it all on one
 line (one command). Variations in this:

 megrimm-mbp:~ megrimm$ (pd -open netreceive-help.pd ) ; (pdsend 3000)

 fail or me.

 I don't understand networking very well, but it looks like the netreceive
 has to bind to the port first, and I think your script only waits until pd
 process sucessfully starts (i.e., doesn't wait for it to load the patch) 
 before
 doing 'pdsend'.

 Quick and dirty:
 (pd -open netreceive-help.pd ); sleep 5  pdsend 3000

 That way pdsend waits five seconds before executing, and the patch
 should be loaded by then.

 Maybe there's a shell guru here who can tell you how to wrap it up in
 a script that automatically sends messages on each keydown event. :)

 -Jonathan




-- 

m.e.grimm | m.f.a | ed.m.
megr...@gmail.com
_

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


[PD] pdp_sdl on Raspberry Pi Fullscreen from Console (No X Win) Initial Findings / Working (Kind of)

2013-03-14 Thread me.grimm
From this post (SDL 1.2 with dispmanx backend):
http://www.raspberrypi.org/phpBB3/viewtopic.php?t=25146

I was able to get pdp_sdl working in fullscreen with hardware
acceleration. It is surprisingly fast. I was able to generate noise
(pdp_noise-help.pd) and play video (pdp_qt-help.pd) without an
Xwindows right from the console. I did it this way. Make sure you are
in the console only (no x window system).

To try it out:

get:
http://megrimm.net/press/wp-content/software/pdp_03.14.13.zip
http://megrimm.net/press/wp-content/software/sdl-dispmanx_03.14.13.zip
http://megrimm.net/press/wp-content/software/pdp-noise_sdl-test.pd

unzip:
/home/pi/pd-externals/pdp
/home/pi/Applications/SDL12-kms-dispmanx

copy/move:
/home/pi/Desktop/pdp-noise_sdl-test.pd

then:
export LD_LIBRARY_PATH=/home/pi/Applications/SDL12-kms-dispmanx/build/.libs
pd  pd -nogui -stderr -lib pdp -open
/home/pi/Desktop/pdp-noise_sdl-test.pd

To Do (Help?):
- I would like to figure out a way to just run the above command in a
.sh script. If we want to keep libsdl1.2debian stock then you have to
use export LD_LIBRARY_PATH to load pd/sdl with dispmanx backend. One
could just do a make install in the SDL12-kms-dispmanx directory but
that would effect the entire system replacing libsdl1.2debian
- I have modified pdp_sdl.c slightly to work with the dispmanx
backend. i have not figured out how to modify to EXIT sdl so at the
moment the only way to get out of the application is to reboot the
system.
- What is the best file format for pdp/rpi? The anim.mov at 320x240
(not sure of codec) was fast and smooth. I also tried a .mov 720x480
photo-jpeg 80megs that was slow and grainy.

If others are interested we can work together on this. Let me know.

Also im wondering. Might someone know the way to compile just pdp_sdl
as a stand alone? Right now every time i make a change I compile the
whole thing because im unschooled and code C by trial and error.

m


-- 

m.e.grimm | m.f.a | ed.m.
megr...@gmail.com
_

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


Re: [PD] Send Key Commands to PD w/ -nogui without X (from console)

2013-03-14 Thread Jack
Le 14/03/2013 21:38, me.grimm a écrit :
 hey! that was pretty brilliant!

 now w/ -stderr also prints to terminal:

 (pd -nogui -stderr -open netreceive-help.pd ); sleep 5  pdsend 3000

 Maybe there's a shell guru here who can tell you how to wrap it up in
 a script that automatically sends messages on each keydown event. :)
 yes!

 m



 On Thu, Mar 14, 2013 at 4:27 PM, Jonathan Wilkes jancs...@yahoo.com wrote:
 - Original Message -

 From: me.grimm megr...@gmail.com
 To: Jonathan Wilkes jancs...@yahoo.com
 Cc: James Dunn ja...@4thharmonic.com; pd_list Listserve pd-list@iem.at
 Sent: Thursday, March 14, 2013 3:47 PM
 Subject: Re: [PD] Send Key Commands to PD w/ -nogui without X (from console)

  3) the 'pdsend' program waits for FUDI input
 this might be the best solution for now until i take a look into the
 shell scripting you suggested. although, how to make it all on one
 line (one command). Variations in this:

 megrimm-mbp:~ megrimm$ (pd -open netreceive-help.pd ) ; (pdsend 3000)

 fail or me.
 I don't understand networking very well, but it looks like the netreceive
 has to bind to the port first, and I think your script only waits until pd
 process sucessfully starts (i.e., doesn't wait for it to load the patch) 
 before
 doing 'pdsend'.

 Quick and dirty:
 (pd -open netreceive-help.pd ); sleep 5  pdsend 3000

 That way pdsend waits five seconds before executing, and the patch
 should be loaded by then.

 Maybe there's a shell guru here who can tell you how to wrap it up in
 a script that automatically sends messages on each keydown event. :)

 -Jonathan



Hello,

Something like :
$ pd send startup A B C /path/to/your/patch.pd
should work if you have somewhere in your patch.pd a [r startup].
++

Jack



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


Re: [PD] More Sensor Questions inc libfreenect on the Rpi

2013-03-14 Thread Max
if you want it to work outside in sunlight, that's impossible with the kinect. 
the infrared from the sun is much stronger than the projector of the kinect and 
will turn the pattern invisible to the infrared camera on the kinect.

Am 14.03.2013 um 17:18 schrieb Julian Brooks jbee...@gmail.com:

 Hi again,
 
 So after some more research I've come to the conclusion that the ultrasonics 
 aren't going to do what I would like - not a wide enough beam and unnecessary 
 accuracy.
 
 Perhaps if I say what I would like 'something' to do, someone may say oh, 
 you want one, two, n of these.
 
 I have a digital wind chime thingy that now works ok on the RPi.  What I 
 would like is to be able to put it outdoors with something that will see when 
 large objects, like people, are coming towards and moving away from it and 
 then I can make use of that data to send force in pmpd to the chimes and then 
 the chimes can klang into each other.
 
 Been looking at the kinects but it seems I'll need GEM to be able to explore 
 Matthias's very excellent looking freenect lib which is a no-no on the RPi 
 currently.
 
 My friend and I have rounded up a nice solar panel, we've got some old broken 
 soundstick speakers that we've hacked into and a weather-proof box plus a 
 pole to hang it all on.  Should be a nice little project when it's done but a 
 we're bit stuck on this problem at the moment...
 
 Any suggestions people?
 
 Cheers,
 
 Julian
 ___
 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] SP-Brazil Meeting

2013-03-14 Thread Alexandre Torres Porres
another one next saturday :)

Em 28 de fevereiro de 2013 17:46, Alexandre Torres Porres
por...@gmail.comescreveu:

 Hi there, we're starting to organize some meetings on art
 software/hardware much like in the sense of the Patching Circles here
 announced, but not only devoted to patching like in Pd/Max, thus
 including text coding like Supercolider and also other environments like
 Processing and Arduino, etc.

 Newbies and experts, lets patch, code, hack and drink some beers, sorry
 for the following call only in portuguese;

 *Encontros Abertos Intermeios*

 Experimentação/Arte/Tecnologia

 Março 2013

 Convidamos interessados em ferramentas voltadas à criação artística
 multimídia (como: Pure Data, Max, SuperCollider, Processing, Arduíno,
 dentre outros) para uma reunião informal voltada à criação e
 desenvolvimento de projetos em arte e tecnologia. Aberto a todos, de
 iniciantes à usuários avançados, o evento visa promover encontros entre
 pessoas de diferentes áreas (programadores, artistas, designers, hackers,
 etc) para colaborarem em trabalhos individuais ou coletivos.

 Sábados, 02 e 16 de março.
 à partir das 14h00.

 Local: Intermeios

 Rua Luis Murat, 40 Pinheiros
 São Paulo - 05436-050

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


[PD] Fwd: SP-Brazil Meeting

2013-03-14 Thread Alexandre Torres Porres
another one next saturday :)

-- Mensagem encaminhada --
De: Alexandre Torres Porres por...@gmail.com
Data: 28 de fevereiro de 2013 17:46
Assunto: SP-Brazil Meeting
Para: pd-lista puredata pd-list@iem.at, pd-annou...@iem.at


Hi there, we're starting to organize some meetings on art software/hardware
much like in the sense of the Patching Circles here announced, but not only
devoted to patching like in Pd/Max, thus including text coding like
Supercolider and also other environments like Processing and Arduino, etc.

Newbies and experts, lets patch, code, hack and drink some beers, sorry for
the following call only in portuguese;

*Encontros Abertos Intermeios*

Experimentação/Arte/Tecnologia

Março 2013

Convidamos interessados em ferramentas voltadas à criação artística
multimídia (como: Pure Data, Max, SuperCollider, Processing, Arduíno,
dentre outros) para uma reunião informal voltada à criação e
desenvolvimento de projetos em arte e tecnologia. Aberto a todos, de
iniciantes à usuários avançados, o evento visa promover encontros entre
pessoas de diferentes áreas (programadores, artistas, designers, hackers,
etc) para colaborarem em trabalhos individuais ou coletivos.

Sábados, 02 e 16 de março.
à partir das 14h00.

Local: Intermeios

Rua Luis Murat, 40 Pinheiros
São Paulo - 05436-050
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] found how to reproduce Pd-ext 0.43.4 Tcl Invalid Command Name error

2013-03-14 Thread Hans-Christoph Steiner

That bug is not related, though I might look similar.  Any time you see things 
like .x2415b0 those are the unique IDs that Pd uses for each Window in the GUI. 
 .x2415b0: no such object basically means that Pd is trying to send a command 
to a window in the GUI, but that window does not currently exist (like it was 
closed) and Pd didn't get the message about that window closing.

This patch is a nice clear example, so it should be possible to track the bug 
down.  Marco, if you haven't already, can you add that patch tarball to a bug 
report in the tracker?  A reference to this thread would also be helpful.

.hc

On Mar 7, 2013, at 10:25 AM, Benjamin ~ 01xy wrote:

 Hello,
 
 I encountered a maybe similar bug clicking on the 0 button of the Hradio in 
 pix_video help patch :
 
 (Tcl) NOM DE COMMANDE INVALIDE : invalid command name .x8b1b038.c
 while executing
 .x8b1b038.c delete 8b26df8BASE0
 (uplevel body line 14)
 invoked from within
 uplevel #0 $cmds_from_pd
 
 In Pd-extended 0.43-4 on debian 32 bit with GEM: ver: 0.93.3 compiled: Jan 28 
 2013
 
 this bug disapear if I cut the wire of the left outlet of [pix_video] which 
 goes to [s $0-info]
 
 Bugs related ? : 
 http://sourceforge.net/tracker/index.php?func=detailaid=3522945group_id=55736atid=478070
 
 ++Benjamin
 
 Le 07/03/2013 12:33, Marco Donnarumma a écrit :
 hey thanks all for testing.
 
 At least we know it's consistent.
 Let's see if somebody has ideas about it.
 
 Let me know how can I help!
 Really wish to solve this.
 
 thanks!
 
 --
 Marco Donnarumma
 New Media + Sonic Arts Practitioner, Performer, Teacher, Director.
 Embodied Audio-Visual Interaction Research Team.
 Department of Computing, Goldsmiths University of London
 ~
 Portfolio: http://marcodonnarumma.com
 Research: http://res.marcodonnarumma.com
 Director: http://www.liveperformersmeeting.net
 
 
 On Thu, Mar 7, 2013 at 9:15 AM, batinste dwanaf...@yahoo.fr wrote:
 Hi
 
 Behaviour confirmed on ubuntu 12.10 64 bits and pd-ext 0.43.4.
 
 
 On 07/03/2013 02:02, Marco Donnarumma wrote:
 hey,
 
 dunno if you remember, but I still have this error (below) and now I 
 managed to make a small patch that reproduces it (attached).
 It seems related to the Hide flag for a 2nd level nested GOP patch.
 
 it'd be great if somebody could test it on linux and mac.
 I'm on Ubuntu Lucid 10.04, pd-ext 0.43.4
 
 how to reproduce:
 
 - launch MAIN-graph-bug.pd
 - click the bang to open a subpatch (if it doesn't at startup)
 - close the subpatch
 - close MAIN-graph-bug.pd
 
 at this point Pd throws the error as below. Only the GUI freezes, the patch 
 is  unusable and have to kill it, by closing pd.
 
 
 (Tcl) INVALID COMMAND NAME: invalid command name .x996ebd0.c
 while executing
 .x996ebd0.c delete graph996f4b0i0
  (uplevel body line 1)
  invoked from within
 uplevel #0 $cmds_from_pd
 
 
 
 How to avoid it:
 
 - launch MAIN-graph-bug.pd
 - click the bang to open a subpatch (if it doesn't at startup)
 - open the subpatch
 - open the further subpatch anlz.scope~
 - flag hide object name and argument
 - save
 -close pd
 - restart the patch and the error disappear
 
 
 It is worth noting that the error I get with the Xth Sense software looks 
 similar but has different tags (see below). And I can't reproduce this one 
 error using a subpatch including a graph or iem_image (which I use in the 
 Xth Sense)
 
 
 
 (Tcl) INVALID COMMAND NAME: invalid command name .x9c4d3b0.c
 while executing
 .x9c4d3b0.c create image 900 776 -image a4304c0PHOTOIMAGE -tags 
 a4304c0PHOTO
  (uplevel body line 283)
  invoked from within
 uplevel #0 $cmds_from_pd
 \
 
 
 should i submit a different bug report or add to the one I did already?
 
 thanks in advance for any hint,
 this is forcing me to still use pd-ext 0.42.5 during my workshop, which is 
 a shame :)
 
 
 --
 Marco Donnarumma
 New Media + Sonic Arts Practitioner, Performer, Teacher, Director.
 Embodied Audio-Visual Interaction Research Team.
 Department of Computing, Goldsmiths University of London
 ~
 Portfolio: http://marcodonnarumma.com
 Research: http://res.marcodonnarumma.com
 Director: http://www.liveperformersmeeting.net
 
 
 ___
 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

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


Re: [PD] readsf fails to read 32 bits float wav

2013-03-14 Thread Hans-Christoph Steiner

Sounds like it, especially if you can reproduce it everytime.  File a bug 
report and include as simple a patch as possible to reproduce the issue, and 
the soundfile.

I've definitely used lots of mono and stereo 32-bit float WAV files, so those 
work.

.hc

On Mar 11, 2013, at 3:52 PM, Charles Goyard wrote:

 Hi,
 
 today I noticed a readsf~ (on vanilla) opening a 5 wave file containing
 32 bits float audio fails silently. The doc says 4 bytes is unavailable
 for AIFF, but I use WAVE.
 
 The file is a 5 channels WAVE file with 5 tracks 32bits float at 48kHz.
 
 Converting the audio to 16 bits PCM works.
 
 Is that a bug ? On vanilla 0.44.
 
 Thanks,
 
 -- 
 Charles
 
 ___
 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] found how to reproduce Pd-ext 0.43.4 Tcl Invalid Command Name error

2013-03-14 Thread Ivica Ico Bukvic
Just to further confirm, pd-l2ork is not affected with Benjamin’s example
either. Hopefully this will help Hans and others hunt this thing down.

 

Best wishes,

 

Ico

 

From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of
Hans-Christoph Steiner
Sent: Thursday, March 14, 2013 11:35 PM
To: ben...@free.fr
Cc: Pd List
Subject: Re: [PD] found how to reproduce Pd-ext 0.43.4 Tcl Invalid Command
Name error

 

 

That bug is not related, though I might look similar.  Any time you see
things like .x2415b0 those are the unique IDs that Pd uses for each Window
in the GUI.  .x2415b0: no such object basically means that Pd is trying to
send a command to a window in the GUI, but that window does not currently
exist (like it was closed) and Pd didn't get the message about that window
closing.

 

This patch is a nice clear example, so it should be possible to track the
bug down.  Marco, if you haven't already, can you add that patch tarball to
a bug report in the tracker?  A reference to this thread would also be
helpful.

 

.hc

 

On Mar 7, 2013, at 10:25 AM, Benjamin ~ 01xy wrote:





Hello,

I encountered a maybe similar bug clicking on the 0 button of the Hradio in
pix_video help patch :

(Tcl) NOM DE COMMANDE INVALIDE : invalid command name .x8b1b038.c
while executing
.x8b1b038.c delete 8b26df8BASE0
(uplevel body line 14)
invoked from within
uplevel #0 $cmds_from_pd

In Pd-extended 0.43-4 on debian 32 bit with GEM: ver: 0.93.3 compiled: Jan
28 2013

this bug disapear if I cut the wire of the left outlet of [pix_video] which
goes to [s $0-info]

Bugs related ? : 
http://sourceforge.net/tracker/index.php?func=detail
http://sourceforge.net/tracker/index.php?func=detailaid=3522945group_id=5
5736atid=478070 aid=3522945group_id=55736atid=478070

++Benjamin

Le 07/03/2013 12:33, Marco Donnarumma a écrit :

hey thanks all for testing.

At least we know it's consistent.
Let's see if somebody has ideas about it.

Let me know how can I help!
Really wish to solve this.

thanks!



--
Marco Donnarumma
New Media + Sonic Arts Practitioner, Performer, Teacher, Director.
Embodied Audio-Visual Interaction Research Team.
Department of Computing, Goldsmiths University of London
~
Portfolio: http://marcodonnarumma.com http://marcodonnarumma.com/ 
Research: http://res.marcodonnarumma.com http://res.marcodonnarumma.com/ 
Director: http://www.liveperformersmeeting.net
http://www.liveperformersmeeting.net/ 

 

On Thu, Mar 7, 2013 at 9:15 AM, batinste dwanaf...@yahoo.fr wrote:

Hi

Behaviour confirmed on ubuntu 12.10 64 bits and pd-ext 0.43.4. 



On 07/03/2013 02:02, Marco Donnarumma wrote:

hey,

dunno if you remember, but I still have this error (below) and now I managed
to make a small patch that reproduces it (attached).
It seems related to the Hide flag for a 2nd level nested GOP patch.

it'd be great if somebody could test it on linux and mac.
I'm on Ubuntu Lucid 10.04, pd-ext 0.43.4

how to reproduce:

- launch MAIN-graph-bug.pd
- click the bang to open a subpatch (if it doesn't at startup)
- close the subpatch
- close MAIN-graph-bug.pd

at this point Pd throws the error as below. Only the GUI freezes, the patch
is  unusable and have to kill it, by closing pd.

 smb:// 
(Tcl) INVALID COMMAND NAME: invalid command name .x996ebd0.c
while executing
.x996ebd0.c delete graph996f4b0i0
 (uplevel body line 1)
 invoked from within
uplevel #0 $cmds_from_pd
 smb:// 


How to avoid it:

- launch MAIN-graph-bug.pd
- click the bang to open a subpatch (if it doesn't at startup)
- open the subpatch
- open the further subpatch anlz.scope~
- flag hide object name and argument
- save
-close pd
- restart the patch and the error disappear


It is worth noting that the error I get with the Xth Sense software looks
similar but has different tags (see below). And I can't reproduce this one
error using a subpatch including a graph or iem_image (which I use in the
Xth Sense)


 smb:// 
(Tcl) INVALID COMMAND NAME: invalid command name .x9c4d3b0.c
while executing
.x9c4d3b0.c create image 900 776 -image a4304c0PHOTOIMAGE -tags
a4304c0PHOTO
 (uplevel body line 283)
 invoked from within
uplevel #0 $cmds_from_pd
\ smb:// 


should i submit a different bug report or add to the one I did already?

thanks in advance for any hint,
this is forcing me to still use pd-ext 0.42.5 during my workshop, which is a
shame :)




--
Marco Donnarumma
New Media + Sonic Arts Practitioner, Performer, Teacher, Director.
Embodied Audio-Visual Interaction Research Team.
Department of Computing, Goldsmiths University of London
~
Portfolio: http://marcodonnarumma.com http://marcodonnarumma.com/ 
Research: http://res.marcodonnarumma.com http://res.marcodonnarumma.com/ 
Director: http://www.liveperformersmeeting.net
http://www.liveperformersmeeting.net/ 





___
Pd-list@iem.at mailing list
UNSUBSCRIBE