Playing music

Is there a simple way?

Page 1 of 1

1 Replies - 2640 Views - Last Post: 04 October 2007 - 03:56 PM Rate Topic: -----

#1 Mastergeek666  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 1
  • View blog
  • Posts: 151
  • Joined: 10-August 07

Playing music

Post icon  Posted 04 October 2007 - 03:12 PM

Hey anyone out there know of an easy way to play music in java. I've looked around but I haven't found anything that I understand and when I do try and use them then it yells at me and doesn't work.
Is This A Good Question/Topic? 0
  • +

Replies To: Playing music

#2 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 4361
  • View blog
  • Posts: 12,180
  • Joined: 18-April 07

Re: Playing music

Posted 04 October 2007 - 03:56 PM

Have a crack at the audioclip if you are going to be making applets (it is in java.applet package) and if you are going to do a regular application you will want to look at the Java Media Framework (JMF) which is a separate download. The site below will show you how to use their player.

Java media framework article - check out code on page 2

Enjoy! :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1