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

From Organic Design wiki
m
m (Program flow)
Line 4: Line 4:
 
*[http://mips42.altervista.org/jackdrum/jackdrum-1.0a.tar.gz JACK MIDI driver for drumkit]
 
*[http://mips42.altervista.org/jackdrum/jackdrum-1.0a.tar.gz JACK MIDI driver for drumkit]
 
==Program flow==
 
==Program flow==
*init liblosc
+
*init liblo
 
*read command line parameter
 
*read command line parameter
 
*open device
 
*open device

Revision as of 02:15, 21 January 2009

Use basic unix IO and liblo to make a driver that will read the device and output Open Sound Control messages. The C program reading th usb device will act as the client and the Chuck shred will be the server.

Program flow

  • init liblo
  • 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