• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to open and close a MP3 file using java?  RSS feed

 
Shae Noble
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Yall!
I'm trying to create a program that after a specific time, it will open a Audio file named "alarm.wav"...

I have tried a lot of different ways on how to do this, but they have all failed for me, or just were not exactly what I was looking for.

**Please include a code example on how to do this...
 
Ron McLeod
Bartender
Posts: 1603
232
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shae Noble wrote:I have tried a lot of different ways on how to do this, but they have all failed for me, or just were not exactly what I was looking for.

In order to not waste anyone's time suggesting ideas that you have already tried, how about starting with telling us what you have tried so far and what specifically didn't work for you.
 
Tim Moores
Saloon Keeper
Posts: 4035
94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does "opening" an audio file mean - play it? Something else? Also, .wav is not the same as .mp3 - which one is it?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!