add script to perform batch onset detection