Dear PDpers. Do you think is possible to connect or use a C programm as a external with our beloved Pure Data?? Meaning is it possible to use for instance a [pix_video] or something else] and then use my own C program to make image processing?? Good Vibes Hugo
Mensaje citado por pd-list-request@iem.at:
Send PD-list mailing list submissions to pd-list@iem.at
To subscribe or unsubscribe via the World Wide Web, visit http://lists.puredata.info/listinfo/pd-list or, via email, send a message with subject or body 'help' to pd-list-request@iem.at
You can reach the person managing the list at pd-list-owner@iem.at
When replying, please edit your Subject line so it is more specific than "Re: Contents of PD-list digest..."
Today's Topics:
- Re: Ergates game-like audiovisual instrument (alberto.zin@poste.it)
- Re: Ergates game-like audiovisual instrument (Chris McCormick)
- Re: Ergates game-like audiovisual instrument (Chris McCormick)
- Re: and it's PR/Marketing, or those (Roman Haefeli)
- Re: pd/arduino pwm > servo motor (info@timvets.net)
Message: 1 Date: Fri, 20 Oct 2006 09:13:39 +0200 From: "alberto.zin@poste.it" alberto.zin@poste.it Subject: Re: [PD] Ergates game-like audiovisual instrument To: "chris" chris@mccormick.cx Cc: pd-list pd-list@iem.at Message-ID: J7FAQR$516B5126F0CA5AB7CDCFBFCCD5912674@poste.it Content-Type: text/plain; charset=iso-8859-1
Hi Chris,
I tried Ergates in PD 0.39-2 extended on Win XP (still without joypad). In order to make it working I had to:
- get the -> last <- s-abstraction pack (I didn't
have sx/shadow..)
- on XP, like Frank said, I had to disable the loadbang
feature (otherwise PD crashes immediately). So I load the patch by starting PD with -noloadbang
- press the messages activated by loadbang by hand (at least
the one I was able to find)
- for some reason I had to make the font arial.ttf
visible to GEM (it wasn't, maybe my setup of GEM is not optimal...)
At this point I can see the GEM window more or less like in your screenshots, with the geos floating, but still I got a lot of error messages from GEM:
GL: value not valid error: inlet: expected '' but got 'gem_state'
Any hints ?
In any case no sound.
Hopefully this weekend I'll try to make a in-depth look at it, also on Linux. Indeed it would be very nice if you can get the joypad working with [hid] instead of python..
A question: How do you switch between the patterns you show in your screenshots?
All the best,
Alberto Zin
http://puredata.org/Members/AlbertoZ
Message: 2 Date: Fri, 20 Oct 2006 16:37:48 +0800 From: Chris McCormick chris@mccormick.cx Subject: Re: [PD] Ergates game-like audiovisual instrument To: Frank Barknecht fbar@footils.org Cc: pd-list@iem.at Message-ID: 20061020083747.GB18499@mccormick.cx Content-Type: text/plain; charset=us-ascii
On Thu, Oct 19, 2006 at 03:48:12PM +0200, Frank Barknecht wrote:
Hallo, Chris McCormick hat gesagt: // Chris McCormick wrote:
Okay, I tried it now on my laptop, where Gem is still functional. I cannot get it to run properly. If I run with "-noloadbang" the patch opens, I can press the two loadbang'd messages, and it even seems to recognize basic joystick movements. But I don't get any sound.
If I run with loadbang enabled, my 512MB of RAM get immediately filled, heavy disk activity hints at swapping going crazy, and the main.pd patch will not show up. What could be such a memory hog?
Hey Frank,
Yikes. Are there any errors in the pd console? Can you try loading it with -noloadbang and then deleting all of the content inside the instrument subpatches, saving, and then loading with loadbangs turned on?
By the way, I have not tried running it under pd-0.40 - I will try that tonight when I get home.
Chris.
chris@mccormick.cx http://mccormick.cx
Message: 3 Date: Fri, 20 Oct 2006 16:54:48 +0800 From: Chris McCormick chris@mccormick.cx Subject: Re: [PD] Ergates game-like audiovisual instrument To: "alberto.zin@poste.it" alberto.zin@poste.it Cc: pd-list pd-list@iem.at Message-ID: 20061020085448.GC18499@mccormick.cx Content-Type: text/plain; charset=us-ascii
On Fri, Oct 20, 2006 at 09:13:39AM +0200, alberto.zin@poste.it wrote:
- get the -> last <- s-abstraction pack (I didn't
have sx/shadow..)
- on XP, like Frank said, I had to disable the loadbang
feature (otherwise PD crashes immediately). So I load the patch by starting PD with -noloadbang
Which version of Pd is this? I am going to see if I can reproduce the crash tonight. I will also see if I can run it on a friend's Windows box as I've never tried that.
- press the messages activated by loadbang by hand (at least
the one I was able to find)
I think you can just send Pd a message "loadbang" to emulate this behaviour:
[; ( [pd-main.pd loadbang; (
Of course that won't send one to all loadbangs in all subpatches etc.
- for some reason I had to make the font arial.ttf
visible to GEM (it wasn't, maybe my setup of GEM is not optimal...)
The fonts are in a different directory I think. Maybe they didn't check out from CVS correctly or something? Can you verify that the fonts/ directory exists and has .ttf files in it? If they are there can you look at the Gem help patches in Gem/05.text and see if they work ok for you? Maybe try substituting different fonts.
At this point I can see the GEM window more or less like in your screenshots, with the geos floating, but still I got a lot of error messages from GEM:
GL: value not valid error: inlet: expected '' but got 'gem_state'
That is a weird one. It sounds like something is connected to a gem object expecting a gemhead but getting something else. What does it show you if you do "find last error" from the menu?
Any hints ?
In any case no sound.
Hmmm. I wonder if I have screwed something up in a commit of s-abstractions. I will try doing a fresh checkout of everything using pd-0.40 tonight.
Hopefully this weekend I'll try to make a in-depth look at it, also on Linux. Indeed it would be very nice if you can get the joypad working with [hid] instead of python..
That's my aim but I need to investigate how stable [hid] is, how easy it is to compile and use etc. I just want to use whatever is easiest for the user to install and the most widely distributed cross platform solution.
A question: How do you switch between the patterns you show in your screenshots?
According to the instructions page you use the left and right shoulder buttons to navigate between instruments.
I really need to make the 'help overlay' button work. Which means for each instrument you will be able to press that button and it will grey out the background and bring up a line drawing of a gamepad in the foreground with the buttons labelled with their function. From the screenshots I think that fijuu has something like this. At the moment it's a bit of a mystery for the user what all the buttons do in Ergates.
Thanks for the bug report!
Chris.
chris@mccormick.cx http://mccormick.cx
Message: 4 Date: Fri, 20 Oct 2006 11:26:42 +0200 From: Roman Haefeli reduzierer@yahoo.de Subject: Re: [PD] and it's PR/Marketing, or those To: Hans-Christoph Steiner hans@eds.org Cc: Mathieu Bouchard matju@artengine.ca, pd-list@iem.at Message-ID: 1161336402.5626.9.camel@localhost.localdomain Content-Type: text/plain
On Fri, 2006-10-20 at 00:43 -0400, Hans-Christoph Steiner wrote:
I think it would be good to have forums also. Many people don't want to subscribe to mailing lists, but they would use a web forum. If its easy to do, I think we should set up Plone forums and let that stuff just happen.
i can't see your point here. first, why whould people want to use a forum rather than the mailinglist, if you can access much more people through the mailinglist? second, there is already a forum: http://puredata.hurleur.com/ , why to set up a new one? third, as i mentioned before, i do not endorse any separation of the community, when it is not absolutely necessary to have two channels.
roman
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
Message: 5 Date: Fri, 20 Oct 2006 02:55:49 -0700 (PDT) From: info@timvets.net Subject: Re: [PD] pd/arduino pwm > servo motor To: "Martin Peach" martin.peach@sympatico.ca Cc: pd-list@iem.at Message-ID: 29980.217.136.100.88.1161338149.squirrel@webmail.timvets.net Content-Type: text/plain;charset=iso-8859-1
are there any other ways / interfaces to control a servo motor from pd ? similar to for example: http://www.makingthings.com/products/documentation/max_externals/t_servo.htm
tim
tim wrote:
I have a servo motor which is to be driven by pduino / Arduino. The following firmware directly uploaded to the arduino (near bottom of page): http://itp.nyu.edu/physcomp/Labs/Servo runs well.
There you have a timing loop running on the arduino.
With some modifications the motor moves between 2 positions smoothly enough. However, trying the same from pd using the pduino (fermata) firmware and the arduino help pd patch, it's quite a different story. The pulse-train needed for the PWM control of the servo motor seems too irregular (due to pd/comport timing?) such that the motor is not positioned cleanly but jumps around. (at least, that's my interpretation)
In that case you send on/off messages from pd to the arduino telling it to switch pins on and off.
I tried both sending PWM from ports 9,10 or 11 (the Amtel-built-in pwm) and generating some software pwm on other digital out ports.
I don't think the arduino implements hardware pwm yet, so it doesn't matter which pin you use.
Is there a way to get rid of this jitter?
The way is to implement pwm on the arduino itself. There are two ways to do this: software and hardware. The Servo firmware uses software to set/reset the pins in a timing loop. But it isn't doing anything else. The pduino has to do analog conversions and send data as well, so unless interrupts are used it would be jittery too at a finer level. The Atmel microcontroller itself has 3 pwm pins that can run independently of the software once they are set up, but I don't think anyone has implemented that yet. If you look at the firmata code it does nothing when either mode of pwm is requested. I have translated the firmata code to PIC16F767 and intend to implement software pwm for servos soon. I don't know when it's going to happen with firmata for the actual arduino. There is no way to get around the jitter in the comport because it has to operate in between the audio block processing time slots in pd. I think there need to be pduino commands to move stepper motors too, because there are jitter issues there as well. Martin
PD-list mailing list PD-list@iem.at to manage your subscription (including un-subscription) see http://lists.puredata.info/listinfo/pd-list
End of PD-list Digest, Vol 19, Issue 84