Bug fixes to AA_spectrogram
AA_loaddata

Bug fixes and sample rate check
AD_matchspectrum

Original commit.