2

I have some file which are created by HTK file, ended by .mfc. I want to read the file into python3, Is there any solution? Thanks

Yanpei
  • 31
  • 1
  • 4

1 Answers1

2

This repo does it nicely:

from HTK import HTKFile
import numpy as np

htk_reader = HTKFile()
htk_reader.load(PATH_TO_YOUR_MFC_FILE)
result = np.array(htk_reader.data)

hope it helps.