Re: [Alsa-user] Trying to send single MIDI packets from Python

2014-01-03 Thread Clemens Ladisch
David Preece wrote: > As per the subject I'm attempting to send single packets > >> cid, pid = findmidiport() >> event = alsaseq.SeqEvent(alsaseq.SEQ_EVENT_NOTEON, >> alsaseq.SEQ_TIME_STAMP_REAL, alsaseq.SEQ_TIME_MODE_REL) >> event.dest = (cid, pid) >> event.queue = alsaseq.SEQ_QUEUE_DIRECT >> eve

[Alsa-user] Trying to send single MIDI packets from Python

2013-12-27 Thread David Preece
As per the subject I'm attempting to send single packets to, actually, a Novation Launchpad S. So not something that conveniently makes a noise when it receives a packet but, in theory, it can make it's switches light up. (http://global.novationmusic.com/support/downloads/launchpad-programmers-r