Results 1 to 2 of 2
  1. #1
    Krooger is offline Member
    Join Date
    Nov 2008
    Posts
    43
    Rep Power
    0

    Question Anyone know .wav data points endian format?

    Hello, im reading a .wav file and its 16bit mono so my file would go:

    ....|d|a|t|a|0|0|5|9|-12|33|......

    where the first point is |-12|33|
    so since it is 16bit does anyone know how to extract the number |-12|33| would represent? I'v tried both endian formats but when ever I get a number and divide it by 2 I keep geting static instead of a scaling.

    Any ideas?

    For example I have tried |-12|33| = 62497 and also tried |-12|33| = 8692
    So ill half this number and write it back but i wont be half the volume it ends up just being static.
    How are points in 16bit wav files suppose to be read?
    Last edited by Krooger; 12-09-2009 at 04:32 AM.

  2. #2
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    6

Similar Threads

  1. Replies: 2
    Last Post: 08-24-2008, 01:30 AM
  2. Replies: 2
    Last Post: 08-12-2008, 01:26 PM
  3. Replies: 3
    Last Post: 01-15-2008, 08:28 PM
  4. Replies: 0
    Last Post: 11-06-2007, 03:20 PM
  5. it's possible format data in java?
    By paul in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 06:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •