Comedi to PureData
This is a plug-in which reads the analogue inputs from the USBDUX and transmits them to a pd object which is called "comedi2puredata".
Start with "pd -lib comedi2puredata demo.pd"
It has been written initially as part of the final year project "BrassTastic" by Ben Hillman for the USB DUX board, but should work with any board with a comedi driver which supports 8 channels. Tested with the pd version shipped with debian etch (Pd version 0.37.2TEST1).
Download the source here:
Todo: Physcial quantities and not raw data, number of channels determined from comedi and not via #DEFINE. Get rid of the bang input to start the whole thing.