Mercurial > hg > btrack
annotate unit-tests/BTrack Tests/main.cpp @ 55:5e520f59127f
Changed the interface of the algorithm so that onset detection function samples are calculated internally. This makes the call to the algorithm for most cases much simpler. Also added a static function for calculating beat times in seconds based upon sampling frequency, hop size and the current frame number.
author | Adam Stark <adamstark@users.noreply.github.com> |
---|---|
date | Wed, 22 Jan 2014 18:47:16 +0000 |
parents | 68d01fea1e8d |
children | 88c8d3862eee |
rev | line source |
---|---|
adamstark@51 | 1 // |
adamstark@51 | 2 // main.cpp |
adamstark@51 | 3 // BTrack Tests |
adamstark@51 | 4 // |
adamstark@51 | 5 // Created by Adam Stark on 21/01/2014. |
adamstark@51 | 6 // Copyright (c) 2014 Adam Stark. All rights reserved. |
adamstark@51 | 7 // |
adamstark@51 | 8 |
adamstark@51 | 9 #include <iostream> |
adamstark@51 | 10 |
adamstark@51 | 11 int main(int argc, const char * argv[]) |
adamstark@51 | 12 { |
adamstark@51 | 13 |
adamstark@51 | 14 // insert code here... |
adamstark@51 | 15 std::cout << "Hello, World!\n"; |
adamstark@51 | 16 return 0; |
adamstark@51 | 17 } |
adamstark@51 | 18 |