Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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

Replies are listed 'Best First'.
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 cooling their heels in the Monastery: (3)
As of 2016-08-26 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (367 votes). Check out past polls.