This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes How to run a midi file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to run a midi file" Watch "How to run a midi file" New topic

How to run a midi file

arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
I am making an standalone application in swing. I have java1.2. I want to to provide my users a facility where by clicking at a particular catalogue no they should be able to listen a particular midi file.
Can somebody let me know how it could be acheived?
Not: I want to stick to java 1.2 not any higher version as my most of the users have this version only.
Maciej Kolodziej

Joined: Feb 11, 2002
Posts: 26
This is not exactly a Swing question but ... the answer is short: look at Java Media Framework (JMF) at It can play many audio formats including midi.

I agree. Here's the link:
subject: How to run a midi file
jQuery in Action, 3rd edition