[PD] Issue 3298989 marked as fixed??

2012-09-09 Thread Matteo Sisti Sette
Hi, I commented this on the bug tracker but got no answer. https://sourceforge.net/tracker/?func=detailaid=3298989group_id=55736atid=478070 A few days ago I downloaded and tried the latest release of Pd Vanilla for Mac OS http://crca.ucsd.edu/~msp/Software/pd-0.43-2.mac.tar.gz and it still

Re: [PD] Is it possible to change webcam's resolution in Mac OS?

2012-05-08 Thread Matteo Sisti Sette
On 05/08/2012 06:41 AM, Max wrote: I'm guessing this is a colorspace issue. try [pix_rgba] right after [pix_video]. Actually I'm using [pix_yuv] right after [pix_video] because I need the image to be in yuv, so that pix_movement gives me the information on the luminance channel and not alpha

Re: [PD] Is it possible to change webcam's resolution in Mac OS?

2012-05-08 Thread Matteo Sisti Sette
By the way, just out of curiosity, what kinf of color space issue is it? It puzzles me that it only manifests itself at certain resolutions... On 05/08/2012 12:39 PM, Matteo Sisti Sette wrote: On 05/08/2012 06:41 AM, Max wrote: I'm guessing this is a colorspace issue. try [pix_rgba] right

[PD] Is it possible to change webcam's resolution in Mac OS?

2012-05-07 Thread Matteo Sisti Sette
Hi, I'm using Pd Extended 0.42.5 and for a series of reasons upgrading is not an option right now. I don't have a Mac but I need my patches to work on Mac OS and Windows. (I can test windows and linux) I don't know if it has been fixed in later versions of GEM, but there's some dreadful bug

Re: [PD] (OT) safely connect piezo transducer to soundcard as microphone

2012-04-21 Thread Matteo Sisti Sette
On 04/21/2012 12:38 AM, Martin Peach wrote: You could put a resistor in series to limit the current or a pair of diodes in parallel to clamp the voltage. Probably a pair of 1N4001s like this would work: IN---+--+-OUT | | ^ v | | GND--+--+- Hi, Thanks for the suggestion. If I

Re: [PD] (OT) safely connect piezo transducer to soundcard as microphone

2012-04-21 Thread Matteo Sisti Sette
On 04/21/2012 02:14 AM, richard duckworth wrote: Piezo mics should go through a very high impedance buffer stage. .. Thank you very much, that was illuminating. However for now I'm was looking for a simplistic solution without the slightest care for sound quality, as I'm just using the

Re: [PD] (OT) safely connect piezo transducer to soundcard as microphone

2012-04-21 Thread Matteo Sisti Sette
Peach wrote: On 2012-04-21 10:16, Matteo Sisti Sette wrote: On 04/21/2012 12:38 AM, Martin Peach wrote: You could put a resistor in series to limit the current or a pair of diodes in parallel to clamp the voltage. Probably a pair of 1N4001s like this would work: IN---+--+-OUT | | ^ v

Re: [PD] (OT) safely connect piezo transducer to soundcard as microphone

2012-04-21 Thread Matteo Sisti Sette
On 04/21/2012 05:31 PM, Martin Peach wrote: That sounds unlikely. If it had 3V on the input you would always get a high value with nothing connected. I measured it with the tester and it's there. The soundcard has a highpass filter which removes DC so you don't get it. Anyway, it's better

[PD] (OT) safely connect piezo transducer to soundcard as microphone

2012-04-20 Thread Matteo Sisti Sette
Hi, This is OT but I'm sure many of you have used piezo microphones sometimes. I've often connected a piezo transducer to the microphone input of my computer (and other computers) by simply soldering the two wires to the T and S of a minijack plug, and it works just fine and my soundcard

Re: [PD] why does PD round numbers? (in tables, in messageboxes, etc)

2012-04-08 Thread Matteo Sisti Sette
On 04/08/2012 04:58 AM, Martin Peach wrote: It's because Pd saves the value by printing it as text into the patch file using a reduced precision format specifier (%g instead of %f, or %0.6f) so that the numbers look good on screen, with no extra zeros for example. I don't like it either. I

Re: [PD] why does PD round numbers? (in tables, in messageboxes, etc)

2012-04-08 Thread Matteo Sisti Sette
On 04/08/2012 04:27 PM, katja wrote: I've once compiled (vanilla) Pd with the format specifiers changed to print up to 8 significant digits, and soon found why it is normally done with 6 digits max. You get things like this: 33 * 0.3 = 9.91 That is completely unrelated. That is an issue

Re: [PD] why does PD round numbers? (in tables, in messageboxes, etc)

2012-04-08 Thread Matteo Sisti Sette
Whops, I should have read the other replies first :$ On 04/09/2012 01:23 AM, Matteo Sisti Sette wrote: On 04/08/2012 04:27 PM, katja wrote: I've once compiled (vanilla) Pd with the format specifiers changed to print up to 8 significant digits, and soon found why it is normally done with 6

[PD] GEM: pix_convolve scale factor?

2012-04-07 Thread Matteo Sisti Sette
Hi, I've noticed that the smooth filter in the example patch for [pix_convolve] has a wrong scale factor which results in a slightly darker output image than the input. I don't know much about convolution filters, but the number being bassed to [pix_convolve] seems right to me: 0.0625 which

Re: [PD] web patching

2012-03-04 Thread Matteo Sisti Sette
On 03/03/2012 01:11 PM, Marco Donnarumma wrote: If you deactivate and activate again with the right timing, the interruption is not perceivable. Used it in few patches sometimes. Work well. I don't understand how a silence of a few milliseconds can be unperceivable, but I'll check out the old

Re: [PD] web patching

2012-03-03 Thread matteo sisti sette
An easy solution is to detect the onset of a DSP graph change and stop the audio for few milliseconds, then activate it again. You can use messages to Pd to do this, such as: How exactly would that prevent an audio dropout ___ Pd-list@iem.at

[PD] error while loading shared libraries: libtk8.5.so.0

2012-02-03 Thread Matteo Sisti Sette
Hi, A friend of mine has a dual-boot Mac with Mac OS and Ubuntu and uses Ubuntu very sporadically. On Ubuntu, she has Pd-Extended installed which was installed more than a year ago and worked just fine the last-but-one time she booted Ubuntu. Now after more than a year since last time, she

Re: [PD] error while loading shared libraries: libtk8.5.so.0

2012-02-03 Thread Matteo Sisti Sette
On 02/03/2012 09:02 PM, Hans-Christoph Steiner wrote: Try: sudo apt-get install tk8.5 Yes thanks that solved the libtk error, now there are other libraries that it cannot find. I'll figure out one by one and install them What seems strange to me is that these libraries which were formerly

Re: [PD] error while loading shared libraries: libtk8.5.so.0

2012-02-03 Thread Matteo Sisti Sette
On 02/03/2012 09:16 PM, Hans-Christoph Steiner wrote: Try: sudo apt-get -f install -f means fix, at least in my head :) It says 0 installed, 0 removed and 6 not upgraded. but Pd still complains about missing libraries (one by one, regretfully) Or did you mean sudo apt-get -f install

Re: [PD] error while loading shared libraries: libtk8.5.so.0

2012-02-03 Thread Matteo Sisti Sette
the missing dependencies On 02/03/2012 09:42 PM, Matteo Sisti Sette wrote: On 02/03/2012 09:16 PM, Hans-Christoph Steiner wrote: Try: sudo apt-get -f install -f means fix, at least in my head :) It says 0 installed, 0 removed and 6 not upgraded. but Pd still complains about missing libraries

Re: [PD] error while loading shared libraries: libtk8.5.so.0

2012-02-03 Thread Matteo Sisti Sette
On 02/03/2012 09:56 PM, Kaj Ailomaa wrote: You could try installing puredata to get it's dependencies installed. I tried installing pd-extended, but it didn't install the dependencies. Could be you need to install tk8.5 manually. Yes. I've installed every dependency manually; then it

[PD] servo pinmode on [arduino]

2012-01-28 Thread Matteo Sisti Sette
Hi, When using [arduino] and setting a digital pin in servo mode, the input range that corresponds to the full 180-degree range of the servo is 0 to 0.7 instead of 0 to 1. Is it: A - that different servo motors have different specifications B - a wrong scale factor in [arduino], or C - a

[PD] can't set latency higher than 50 on linux?

2012-01-26 Thread Matteo Sisti Sette
Hi, Why on Linux if I set the latency in audio settings (with ALSA) to anything greater than 50 I get a lot of tried but couldn't sync A/D/A and then audio I/O stuck... closing audio?? thanks m. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and

[PD] Can't get [arduino] to work (any more)

2012-01-16 Thread Matteo Sisti Sette
Hi, I haven't been using [arduino] and Pd-extended with my arduino for some time un Ubuntu; it used to work just fine on Ubuntu 10.10. In the meantime I have upgraded ubuntu to 11.10; I haven't touched Pd-extended and I'm using the same version of [arduino] (and the same arduino hardware of

Re: [PD] Can't get [arduino] to work (any more)

2012-01-16 Thread Matteo Sisti Sette
Oh sorry it is port number 32 now (used to be between 1 and 5 before) Figured it out with the devices message... On 01/16/2012 05:43 PM, Matteo Sisti Sette wrote: Hi, I haven't been using [arduino] and Pd-extended with my arduino for some time un Ubuntu; it used to work just fine

[PD] pd 0.43.1 installed, not installed

2012-01-12 Thread Matteo Sisti Sette
Hi, On Ubuntu 11.10, I had pd 0.43 installed (it had been a long time since the last time I had used it and it used to be 0.42, so not sure when I switched to 0.43... either it has been automatically updated through Synaptic, or I had installed 0.43 to give it a try on linux though I knew it

Re: [PD] pd 0.43.1 installed, not installed

2012-01-12 Thread Matteo Sisti Sette
On 01/12/2012 08:42 PM, Hans-Christoph Steiner wrote: The 'puredata' command comes from the Debian packaging. The Pd source code will only install a 'pd' command. WHOOOPS :$ Thanks! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and

Re: [PD] [PD-announce] pd 0.43-1 test7 (!) available

2011-12-27 Thread matteo sisti sette
Note that in the big i ve mentioned (which i still have to check whether it is fixed in test7) it‘s not that the whole gui stops responding: only one or a few families of gui elements (e.g. all toggles or all aliders, not alwaya the same ones) stop reaponding to mouse interaction and updating

Re: [PD] [PD-announce] pd 0.43-1 test7 (!) available

2011-12-26 Thread matteo sisti sette
Did you fix the bug that made all gui objects of a given kind (soetimes all toggles sometimes all sliders sometimes all numberboxes) suddenly freeze and stop working at apparently random times? On Dec 25, 2011 11:18 AM, cyrille henry c...@chnry.net wrote: Hello, thanks for the quick fix.

Re: [PD] [PD-announce] pd 0.43-1 test7 (!) available

2011-12-26 Thread matteo sisti sette
Sorry i made “reply all“ i guess this was addressed more to miller than to cyrille On Dec 26, 2011 12:36 PM, matteo sisti sette matteosistise...@gmail.com wrote: Did you fix the bug that made all gui objects of a given kind (soetimes all toggles sometimes all sliders sometimes all numberboxes

Re: [PD] [PD-announce] pd 0.43-1 test7 (!) available

2011-12-26 Thread Matteo Sisti Sette
On 12/26/2011 07:26 PM, Miller Puckette wrote: Hmm - I've never seen that one... do you know how to reproduce it (or is it up on the bug tracker)? Hi, It is issue 3298989 on the bug tracker but I don't know how to reproduce it. It happens with practically all of my old big patches that use

Re: [PD] GridFlow slowness

2011-11-22 Thread Matteo Sisti Sette
Hey, thanks for the reply! On 11/22/2011 11:54 PM, Mathieu Bouchard wrote: There's a problem with number types... the default number type has a lot more range than what is usually needed, and the other number types aren't so easy to use. If this were dealt with, the average GridFlow experience

Re: [PD] GridFlow slowness

2011-11-22 Thread Matteo Sisti Sette
On 11/23/2011 12:28 AM, Mathieu Bouchard wrote: But usually, the problem is not that the memory copying takes longer, it might just be that it takes a too big percentage compared to other tasks. There's also the problem that making copies takes more active RAM, which means that the SRAM has to

[PD] playing a RTSP video stream in GEM (and getting it to work)

2011-08-18 Thread matteo sisti sette
it reads the video size correctly. Strangely enough pix_info always outputs 1 for the new frame and new file flags even without a bix_buf... Any idea? Thanks in advance m. -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com

[PD] kinect

2011-07-10 Thread Matteo Sisti Sette
Hi, I have a Kinect and I have already installed the OpenNI stuff on Ubuntu 10.10 and got it to run. I also got OSCeleton and managed to send skeleton data to Pd through OSC. Now I would like to get the raw images from the sensor in Gem, both the depth image and the camera image. What's

[PD] Pd unstable on Mac OS: hangs after loosing focus?

2011-06-25 Thread Matteo Sisti Sette
Hi, I have a patch that works perfectly on Linux, but when my client runs it on a Mac, almost every time Pd looses focus, for example by minimising it or just opening other programs or browsing files in Finder, then Pd hangs and stops responding and it never recovers when it gains focus

Re: [PD] Pd unstable on Mac OS: hangs after loosing focus?

2011-06-25 Thread Matteo Sisti Sette
On 06/25/2011 05:51 PM, Hans-Christoph Steiner wrote: Which version of Pd and which version of Mac OS X? Yeah sorry, Vanilla 0.42.6 and... oh, not sure of Mac OS but it is a new Mac, bought a few weeks ago (don't have here it right now). ___

Re: [PD] get console messages within patch

2011-06-24 Thread Matteo Sisti Sette
On 06/24/2011 10:53 AM, IOhannes m zmoelnig wrote: the simplest is probably still $ pd -stderr 21 | pdsend localhost udp Great! But is there another way so that you would be able to catch the console messages at the point of the message tree when they are generated? Otherwise it is

[PD] pix_contrast on Mac OS: black pixels have negative rgb values!!!

2011-06-24 Thread Matteo Sisti Sette
Hi, I'm using a shader with a texture which is the output of a [pix_contrast]. On Mac (and only on Mac) with values of contrast 1 for pix_contrast, the black pixels have slightly negative r/g/b component values!! I don't know how that is even possible!!! That is, in the fragment shader:

[PD] midi input doesn't work on Windows?

2011-06-23 Thread Matteo Sisti Sette
Hi, I had used midi input and output for years in Windows on many machines and with different midi devices without issues. Now I'm testing an M-AUDIO midisport 2x2 on Windows 7 on a virtual box. In Pd, the midi sport's in A and in B are listed so I can select them as midi input. However,

[PD] Videos don't loop smoothly on Mac

2011-06-23 Thread Matteo Sisti Sette
Hi, I've found out that on Mac OS, pix_film doesn't loop videos smoothly, that is, every time you jump from the last frame to the first, a little delay occurs. This doesn't happen on Linux nor Windows with the same video files, and I've never observed it on Window nor linux with _any_ video

Re: [PD] Videos don't loop smoothly on Mac

2011-06-23 Thread Matteo Sisti Sette
On 06/23/2011 07:03 PM, Pagano, Patrick wrote: Hmm. Can't say I've noticed that but I usually recommend photo jpeg codec to ensure cross platform playback Yeah I also usually use jpeg, but that is not an option when you need an alpha channel... wait a moment, or is it? Thanks m.

Re: [PD] Videos don't loop smoothly on Mac

2011-06-23 Thread Matteo Sisti Sette
On 06/23/2011 06:21 PM, Max wrote: is there a difference if you do it with the auto 1 message or if you drive pix_film with individual frame numbers counting up? I haven't tried with auto 1, only tried by explicitly sending frame number. Even if it worked fine with auto 1 it is not an option

Re: [PD] Videos don't loop smoothly on Mac

2011-06-23 Thread Matteo Sisti Sette
On 06/23/2011 10:06 PM, Pagano, Patrick wrote: PNG has alpha I'll try PNG. But is there a reason to expect it won't exhibit the same problem as the Animation codec on Mac? (note that I don't have any problem with the Animation codec on Windows and Linux)

[PD] loading patches much faster with -realtime

2011-06-21 Thread Matteo Sisti Sette
Hi, I've found out that Pd takes a lot longer to load big patches when run without the -realtime option (or if you prefer, it is a lot faster in loading patches if run with the -realtime option). A lot means an order of magnitude and a half. This is on Linux. Does this happen on Mac too? I

[PD] pix_film ignoring alpha channel on Mac OS

2011-06-21 Thread Matteo Sisti Sette
Hi, On Mac OS, pix_film seems to ignore the alpha channel of videos encoded with the Apple Animation codec. It works fine on Linux (same patch, same video files), but on Mac OS transparent pixels are displayed as opaque black. I have already sent [pix_film] the colorspace RGBA message. Is

[PD] SORRY forget about it Re: pix_film ignoring alpha channel on Mac OS

2011-06-21 Thread Matteo Sisti Sette
On 06/21/2011 03:16 PM, Matteo Sisti Sette wrote: I have already sent [pix_film] the colorspace RGBA message. No I hadn't :$:$:$:$ sorry for the noise ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info

Re: [PD] pix_film ignoring alpha channel on Mac OS

2011-06-21 Thread Matteo Sisti Sette
On 06/21/2011 03:58 PM, Mathieu Bouchard wrote: I think I recall that you can get it with GridFlow, Never mind, it was my fault, I wasn't setting the colorspace correctly. Since in linux it worked (because the colorspace is already RGBA by default) I assumed the patch was OK and didn't

Re: [PD] Re : pix_image and pix_film : Unable to find files after two hours

2011-06-21 Thread Matteo Sisti Sette
Oh my god that's bad news... How many files is the limit? Do text files opened with [textfiles] also count? On 06/21/2011 06:43 PM, IOhannes m zmoelnig wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-06-21 17:36, david lemarechal wrote: Is this a bug of pix_image ? Is there a

[PD] Testing whether a directory is empty without printing error messages if it is

2011-06-20 Thread Matteo Sisti Sette
Hi, I'm using [folder_list] to perform the following tasks: - check whether a directory or file exists - get the list of files in a directory (which is an empty list if the directory is empty) However, when the file does not exist or the directory of which I'm getting the list is empty, it

[PD] Cannot compile Gem on Linux (Ubuntu)

2011-06-20 Thread Matteo Sisti Sette
Hi, I'm following the instructions in the README file to compile Gem on Linux. I installed the needed dependencies (hopefully all of them) and I ran autogen and configure without any error message. When it comes to make, I get: videoV4L2.cpp:300: warning: #warning implement fromBGRA

[PD] What's the workaround for pix_resize/pix_crop non-refreshing bug?

2011-06-18 Thread Matteo Sisti Sette
Hi, On Windows (not linux, dunnow mac), the current release of Gem has a known bug (2972166) in that [pix_resize] and [pix_crop] don't update the image when you change the crop parameters or the dimen of the resize. According to the bug tracker it has been fixed (can anyone confirm on

Re: [PD] What's the workaround for pix_resize/pix_crop non-refreshing bug?

2011-06-18 Thread Matteo Sisti Sette
On 06/18/2011 12:52 PM, Matteo Sisti Sette wrote: IOHannes suggested me to use [pix_separator] as a workaround, but it doesn't work, or I haven't understood the suggestion fully. Ok sorry, I have to bang the pix_separator in order to refresh the image. That's the workaround

[PD] (OT) is reading files from an NTFS filesystem in linux 30 times slower than ext4?

2011-06-18 Thread Matteo Sisti Sette
Hi, After a whole day spent trying to find the bottleneck that makes my patche so tremendosly slow to load in Pd under linux, I found out that if I load them from the native linux filesystem (an ext4 partition) they load about 30 times faster than when I load them from my NTFS partition

[PD] Launching puredata -nogui from a terminal

2011-06-17 Thread Matteo Sisti Sette
Hi, If I launch Pd from a terminal (without ), when the terminal is closed Pd dies, which is fine for me. However, if from the terminal I launch Pd with the -nogui option, then it survives and keeps running even if the terminal is closed. Is there a way to launch Pd from a script with

Re: [PD] Launching puredata -nogui from a terminal

2011-06-17 Thread Matteo Sisti Sette
On 06/17/2011 04:58 PM, Bernardo Barros wrote: That's what already happen with all jobs running on one particular terminal. If you open a text editor from terminal, you can't close that terminal until you save your text.. etc.. But strangely, that doesn't happen with the puredata process

Re: [PD] Another arduino weirdness

2011-06-17 Thread Matteo Sisti Sette
On 06/17/2011 05:29 PM, Martin Peach wrote: O, it may be relevant (though I don't directly see how) that when I test on Windows I do it through a virtual machine (on a linux host which is the one on which i test it in Linux). Yes I think that is relevant. I just tried it on WinXP and

Re: [PD] Launching puredata -nogui from a terminal

2011-06-17 Thread Matteo Sisti Sette
On 06/17/2011 08:30 PM, Roman Haefeli wrote: Hm.. don't know why it shows this behaviour with -nogui. Perhaps the pd process is a child process of the pd-gui process, and probably pd-gui immediately stops running after launch when -nogui is set, thus pd is not a child process of the terminal

Re: [PD] pd crashed

2011-06-17 Thread Matteo Sisti Sette
On 06/17/2011 07:37 PM, Cody Loyd wrote: pd crashed while I was saving a large patch. now, when I open that patch, about a third of the objects are gone, and ALL of the connections. what the heck happened.. In my experience Pd crashes quite often when I save. In some cases, it crashes

Re: [PD] (GEM) Getting the z-buffer value of a pixel in a rendered image

2011-06-16 Thread matteo sisti sette
2011/6/16 Jack j...@rybn.org: Le jeudi 16 juin 2011 à 14:21 +0200, Jack a écrit : It is possible to use shader to define the z-buffer. What i mean is not z-buffer but depth of a vertex. Yeah that's exactly what I was looking for. I thought that depth was what is saved in the z-buffer. My

Re: [PD] pduino test patch: old analog/digital controls

2011-06-16 Thread Matteo Sisti Sette
On 06/16/2011 05:44 PM, olsen wrote: it's all in the arduino-help.pd by Gerda Strobl and Georg Holzmann! Which one??? Not the one that is distributed together with [arduino] and [arduino-test] at http://at.or.at/hans/pd/objects.html, right? in the last subpatch [pd SWITCHING-INPUTS]

Re: [PD] pix_film can't open almost any file after upgrading to Ubuntu 10.10

2011-06-15 Thread Matteo Sisti Sette
On 06/15/2011 09:11 AM, IOhannes m zmoelnig wrote: you should update the ld cache, by running $ sudo ldconfig Oh, thanks! (why doesn't make install do that btw?) after that it might work. Now lqtplay can play those files, but Pd still crashes! :(

Re: [PD] pix_film can't open almost any file after upgrading to Ubuntu 10.10

2011-06-15 Thread Matteo Sisti Sette
Hi, Thank you so much for your help On 06/15/2011 09:24 AM, IOhannes m zmoelnig wrote: in this case i think that Gem might still be using the wrong library. you could check which libs Gem is linked against by doing: $ ldd /path/to/my/Gem.pd_linux | grep quick Indeed that returns

[PD] Gem window closing itself

2011-06-15 Thread Matteo Sisti Sette
Hi, With Pd 0.42.5, Gem 0.92.3, Ubuntu 10.10, sometimes the gemwin randomly closes itself (without crashing Pd). Has anybody experienced the same? thanks m. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -

[PD] The final question about Arduino

2011-06-15 Thread Matteo Sisti Sette
Hi, At the end, in order to figure out all the weridnesses regarding the apparently different behavior of the Arduino on different platforms, I only need to answer a simple question, well two simple questions: 1. Does the StandardFirmata firmware send the firmware name and version every

Re: [PD] The final question about Arduino

2011-06-15 Thread Matteo Sisti Sette
On 06/15/2011 03:03 PM, Martin Peach wrote: Probably it's the Pd patch that asks for the version. Oh, that's strange. I've searched in depth inside the [arduino] abstraction and I can't find anything that is possibly doing that! ___

Re: [PD] The final question about Arduino

2011-06-15 Thread Matteo Sisti Sette
On 06/15/2011 04:02 PM, Matteo Sisti Sette wrote: On 06/15/2011 03:03 PM, Martin Peach wrote: Probably it's the Pd patch that asks for the version. Oh, that's strange. I've searched in depth inside the [arduino] abstraction and I can't find anything that is possibly doing that! Definitely

Re: [PD] The final question about Arduino

2011-06-15 Thread Matteo Sisti Sette
On 06/15/2011 04:25 PM, Matteo Sisti Sette wrote: Tha Arduino board is sending the version information when Pd connects to it, whether it is at startup (because of a reset) or at connecting. I guess it is this, in Firmata.cpp: void FirmataClass::begin(long speed) { #if defined

Re: [PD] The final question about Arduino

2011-06-15 Thread Matteo Sisti Sette
On 06/15/2011 05:08 PM, Charles Goyard wrote: I would remove the (annoying) autoreset feature from the arduino board by cutting the reset-en trace. No more stupid resets. Would that ensure that I could send a pinMode or analogIns message _immediately_ after open and rely on that it would be

[PD] arduino weirdnesses

2011-06-14 Thread Matteo Sisti Sette
Hi, I'm using and arduino UNO with StandardFirmata and the [arduino] abstraction and the arduino-test.pd test patch. When I open the connection, at random times some of the following things happen: - sometimes the ver subpatch (the one with blue gop just under pd device info) appears

[PD] ardino open message and version

2011-06-14 Thread Matteo Sisti Sette
Hi, Digging into the [arduino] abstraction I've noticed that it seems to assume that [flatspace/comport] will output a open 1 message when the connection is open, but that never happens. There is a pd report firmware version connected to comport's right outlet that does the following:

Re: [PD] pduino test patch: old analog/digital controls

2011-06-14 Thread Matteo Sisti Sette
On 06/13/2011 09:09 PM, Roman Haefeli wrote: @Ingo and Matteo I'm also quite interested in having the [arduino] working properly. I didn't find any bugs recently, though. However, if you provide a step-by-step guide about how to reproduce a problem, I (and probably Olsen also) might be able to

[PD] pix_film can't open almost any file after upgrading to Ubuntu 10.10

2011-06-14 Thread Matteo Sisti Sette
Hi, I've recently upgraded ubuntu 10.04 to 10.10, and I had to uninstall pd-extended and reinstalled the new package for 10.04. After that, pix_film crashes when I try to open many video files that I used to be able to open without issues. It crashes with a few MOV files encoded with mjpeg

Re: [PD] pix_film can't open almost any file after upgrading to Ubuntu 10.10

2011-06-14 Thread Matteo Sisti Sette
On 06/14/2011 06:59 PM, Matteo Sisti Sette wrote: I've recently upgraded ubuntu 10.04 to 10.10, and I had to uninstall pd-extended and reinstalled the new package for 10.04. After that, pix_film crashes when I try to open many video files that I used to be able to open without issues. Ok

[PD] Another arduino weirdness

2011-06-14 Thread Matteo Sisti Sette
Hi, With this: [arduino] | [print ARDUINO] On Linux, when I open the connection, it prints: ARDUINO: version 2 2 ARDUINO: StandardFirmata_2_2_forUNO_0_3 2 2 ARDUINO: firmware StandardFirmata_2_2_forUNO_0_3 2 2 On Windows (with the very same arduino board), it doesn't print

Re: [PD] pix_film can't open almost any file after upgrading to Ubuntu 10.10

2011-06-14 Thread Matteo Sisti Sette
On 06/14/2011 08:26 PM, IOhannes m zmoelnig wrote: Unfortunately the latest version from CVS is equally broken. I wrote this after installing it and trying in Gem, but I hadn't tried lqtplay. Now lqtplay doesn't crash any more, it says it can't find libquicktime!! lqtplay: error while

Re: [PD] Another arduino weirdness

2011-06-14 Thread Matteo Sisti Sette
On 06/14/2011 09:58 PM, Matteo Sisti Sette wrote: Hi, With this: [arduino] | [print ARDUINO] On Windows (with the very same arduino board), it doesn't print anything!! Nothing is even coming out from [comport] when the connection is established (in Windows)!! (but it does

Re: [PD] Another arduino weirdness

2011-06-14 Thread Matteo Sisti Sette
On 06/14/2011 11:01 PM, Martin wrote: On 14/06/11 04:44 PM, Matteo Sisti Sette wrote: On 06/14/2011 09:58 PM, Matteo Sisti Sette wrote: Hi, With this: [arduino] | [print ARDUINO] Well maybe you have different versions of [comport]. The 'open' message is output after

Re: [PD] Another arduino weirdness

2011-06-14 Thread Matteo Sisti Sette
On 06/15/2011 12:57 AM, Martin Peach wrote: I've found out that if I send the arduino the version message, then these messages _are_ received (also in Windows), while when the Arduino send them just after connecting, they are lost in Windows. So I think there must be an issue either in the

Re: [PD] pduino test patch: old analog/digital controls

2011-06-13 Thread matteo sisti sette
Hi, I bring this up again after some further testing: I: In the Pduino test patch (arduino-test.pd) there is a subpatch called old analog/digital controls. ... analogIns X Y (where X is the analog pin to enable/disable and Y is either 0 or 1). Hans-Christoph Steiner: That's the

[PD] (GEM) Getting the z-buffer value of a pixel in a rendered image

2011-06-10 Thread Matteo Sisti Sette
Hi, Is there a way in GEM to take a snapshot of a rendered scene (such as with pix_snap) and save the z-buffer information, for example saving it as an extra channel? (e.g. have the z value saved as the alpha channel)? I'm interested in getting an image of the scene as it would appear if it

[PD] How to dynamically choose which image to use as texture in a shader (or, understanding tex units and texture id's)

2011-06-10 Thread Matteo Sisti Sette
Hi, Let's first consider an example that does not involve shaders to explain what's the thing that I can already do with images and that I would like to apply to shaders. Say I have M images and N squares, and I want to dynamically reassign which image to use as a texture on which square.

Re: [PD] How to dynamically choose which image to use as texture in a shader (or, understanding tex units and texture id's)

2011-06-10 Thread Matteo Sisti Sette
...I mean, I feel like I'm using a synthesizer and I don't know how to change the program within a bank, so I store all my timbres in program 1 of each bank and then switch among banks!! On 06/10/2011 09:20 PM, Matteo Sisti Sette wrote: Hi, Let's first consider an example that does

Re: [PD] How to dynamically choose which image to use as texture in a shader (or, understanding tex units and texture id's)

2011-06-10 Thread Matteo Sisti Sette
On 06/10/2011 09:20 PM, Matteo Sisti Sette wrote: However, there can only be up to 4 texunits available (maybe 8 on some platform)! So this would only work for M and N 4 which is not my case. Errr... it seems that's not true. I still don't understand how texunits work but I've tested

Re: [PD] How to dynamically choose which image to use as texture in a shader (or, understanding tex units and texture id's)

2011-06-10 Thread Matteo Sisti Sette
On 06/10/2011 09:44 PM, cyrille henry wrote: is pix_buffer_read, or pix_multitexture an option for you? Thanks for the suggestion. It probably is, but I'll have to make some drastical changes to the overall architecture of the patch which at the moment is using multiple [pix_texture]

[PD] does anybody know why Ubuntu 10.10 wants do remove pd-extended?

2011-06-08 Thread Matteo Sisti Sette
Hi, I'm upgrading from Ubuntu 10.04 to 10.10 (something i've just found out is possible the option being simply hidden by default). During the upgrade process, the system decides that some of the installed packages have to be removed. For some reason one of them is pd-extended. I wonder if

Re: [PD] Where to find comprehensive documentation about Firmata

2011-06-06 Thread Matteo Sisti Sette
On 06/06/2011 10:55 PM, Hans-Christoph Steiner wrote: Firmata is trying to emulate the Arduino API. I'm confused. What do you mean by the Arduino API? Or maybe what do you mean by emulate? I thought Firmata _was_ a kind of Arduino API. ___

Re: [PD] Where to find comprehensive documentation about Firmata

2011-06-06 Thread Matteo Sisti Sette
On 06/06/2011 11:26 PM, Hans-Christoph Steiner wrote: See the functions in the Arduino reference: http://www.arduino.cc/en/Reference/HomePage As far as I understand, those functions and their pin modes are not directly related to Firmata's pin modes. The function pinMode(), for example,

[PD] can't change resolution of camera with pix_video on Linux

2011-05-28 Thread Matteo Sisti Sette
Hi, Here Gem 0.92.3 on Ubuntu 10.04 and Pd Vanilla 0.42.5. When I try to send a dimen ... message to [pix_video] to change the resolution, even if I try to set a resolution that is supported by the camera, it always stays at 160x120. I always get this message on the console: v4l2: changed

[PD] Preventing pix_image to eat up all CPU

2011-05-27 Thread Matteo Sisti Sette
Hi, Has anybody ever used a considerable number of [pix_image] objects in the same patch? If I do so, even if I don't load any image on any of them and even if they are all disconnected (meaning they are not receiving the gemlist), they eat up a lot of CPU. With 64 pix images doing nothing

Re: [PD] How to avoid the message setting pattern to default with folder_list

2011-05-27 Thread Matteo Sisti Sette
On 05/27/2011 10:57 PM, Matteo Sisti Sette wrote: Oh sorry, the second message was being printed by [file_type], not [folder_list]. However I can't seem to get rid of it. [file_type /] doesn't help. Any idea? Thanks m. ___ Pd-list@iem.at

Re: [PD] pduino test patch: old analog/digital controls

2011-05-21 Thread matteo sisti sette
That's the original way of controlling the analog inputs. It just controls whether the Arduino sends the analog messages.  Its there only for backwards compatibility.  Use the non-old messages now. What are the non-old messages? Maybe I should study the firmata documentation instead of just

[PD] Where to find comprehensive documentation about Firmata

2011-05-21 Thread Matteo Sisti Sette
Hi, This is probably slightly OT, but I am using Pduino and I guess some of you can help me find complete documentation about Firmata, especially about how the StandardFirmata firmware is expected to work. For example I was looking for the details of how the set pin mode message works, and

[PD] routeOSC: how to distinguish messages addressed to a node from messages addressed to any descendant

2011-05-21 Thread Matteo Sisti Sette
Hi, Suppose that in an OSC tree I have a node called foo (child of the / root node) which has a few child nodes. So I place a [routeOSC /foo] object to get all messages that are addressed to /foo or to its child nodes. This will catch all of the following messages: /foo 123 /foo/bar 123

Re: [PD] routeOSC: how to distinguish messages addressed to a node from messages addressed to any descendant

2011-05-21 Thread Matteo Sisti Sette
On 05/21/2011 08:46 PM, Martin Peach wrote: Try [routeOSC /foo] | [routeOSC /*] Hi, I didn't know about the wildcard. However, this still can't handle messages other than mere floats addressed to /foo. For example: /foo 1 2 3 You get only 1 out of the right outlet of your second

Re: [PD] routeOSC: how to distinguish messages addressed to a node from messages addressed to any descendant

2011-05-21 Thread Matteo Sisti Sette
On 05/21/2011 10:39 PM, cyrille henry wrote: what about [routeOSC /foo/* /foo] ? That won't work. RouteOSC only matches one level at a time, meaning that [routeOSC /foo/bar] will never match anything (indeed it should issue a warning at creation time). That applies also to /foo/*, I've just

Re: [PD] routeOSC: how to distinguish messages addressed to a node from messages addressed to any descendant

2011-05-21 Thread Matteo Sisti Sette
On 05/22/2011 12:10 AM, Matteo Sisti Sette wrote: I don't see any way out of this, until [routeOSC] will consider a message without an address as equivalent to a message addressed to /. Well yes there is a simple though not elegant solution, without a second routeOSC; see attached patch

Re: [PD] routeOSC: how to distinguish messages addressed to a node from messages addressed to any descendant

2011-05-21 Thread Matteo Sisti Sette
On 05/22/2011 12:44 AM, Martin Peach wrote: until [routeOSC] will consider a message without an address as equivalent to a message addressed to /. Yes I think that makes sense. But I think [routeOSC] should simply prefix an outgoing message with '/' if there is no more path. I agree that

[PD] pduino test patch: old analog/digital controls

2011-05-18 Thread Matteo Sisti Sette
Hi, In the Pduino test patch (arduino-test.pd) there is a subpatch called old analog/digital controls. This includes a series of toggles which send the message analogIns X Y (where X is the analog pin to enable/disable and Y is either 0 or 1). With the version I'm testing (which is Firmata

Re: [PD] loading patches very slow in linux

2011-05-17 Thread Matteo Sisti Sette
On 05/17/2011 08:54 AM, Roman Haefeli wrote: -noaudio does not mean 'do not do any DSP', it only means 'don't occupy any soundcard'. It's still possible to start DSP when -noaudio is used. Wow! I didn't know that (well I knew you could turn on the dsp checkbox but I thought it woudn't do any

Re: [PD] udpsend broadcast was Re: 0.43 should still be a test version

2011-05-17 Thread Matteo Sisti Sette
255.255.255.255 seems to work with [udpsend] on linux, :O WHOOOPS you're right. I don't know what I was doing wrong. Sorry for the noise m. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -

  1   2   3   4   5   6   7   8   >