This is a good open source library to convert data to vectors
https://hub.getvectorai.com/model/audio%2Fvggish