Results 1 to 5 of 5
Thread: Play music
- 08-03-2008, 01:06 PM #1
Senior Member
- Join Date
- Nov 2007
- Posts
- 160
- Rep Power
- 6
Play music
I've created a simple music management program, that imports iTunes playlists, allows you to make playlists and smart playlists and remove duplicates etc.
I want to know if it will be at all possible for me, with very limited Java knowledge to actually allow my program to play music? Is there an existing java class or something?
Thanks
--Here's my program if anyone wants to see it: download link
- 08-03-2008, 01:53 PM #2
Yes, java can play some sound files.
It make take some work. There are probably several example programs around if you Search for them.very limited Java knowledge
- 08-03-2008, 02:20 PM #3
Senior Member
- Join Date
- Nov 2007
- Posts
- 160
- Rep Power
- 6
Would you mind having a quick look at the link I uploaded. Do you think it would be possible to integrate music playing into that?
I say very limited Java knowledge, but I can do stuff. Just not much in comparison with everyone who really knows what they're doing.
I will try some Googling.
- 08-05-2008, 11:29 AM #4
Member
- Join Date
- Aug 2008
- Location
- The Netherlands
- Posts
- 25
- Rep Power
- 0
You might want to use the Java Media Framework (JMF) to play media in your java application. This is an extension of the Sun JDK and can be downloaded at:
java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/download.html
You can find several implementations on the internet. JMF supports at least MP3 where I know of but you can add extra codecs to expand the supported formats.Last edited by Rooneyz; 08-05-2008 at 11:29 AM. Reason: typo
- 08-05-2008, 01:09 PM #5
Senior Member
- Join Date
- Nov 2007
- Posts
- 160
- Rep Power
- 6
Similar Threads
-
How to play MP3 files?
By Tsiliadoros in forum Advanced JavaReplies: 0Last Post: 05-29-2008, 11:54 PM -
Music File Conversion
By Dave Almighty in forum Advanced JavaReplies: 11Last Post: 04-21-2008, 03:30 AM -
printing MIDI notes on a music staff
By kbyrne in forum Advanced JavaReplies: 0Last Post: 12-29-2007, 07:50 PM -
printing MIDI notes on a music staff
By kbyrne in forum AWT / SwingReplies: 0Last Post: 12-29-2007, 05:30 PM -
play() and mp3
By willemjav in forum Advanced JavaReplies: 3Last Post: 12-23-2007, 02:50 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks