Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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 (Scribe) 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
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (13)
As of 2016-10-25 15:58 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (323 votes). Check out past polls.