Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

315
Views
How to accurately calculate number of samples in .wav file in javascript or c#

I'm trying to calculate the number of samples in a wave file. I use the formula:

Subchunk2Size    = NumSamples * NumChannels * BitsPerSample/8  

Using the formula above, I get a different values than what's reported in Audacity and other standard Wave Editors. I scanned the headers for all the required information, but the formula only works for some files.

Audio files: audio file 1 Audio File 2

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!