You are here


Random GPS driven sounds from an N900 in python

Submitted by Roland on Fri, 2010-07-02 07:17

Check out, my N900 hack to produce random sounds from GPS coordinates (it's basically an unholy :-)  combination of from MIT and the PyMaemo Location API sample sound code using PyGame, thanks to the MIT and Maemo folks for sharing!). What should I do with this next? I have lots of ideas, love to hear what would be cool from others!

N900 PyMaemo - How to synthesize sounds & read the GPS simultaneously?

Submitted by Roland on Thu, 2010-06-24 07:39

Just for fun, I am writing a little PyMaemo python script (sorry but I don't do C++ anymore so that's out :-) !) to compute and then play sounds based on my GPS coordinates (using the N900 Python Location API).

The easiest way to synthesize (rather than just play sounds) seems to be to use the PyGame sound synth (e.g. from MIT computes some nice sounds) but I don't know how to make it work with the PyMaeMo GPS loop.

LazyWeb, anybody have some sample Python code :-) ? I of course will do my homework and post on the official very hard to follow forum (should I ask in OR the pymaemo list?) , but any help would be much appreciated.

Subscribe to RSS - pygame