Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

(zdog) Re: Dealing with MIDI

by zdog (Priest)
on May 31, 2001 at 21:31 UTC ( #84660=note: print w/ replies, xml ) Need Help??


in reply to Dealing with MIDI

You might want to check out the MIDI module. It may not help you directly, but should keep you from having to deal with binary code.

Zenon Zabinski | zdog | zdog7@hotmail.com


Comment on (zdog) Re: Dealing with MIDI
Re: (zdog) Re: Dealing with MIDI
by no_slogan (Deacon) on May 31, 2001 at 21:59 UTC
    MIDI has some of the most confusing module documentation I have ever seen. There's a possibly-helpful example at the start of MIDI::Event. It sets a callback function that gets called for each "event" in the file (where events include the start of notes, as well as other things too fierce to mention). The hard part is probably going to be converting the numerical pitch value to the text notation you want.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://84660]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-11-26 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (171 votes), past polls