Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sound Files

 
Matthew Buska
Greenhorn
Posts: 11
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to develop a Java program that will play a particular song depending on what the person chose from a drop-down list. My question is can the Java programming language be programmed to play an MP3 (MPEG-3) or a windows media audio (WMA) file. If not then what can be used instead of MP3 or WMA? Thanks ahead for any responses.
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know all the audio formats that are supported by Java, but googling for "playing audio files in java" found several hits that look helpful.

HTH

Layne
[ June 05, 2005: Message edited by: Layne Lund ]
 
Stuart Gray
Ranch Hand
Posts: 410
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think JMF (Java Media Framework) will be useful for this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic