done onset detection using both method by Pitch detection and by spectral difference. Need to do string matching