Element numSamples = new Element("numSamples",fitsNS);
numSamples.setText(String.valueOf(wav.dataChunk().getNumberOfSampleFrames()));
audioMetadata.addContent(numSamples);
Element samplesPerSecond = new Element("sampleRate",fitsNS);
samplesPerSecond.setText(String.valueOf(wav.formatChunk().getSamplesPerSecond()));
audioMetadata.addContent(samplesPerSecond);
Element audioDataEncoding = new Element("audioDataEncoding",fitsNS);
audioDataEncoding.setText(String.valueOf(FormatChunk.FormatTagDescription.getFormatTagDescription(wav.formatChunk().getFormatTag())));
audioMetadata.addContent(audioDataEncoding);