rough implement of spectrogram scoring function
Adding simplified version for flash sec