0

I want to convert a wav file to text. While reading the wav file I found the following error: Code

import wave,struct
wavefile=wave.open('C:/Users/SA769740/Desktop/task4/test.wav','r')

the error:

raise Error('unknown format: %r' % (wFormatTag,))
wave.Error: unknown format: 6

what are the possible reasons?

S.De
  • 106
  • 1
  • 12

0 Answers0