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.


>> REGISTER NOW TO START POSTING


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

Results 1 to 2 of 2

Thread: My app audio sounds different when running the app?

  1. #1
    Member
    Join Date
    Sep 2011
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default My app audio sounds different when running the app?

    Hi,

    I have:

    final MediaPlayer mp = MediaPlayer.create(this, R.raw.popping_sound_effect);

    When I play the sound file it is how I want it to be, but when I run the app and making the MediaPlayer play the sound is different, it is the correct sound but it is much deeper for some reason?

    Thanks.


  2. #2
    Member
    Join Date
    Sep 2011
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: My app audio sounds different when running the app?

    I found out why....

    The format of the sound file was .wav, i changed it to a .mp3 and now it sounds as it should.

Similar Threads

  1. Creating a class to play sounds.
    By Archibold9 in forum Java Theory & Questions
    Replies: 8
    Last Post: December 21st, 2011, 06:14 PM
  2. Audio In My Program
    By Fordy252 in forum Java Applets
    Replies: 0
    Last Post: January 29th, 2011, 02:27 PM
  3. Sounds to play during action performed
    By smithyboy in forum Object Oriented Programming
    Replies: 2
    Last Post: November 20th, 2010, 04:16 PM
  4. image and sounds mp3 database
    By Stefan_Lam in forum JDBC & Databases
    Replies: 0
    Last Post: May 7th, 2010, 05:30 AM
  5. sun.audio
    By bguy in forum Java SE APIs
    Replies: 3
    Last Post: November 12th, 2009, 01:17 AM