Skip to content

RapidLib is a lightweight library for interactive machine learning. Bela is a platform for interactive sensor and audio processing.

License

Notifications You must be signed in to change notification settings

jarmitage/RapidLibBela

 
 

Repository files navigation

RapidLibBela

Context

RapidLib

GitHub license

main

Linux Build
Windows Build
MacOS Build

dev

Linux Build
Windows Build
MacOS Build

RapidLib is a lightweight library for interactive machine learning. It currently features classification (using kNN), regression (multilayer perceptron), and series classification (using dynamic time warping).

More at: https://mzed.github.io/RapidLib/

Bela

Bela is a platform for ultra-low latency audio and sensor processing.

http://bela.io

Install

See Releases.

Build

mkdir build && cd build
CC="distcc-clang" CXX="distcc-clang++" cmake -DCMAKE_CXX_FLAGS="-Werror" ..
CC="distcc-clang" CXX="distcc-clang++" cmake
ctest
  • Run ldconfig /root/RapidLib/build to add the binary path to the linker cache.

Usage

include "rapidLib.h"
  • make parameters for RapidLib projects (see Bela Blog):
LDFLAGS=-L/root/RapidLib/build;LDLIBS=-lrapidLib;CPPFLAGS=-I/root/RapidLib/src;

Examples

Currently very simple, based on https://github.com/mzed/ofxRapidLib

Todo

  • Benchmark RapidLib performance on Bela
  • Add C++ examples using AuxiliaryTask
  • Add C++ examples using sensor inputs and audio outputs
  • Add C++ examples with Bela GUIs
  • Add install to CMake to simplify installation
  • Scope out SuperCollider / Pure Data support and examples

About

RapidLib is a lightweight library for interactive machine learning. Bela is a platform for interactive sensor and audio processing.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 77.2%
  • JavaScript 21.3%
  • Other 1.5%