https://technicalsource9.medium.com/how-to-extract-data-from-txt-file-and-plot-spectogram-ca92ef7a23a5