Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Java MP3 music player code HELP! DONATION offered:)

  1. #1
    Junior Member
    Join Date
    Jun 2014
    Thanked 0 Times in 0 Posts

    Exclamation Java MP3 music player code HELP! DONATION offered:)

    Hello everyone, I was assigned as a project in school to create a program of a basic MP3 music player using JAVA, I really do not know anything about the subject and have been trying to search the web but most of the codes I found were not completely what I needed and when I tried modifying them they would not run, sorry but I am a newbie in the subject. If anyone could help me create a code or help me with some tips would be greatly appreciated, I could even give a small donation if needed as I realize your time is valuable, THANKS!

    This is what I need my mp3 program to do:

    Music player:
    -ADD song

    -add folder
    -eliminate songs

    -New list
    -save list
    -open list
    - About of..

    -Add after actual playing song

  2. #2
    Super Moderator
    Join Date
    Jun 2013
    So. Maryland, USA
    My Mood
    Thanked 698 Times in 680 Posts

    Default Re: Java MP3 music player code HELP! DONATION offered:)

    As a whole, this is a pretty advanced topic for a beginner, but it can be broken into distinct parts that taken individually are not that formidable. As with any complex problem, I recommend breaking it down into smaller, manageable parts, coding what you can. Most of the program you've described is object or file management, including the use of collections. To simplify, you could start by ignoring the .mp3 (or audio file) part of it and simply write the code to manage the objects, writing other method stubs to do the audio functions with comments that describe what they'll do when put together with a player. For example, you might write a void playMP3() method that takes an .mp3 file as a parameter and then simply prints:

    Playing MP3: <fileName>

    and then similarly for the other player functions.

    When ready to add the .mp3 functionality, search "java mp3 library" (or similar) and explore the available options for adding what you need, then integrating it with the methods you plan to write, filling them in with the needed code to use the chosen .mp3 library.

    Come back with more questions as needed.

Similar Threads

  1. HELP! I am creating a simple MP3 player and have an error dont know how to fix it
    By Siobhan Burke in forum What's Wrong With My Code?
    Replies: 3
    Last Post: October 21st, 2012, 10:07 AM
  2. Java mp3 Player
    By aNGaJe in forum Java Theory & Questions
    Replies: 1
    Last Post: October 21st, 2011, 09:49 AM
  3. Java Mp3 player.
    By alex901 in forum Object Oriented Programming
    Replies: 4
    Last Post: November 18th, 2010, 09:12 AM
  4. Music player problem
    By abhinavhardikar in forum What's Wrong With My Code?
    Replies: 6
    Last Post: February 9th, 2010, 08:41 PM
  5. MP3 Player: ID3 Tag Image Retrieval Problem for the Applet from internet
    By JavaJames in forum What's Wrong With My Code?
    Replies: 5
    Last Post: May 20th, 2009, 07:11 AM