The first sequence of audio samples is recorded in JavaScript from the browser in mono, PCM format, 32-bit, and 96,000 Hz. I wrote this audio file as a blob to a server through a JavaScript FormData object using ajax.
When I retrieved the audio from the server, I received the second sequence of audio samples. It has been downsampled to 48000 Hz and altered somehow.

Raw audio samples: enter image description here

  • $\begingroup$ That doesn't look like a compression at all (if it was, there wouldn't be a 0 every even position). Also, WAV is just a container format, we can't tell you what's inside. Only you know how you encoded the contents of the wav file. And honestly, even if this was a compression, how are we supposed to know what it does based on less than 100 samples?! $\endgroup$ – Marcus Müller Nov 6 at 10:44
  • $\begingroup$ There shouldn't be a 0 every even position- it should be blank (spreadsheet error). The second file is at 48000 Hz, so it seems every even sample is tossed out? $\endgroup$ – user46041 Nov 7 at 1:46
  • $\begingroup$ I've updated the question to reflect this. $\endgroup$ – user46041 Nov 7 at 1:58
  • $\begingroup$ i don't grok this question, really. do you get it, @MarcusMüller ? $\endgroup$ – robert bristow-johnson Nov 7 at 2:00
  • $\begingroup$ I edited the question again. Does it still not make sense? $\endgroup$ – user46041 Nov 7 at 2:09

Browse other questions tagged or ask your own question.