https://github.com/mradionov/bpm-detector
WIP
https://github.com/mradionov/bpm-detector
Last synced: 2 months ago
JSON representation
WIP
- Host: GitHub
- URL: https://github.com/mradionov/bpm-detector
- Owner: mradionov
- Created: 2020-10-03T20:08:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-03T20:09:13.000Z (over 4 years ago)
- Last Synced: 2025-01-07T05:23:17.115Z (4 months ago)
- Language: C++
- Homepage:
- Size: 432 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Build
Prepare directory:
```bash
mkdir build
cd build```
Build and run main executable:
```bash
cmake ..
make
./bpm
```Build with tests:
```bash
cmake -DBUILD_TESTS=ON ..
make
./unit_tests
```### Reference
- http://soundfile.sapp.org/doc/WaveFormat/
- http://www.geosci.usyd.edu.au/users/jboyden/vad/### TODO
WAV read
- RIFF - little-endian, RIFX - big-endian
- if not PCM - extra params in the end of "fmt"
- extra chunksTypes:
- calculate average without sum overflow
- how to write chars to file
- proper rendering of values in the image### Extra
View file in hex:
```bash
xxd -g 1 test.wav | less
```