Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

win32API midi input

by spencoid (Acolyte)
on Aug 20, 2013 at 04:14 UTC ( #1050117=perlquestion: print w/replies, xml ) Need Help??
spencoid has asked for the wisdom of the Perl Monks concerning the following question:

i have spent a lot of time trying to get the sample code from WIN32::API::MIDI to work for getting input from a variety of MIDI devices. i have tried everything i can and have had no success. this might be partly because i am using a win 8 computer. the examples with the distribution are not full working examples, critical parts are missing to get them to actually work. i really want a working example that will allow me to find midi input devices, choose one and monitor the data coming from it. i have searched the web extensively and cannot find any examples. please do not refer me to the example code with WIN32::API::MIDI the only "working" example is specifically for use with a device i do not have nor do i have the obscure information needed to make a config file to "fake it"

Replies are listed 'Best First'.
Re: win32API midi input
by Anonymous Monk on Aug 20, 2013 at 07:54 UTC
Re: win32API midi input
by perltux (Monk) on May 28, 2015 at 04:45 UTC
    Hi, I realise this is a two year old thread but in case you are still looking for help with this I have working code for detecting available MIDI devices, for MIDI OUT and sort of got MIDI IN working with WIN32API::MIDI, too. I'm saying sort of because I can receive sysex dumps but right after receiving them Perl terminates. It looks like something in WIN32API::MIDI causes this but I haven't figured it out yet. If you are interested in sharing experiences and working together on this give me shout.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1050117]
Approved by Corion
NodeReaper duct tapes the vents to muffle the moaning

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2018-05-27 02:22 GMT
Find Nodes?
    Voting Booth?