My aim is to find cluster phonemes from a wav file. I would like to go through the following steps:
- I am calculating spectrogram.
- Calculate energy of each frame.
- Cluster the frames using k-means clustering.
- save the clustered frames as wav file.
Now I am in confusion, what should be the critarion to find the similarities among the spectrogram vectors? Is it possible to use euclidian distance or something else(co-relation)?
Expecting your suggestions. Thank you in advance.