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 5 of 5

Thread: please any body help me

  1. #1
    Junior Member
    Join Date
    Feb 2013
    Location
    iraq
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default please any body help me

    how to calculate the bit rate and the bit depth of audio


  2. #2
    Member Zyrion's Avatar
    Join Date
    Feb 2013
    Location
    Iowa
    Posts
    106
    My Mood
    Angelic
    Thanks
    2
    Thanked 8 Times in 8 Posts

    Default Re: please any body help me

    Determine your limit, then determine the length of audio in seconds. Multiply the depth by the sampling rate and multiply that by the number of channels. Multiply the audio bit-rate by the length of the audio. Subtract the number from the maximum number. Then divide the number by the length of the audio. This gives you the bit-rate.

  3. #3
    Junior Member
    Join Date
    Feb 2013
    Location
    iraq
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: please any body help me

    thanks very much but i ask if there is a method in java to calculate it?

  4. #4
    Member Zyrion's Avatar
    Join Date
    Feb 2013
    Location
    Iowa
    Posts
    106
    My Mood
    Angelic
    Thanks
    2
    Thanked 8 Times in 8 Posts

    Default Re: please any body help me

    None that I know of. You can try and create your own class to calculate it. I found a algorithm to calculate the time remaining if that's of any help.

    //Common algorithm to calculate remaining time
    seconds_elapsed = current time - start time
    seconds_per_unit = seconds_elapsed / units_processed
    units_left = total_units - units_processed
    seconds_remaining = unit_left / seconds_per_unit

  5. #5
    Junior Member
    Join Date
    Feb 2013
    Location
    iraq
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: please any body help me

    thank you very very much for your help

Similar Threads

  1. How to write body methods
    By michael305rodri in forum What's Wrong With My Code?
    Replies: 5
    Last Post: November 5th, 2012, 01:39 AM
  2. can any body help to correct this error
    By Diyaka in forum JDBC & Databases
    Replies: 1
    Last Post: July 25th, 2012, 01:37 PM
  3. hi every body!!!!!!!!!........
    By kranthi in forum Member Introductions
    Replies: 2
    Last Post: January 10th, 2012, 06:03 AM
  4. Hello every body
    By sireesha in forum Member Introductions
    Replies: 1
    Last Post: June 6th, 2011, 04:27 AM
  5. Hi Every Body!
    By Xcube in forum Member Introductions
    Replies: 1
    Last Post: March 12th, 2011, 05:27 PM