Mercurial > hg > btrack
diff src/BTrack.h @ 28:7af87d3f2ce2 develop
Added a function to allow updates to the hop and frame size of the beat tracker
author | Adam <adamstark.uk@gmail.com> |
---|---|
date | Tue, 28 Jan 2014 00:31:17 +0000 |
parents | e4d5f045064d |
children |
line wrap: on
line diff
--- a/src/BTrack.h Tue Jan 28 00:19:21 2014 +0000 +++ b/src/BTrack.h Tue Jan 28 00:31:17 2014 +0000 @@ -51,6 +51,13 @@ BTrack(int hopSize_,int frameSize_); //======================================================================= + /** Updates the hop and frame size used by the beat tracker + * @param hopSize the hop size in audio samples + * @param frameSize the frame size in audio samples + */ + void updateHopAndFrameSize(int hopSize_,int frameSize_); + + //======================================================================= /** Process a single audio frame * @param frame a pointer to an array containing an audio frame. The number of samples should * match the frame size that the algorithm was initialised with.