Re: receive and react to MIDI input

2009-02-08 Thread elsjaako
On Jan 29, 8:33 pm, elsjaako wrote: > Hi all. I want to write an application that reads midi notes and then > does something (specifically, play sound files, but that doesn't > really matter for this question). I'm on windows. > > Bart de Waal I got it working, quickly packed it up, and posted it

Re: receive and react to MIDI input

2009-01-31 Thread r
Sorry i gave you the wrong module, try PMIDI for python 2.5 (win32.exe): http://sourceforge.net/project/showfiles.php?group_id=65529&package_id=106729 Also try this page near the bottom under "MIDI Mania" for more http://wiki.python.org/moin/PythonInMusic -- http://mail.python.org/mailman/listinfo

Re: receive and react to MIDI input

2009-01-29 Thread elsjaako
On Jan 30, 12:26 am, elsjaako wrote: > On Jan 29, 10:44 pm, elsjaako wrote: > > > On Jan 29, 9:36 pm, r wrote: > > > > On Jan 29, 1:33 pm, elsjaako wrote: > > > > There is a Python MIDI module, i think it is pyMIDI, have you checked > > > it out? > > > Thank you for the responce. Unfortunately,

Re: receive and react to MIDI input

2009-01-29 Thread elsjaako
On Jan 29, 10:44 pm, elsjaako wrote: > On Jan 29, 9:36 pm, r wrote: > > > On Jan 29, 1:33 pm, elsjaako wrote: > > > There is a Python MIDI module, i think it is pyMIDI, have you checked > > it out? > > Thank you for the responce. Unfortunately, that package is for OS X > (it doesn't say that cle

Re: receive and react to MIDI input

2009-01-29 Thread elsjaako
On Jan 29, 8:33 pm, elsjaako wrote: > I think this means that the following could be said: > > typedef void *HANDLE; > struct HMIDIIN##__ { int unused; }; typedef struct HMIDIIN##__ > *HMIDIIN; > I figured this problem out (I'm sure there will be more...): A handle should just be a c_void_p ... -

Re: receive and react to MIDI input

2009-01-29 Thread elsjaako
On Jan 29, 9:36 pm, r wrote: > On Jan 29, 1:33 pm, elsjaako wrote: > > There is a Python MIDI module, i think it is pyMIDI, have you checked > it out? Thank you for the responce. Unfortunately, that package is for OS X (it doesn't say that clearly on the website). But it might indeed be worthwhi

Re: receive and react to MIDI input

2009-01-29 Thread r
On Jan 29, 1:33 pm, elsjaako wrote: There is a Python MIDI module, i think it is pyMIDI, have you checked it out? -- http://mail.python.org/mailman/listinfo/python-list

receive and react to MIDI input

2009-01-29 Thread elsjaako
Hi all. I want to write an application that reads midi notes and then does something (specifically, play sound files, but that doesn't really matter for this question). I'm on windows. I went on MSDN and tried to get it to work, and I found myself getting pretty far (considering how little I know