[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] multimedia pygame



enrike wrote:

hi again

Regarding MAX/MSP and PD I must say they are quite nice tools, I specially like PD since its free software. They are very nice environments for prototyping audio but also visuals (thanks to external libraries such as Jitter and GEM). They are visual programmin environments and as such its quite difficult to create big and complex proyects. But the students usually like it very much and learn a lot by using them.

You can also "drive" PD (and MAX/MSP) using pyOSC.
Actually it can be very interesting to implement part of the "patch" in python
using OSC to receive data from the PD patch and sending back some controls/events.


this is exactly what i am doing!
Actually we developed a simple API for the pyOSC implementation by Daniel Holth so that students or people that dont understand (or cannot be bothered) sockets and studff like that can use OSC in a very simple way, we are planning to release it in a few days.

We want create "controllers" for PD, Supercollider, MAX/MSP and other programs that understand OSC.

You can have a look at what we have been doing so far in.
www.ixi-software.net/content/software.html
Check out SpinOSC as this the direction we are planning to move from now on.


I did an event driven OSC implementation in Python on top of Twisted a couple years ago for a performance piece at a new media festival. Are you guys just polling? I started working on a high level game development framework, currently on top of pygame, and I'm like 80% done with a Pygame Twisted reactor. It uses the pygame clock and event sink, but does the select loop in a separate thread, which generates a pygame event and in turn iterates the reactor. In the cases where pygame events aren't necessary (most of the stuff I've done doesn't require ultra-responsive user input), I've just used the Twisted reactor to iterate pygame (reactor.callLater(delayUntilNextFrame, self.nextFrame) sort of style).



ok!. would it be possible to get the code? is it finished? We did a simple version that keeps pulling for incomming messages. We are using OSC really intensively in some of our experiments and I think we would benefit a lot from a highly optimised implementation of python OSC.



Very recently there is a tool being developed at the MIT called Processing that allows to program in a simplified version of Java to create visuals and also sound. In many senses its a bit like pygame.

Can you send/share some link about "Processing" in order to have a look at it?


I think its someting like www.processing.net
this was an old link to the demo but it might have changed
http://proce55ing.net/download/alpha.html

Looks like they plan to release open source in the future but not at the moment.


It's been planned for a while, but never happened. It is a bit like pygame, but it uses Java syntax and mostly OpenGL sort of semantics (though it is bitmap based). Something written in pygame+Numeric+PyOpenGL could do the same thing, but probably be much nicer to use and more flexible.


this is the kind of stuff I was refering to in my first email.
i think if somebody puts together some package, or maybe some guidelines to ease the complexity of getting into all these different libraries, this would be great for many people. I was checking out PyOpenGL recently and I had the feeling that this is great and very fast but also that not being myself into 3D it was going to take me ages to be a ble to use it properly for 2D. Pygame is much more related to what I am used to, however still it lacks some things I (and many others i guess) would need, like integrating into wxpython in my particular case.
You may want to check slithy

http://isotropic.org/uw/slithy/

very impresive python+opengl

Niki Spahiev