HARP 0.1.1
an ara plugin for deep learning models
|
HARP is an ARA plug-in that allows for **h**osted, **a**synchronous, **r**emote **p**rocessing with deep learning models by routing audio from a digital audio workstation (DAW) through Gradio endpoints. Because Gradio apps can be hosted locally or in the cloud (e.g., HuggingFace Spaces), HARP lets DAW users access large state-of-the-art models with GPU compute from the cloud without breaking their within-DAW workflow.
At present, the following models are available for use within HARP:
We provide a lightweight API called pyHARP for building compatible Gradio audio-processing apps with optional interactive controls. This lets deep learning model developers create user interfaces for virtually any audio processing model with only a few lines of Python code.
HARP has been tested on arm-based Mac computers running Mac OS 13.0, using the REAPER digital audio workstation.
The windows build is still under development. There are no current plans to support Linux
To build the HARP plugin from scratch, perform the following steps:
clone the HARP repo
Mac OS builds are known to work on apple silicon only. We've had trouble getting REAPER and ARA to work together on x86 (on apple silicon machines, to be fair). TODO: test on x86 macs.
Configure
Build
To specify which OSX architecture you'd like to build for, set CMAKE_OSX_ARCHITECTURES
to either arm64
or x86_64
:
(for example, for an x86_64 build)
For now, this build works on MacOS only, since it has a custom build process that makes use of pyinstaller. TODO: add cmake options to build on windows.
Here are the commands used in VSCode (Cmake Tools extension) and Windows 10. Note that if you're using Reaper x64, you need to build the 64bit version of the plugin.
php "C:\Program Files\CMake\bin\cmake.EXE" –build c:/Users/xribene/Projects/TEAMuP-dev/HARP/build –config Debug –target ALL_BUILD -j 14 –
cmake –build build –config Debug –target ALL_BUILD -j 14
DEV_ID_APPLICATION # Developer ID Application certificate ARTIFACTS_PATH # should be packaging/dmg/HARP.vst3 PROJECT_NAME # "HARP" PRODUCT_NAME # "HARP" NOTARIZATION_USERNAME # Apple ID NOTARIZATION_PASSWORD # App-specific password for notarization TEAM_ID # Team ID for notarization
bash bash packaging/package.sh <Developer ID Application> <Artifacts Path> <Project Name> <Product Name> <Notarization Username> <Notarization Password> <Team ID>
{ "version": "0.2.0", "configurations": [ { "name": "lldb reaper", "type": "cppdbg", "request": "launch", "program": "/Applications/REAPER.app/Contents/MacOS/REAPER", "args": [], "cwd": "${fileDirname}", "MIMode": "lldb", } ] } ```
-DCMAKE_BUILD_TYPE=Debug