jarmitage / flucoma-bela

Experiments combining Flucoma with Bela

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flucoma x Bela


Warning: built and tested with experimental Bela image v0.5.0alpha2, unlikely to work on older builds.

Links

Bela setup for building

This method assumes building on Bela and cross-compiling via distcc (locally via arm-linux-gnueabihf apparently also works, but I couldn't get it to yet).

SuperCollider


Install

  • Download from Releases page
  • Copy to Bela:
scp -r /path/to/FluidCorpusManipulation root@bela.local:/usr/share/SuperCollider/Extensions/FluidCorpusManipulation

Usage

Build

ssh root@bela.local
git clone https://github.com/supercollider/supercollider
git clone https://github.com/flucoma/flucoma-sc
cd flucoma-sc && mkdir -p build && cd build
cmake -DSC_PATH=../../supercollider-src -DCMAKE_CXX_COMPILER=distcc-clang++ -DCMAKE_C_COMPILER=distcc-clang -DCMAKE_CXX_FLAGS='-mfpu=neon -mfloat-abi=hard' -DCMAKE_C_FLAGS='-mfpu=neon -mfloat-abi=hard' -DDOCS=OFF ..
make install
cp -r ../install/FluidCorpusManipulation /usr/share/SuperCollider/Extensions/FluidCorpusManipulation

Pure Data


Install

  • Download from Releases page
  • Unzip to find the externals
  • Create a pd-externals folder if you haven't already, see https://learn.bela.io/using-bela/languages/pure-data/#abstractions
  • Copy the Flucoma externals to Bela (not the entire outer folder itself):
    • Via the Bela IDE: open the pd-externals "project" and drag-and-drop the contents of the folder onto the browser window.
    • Via scp: scp -r /path/to/FluidCorpusManipulation/* root@bela.local:Bela/projects/pd-externals/.

Usage

Build

git clone https://github.com/pure-data/pure-data
git clone https://github.com/flucoma/flucoma-pd
cd flucoma-pd && mkdir -p build && cd build
cmake -DPD_PATH=../../pure-data -DCMAKE_CXX_COMPILER=distcc-clang++ -DCMAKE_C_COMPILER=distcc-clang -DCMAKE_CXX_FLAGS='-mfpu=neon -mfloat-abi=hard' -DCMAKE_C_FLAGS='-mfpu=neon -mfloat-abi=hard' -DDOCS=OFF ..
make install
cp -r ../install/FluidCorpusManipulation/* /Bela/projects/pd-externals/

C++


Install

  • Download from Releases page
  • Copy to Bela:
scp -r /FluidCorpusManipulation root@bela.local:/usr/share/

Usage

Build

If you need to save space on Bela, download eigen and HISSTools_Library dependencies as zip instead of git cloning, and copy these to Bela (scp -r eigen root@bela.local:eigen etc) and add to the cmake command below -DEIGEN_PATH=../../eigen -DHISS_PATH=../../HISSTools_library.

git clone https://github.com/flucoma/flucoma-core
cd flucoma-core && mkdir -p build && cd build
cmake -DCMAKE_CXX_COMPILER=distcc-clang++ -DCMAKE_C_COMPILER=distcc-clang -DCMAKE_CXX_FLAGS='-mfpu=neon -mfloat-abi=hard' -DCMAKE_C_FLAGS='-mfpu=neon -mfloat-abi=hard' -DDOCS=OFF ..
make install
# add to path within Bela project?

About

Experiments combining Flucoma with Bela


Languages

Language:SuperCollider 100.0%