Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

(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 |

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://84660]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2018-01-20 16:08 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (227 votes). Check out past polls.