Is this for a game/project or is this just testing something out of a book? I don't want to post a bunch of code that gives you sound capability if you are only interested in your piece of code.
The book starts the chapter out with this example, but midi sequencing is used prominently in THE main example project for the book, a percussion mixer that will also be used to demonstrate gui/swing, networking, and file I/O, so I'd really like to be able to follow along with that. Thanks for the help, by the way, Brian! People like you give this place its reputation for friendliness.
P.S. You don't have to take any special interest in this if you don't want to. I'm going to download the code for this from HeadFirst.com after I finish posting this, and see if that works.