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

194
Views
How to get sample rate, bit depth, and number of channels with Web Audio API?

I am wondering how I can get the following audio metadata after uploading a file and embedding within <audio> tag.

  • Sample rate
  • Bit depth
  • Number of channels

Is this possible with Web Audio API? Or do I need to parse the binary data of each audio file?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

After researching this, I could not find a currently-available API for obtaining the metadata without manually parsing the binary file headers. I opened Git issue WebCodecs #411 with the WebCodecs team. WebCodecs is a new API that could potentially offer this metadata viewing feature.

about 4 years ago · Juan Pablo Isaza Report

0

Have you checked out music-metadata? It appears to support parsing all of the metadata mentioned above and supports quite a few formats.

about 4 years ago · Juan Pablo Isaza Report
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!