Following packages are required to build beep
:
bazel
— install instructions for Ubuntugcc-9
—⚠️ doesn't work with GCC 10libalsa-dev
libsndfile-dev
-
Install the dependencies.
-
Clone this repo:
git clone [email protected]:stanford-stagecast/beep
-
Run
./prepare-submodules.sh
script. This will fetch and patch TensorFlow submodule. -
Run the following command to build the project (first-time build could take ~2 hours on an 8-core machine).
bazel build //beep/frontend:beep-example
- Start the program by running:
./bazel-bin/beep/frontend/beep-example <PATH-TO-WAV-FILE>
The supplied WAV file should be played out of the LEFT channel of your headphones!