Giter VIP home page Giter VIP logo

btoven's Introduction

btoven

Realtime Beat Detection Library

Compiling and Installation

This project is split into two separate targets;

  • btoven is a static library that performs an analysis on streaming pcm data. By itself, it has no dependencies and should compile without issue.
  • btoven_c_example is an example project that shows the analysis in action. This example project depends on mpg123 and Portaudio. CMake will try to find these dependencies on your path and use them when creating build files for your compiler. If you do not have them installed and neatly on your path (likely, if you're running Windows) you'll need to compile these projects separately and put binaries on your system path in order to run this example. More details can be found in extern/*

The project relies on CMake to generate build files for your platform. Ensure you have CMake downloaded and installed before attempting to compile.

In order to compile the btoven project, open the root directory in a terminal/command prompt and type:

cmake .

Use the generated build files (eg. Visual Studio Project) or makefiles to build the targets. If CMake cannot find the dependencies required for btoven_c_example, it will not generate a build target for the example executable. Build all targets and build the INSTALL target with administrator priviliges. On Linux:

make
sudo make install

At this point, the binaries should be on your system path and you can use btoven in any of your projects. If you're on windows, you can find your installed library in Program Files (perhaps Program Files (x86)), and you should add this install directory (/lib and /include) to your system path. Or just forgo installation and use the binaries directly.

Oh, and there's an Android Project. I might get around to writing documentation for that sometime in the near future. There's some cool stuff going on in there with OpenSL and network streaming of audio files.

btoven's People

Contributors

griffinmilsap avatar

Stargazers

Michael Anthony avatar

Watchers

James Cloos avatar Michael Anthony avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.