OGG file not recognised
selcukkirtas opened this issue · comments
i am having error
soundfile.LibsndfileError: Error opening 'file.ogg': Format not recognised.
import soundfile as sf
import os
def convert():
data, samplerate = sf.read('file.ogg')
sf.write('file.wav', data, samplerate)