Hallo, Steve Harris hat gesagt: // Steve Harris wrote: > On Fri, Sep 12, 2003 at 12:29:58PM -0400, Paul Davis wrote: > > http://news.harmony-central.com/Newp/2003/junXion-10.html > > > > the ALSA sequencer already provides 90% of the infrastructure > > described. all that is needed is something to read from the game > > controller and queue immediate MIDI events ... > > Trivial, I allready have code to read from USB game controllers to run a > synth (thanks Frank for the idea!), adding MIDI out would be little > effort.
Yes, as some of you saw at LAD conference, I was using a PSX gamepad fed into Pd to control the patch. As Pd can also generate midi data, this is a full solution. I was using the joystick Pd external which reads from the /dev/input/js devices, but now there also is an interesting alternative by Hans-Christoph Steiner, who wrote an external that reads from the event devices. The code is available here: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pure-data/externals/hcs/ This seems to be even more flexible than just using the joystick interface, because it opens up input from even more idevices than just joysticks (but is limited to USB) ciao -- Frank Barknecht _ ______footils.org__
