# Extracting metadata from wav files [closed]

I was curious if there is a way to extract metadata from wav files. For instance, can you get bpm, key, instrument, etc. from a .wav file on upload?

## closed as off-topic by MBaz, lennon310, Marcus Müller, Matt L., Stanley PawlukiewiczSep 2 '18 at 16:57

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "General programming questions are off-topic here, but can be asked on Stack Overflow." – MBaz, lennon310, Marcus Müller, Matt L., Stanley Pawlukiewicz
If this question can be reworded to fit the rules in the help center, please edit the question.

• I think your question is not really about signal processing, but about the details of a particular file format (which, by the way, is well documented; I'd start in Wikipedia). As such, the question may be more appropriate in stackoverflow. – MBaz Aug 30 '18 at 22:21
• i don't think it's such a bad question. but maybe the Stack Overflow people would know better than us DSP people. .wav files use this RIFF format. data is stored in "chunks". dunno, other than writing your own C program (with fopen(), fread(), fseek(), and fclose()) to scan each formatted block for the data. otherwise i dunno. – robert bristow-johnson Aug 31 '18 at 0:16