mradionov / bpm-detector

WIP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build

Prepare directory:

mkdir build
cd build

Build and run main executable:

cmake ..
make
./bpm

Build with tests:

cmake -DBUILD_TESTS=ON ..
make
./unit_tests

Reference

TODO

WAV read

  • RIFF - little-endian, RIFX - big-endian
  • if not PCM - extra params in the end of "fmt"
  • extra chunks

Types:

  • calculate average without sum overflow
  • how to write chars to file
  • proper rendering of values in the image

Extra

View file in hex:

xxd -g 1 test.wav | less

About

WIP


Languages

Language:C++ 94.1%Language:CMake 5.9%