Source and javadoc for OnsetDetector