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?