Skip to content

Commit d5f2fcd

Browse files
authored
Absorb yin and mcleod (#54)
* Absorb yin and mcleod as docs * Use lgtest_main
1 parent ad589a2 commit d5f2fcd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1639
-521864
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.png filter=lfs diff=lfs merge=lfs -text
2+
*.txt filter=lfs diff=lfs merge=lfs -text
3+
misc/* linguist-documentation

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ util: directories
1212
$(CXX) $(CXX_FLAGS) -shared -o lib/util.so util/*.cpp
1313

1414
test: build util
15-
$(CXX) $@/*.cpp -o bin/$@ $(TEST_FLAGS) -lgtest
15+
$(CXX) $@/*.cpp -o bin/$@ $(TEST_FLAGS) -lgtest -lgtest_main
1616

1717
bench: build util
1818
$(CXX) $@/*.cpp -o bin/$@ $(TEST_FLAGS) -lbenchmark

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22

33
A collection of autocorrelation-based C++ pitch detection algorithms with **O(nlogn)** running time.
44

5-
* [McLeod Pitch Method](http://miracle.otago.ac.nz/tartini/papers/A_Smarter_Way_to_Find_Pitch.pdf)
6-
* [YIN](http://audition.ens.fr/adc/pdf/2002_JASA_YIN.pdf)
5+
* McLeod pitch method - [paper](http://miracle.otago.ac.nz/tartini/papers/A_Smarter_Way_to_Find_Pitch.pdf) - [visualization](./misc/mcleod)
6+
* YIN - [paper](http://audition.ens.fr/adc/pdf/2002_JASA_YIN.pdf) - [visualization](./misc/yin)
77
* Autocorrelation
88

9-
Visualizations of these methods can be viewed at https://gitlab.com/sevagh/mcleod https://gitlab.com/sevagh/yin
10-
119
### Build and install
1210

1311
Using this project should be as easy as `make && sudo make install` on Linux with a modern GCC - I don't officially support other platforms.
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)