Difference between revisions of "Talk:USB Roll-up drum kit user-space driver for linux"

From Organic Design
m (New page: ==Program flow== *init liblosc *read c...)
 
m
Line 1: Line 1:
 +
Use basic unix IO and [liblo http://liblo.sourceforge.net] to make a driver that will read the device and output Open Sound Control messages.
 +
 
==Program flow==
 
==Program flow==
 
*init liblosc
 
*init liblosc

Revision as of 00:40, 21 January 2009

Use basic unix IO and [liblo http://liblo.sourceforge.net] to make a driver that will read the device and output Open Sound Control messages.

Program flow

  • init liblosc
  • read command line parameter
  • open device
  • output message "connect to device"
  • loop:
    • read device
    • process input
    • send osc message
    • check for exit condition
  • tidy up
  • exit