Abstract
HARP 2.0 is an open-source framework designed to bridge the gap between deep learning research and music production. By integrating remote deep learning models directly into Digital Audio Workstations (DAWs) through a hosted, asynchronous architecture, HARP 2.0 enables creators to use complex neural networks for audio and MIDI processing without leaving their primary environment. This version introduces support for MIDI, time-stamped audio labeling, and a simplified Python API for model developers.
Introduction
Deep learning has significantly advanced audio tasks such as source separation and style transfer. However, the "workflow friction" of using these models—often released as Python scripts or standalone apps—hinders creative momentum for music producers. HARP 2.0 addresses this by offloading computation to remote Gradio endpoints and providing a unified, dynamic interface within the DAW, eliminating the need for local GPU resources or complex environment setups.
Methods and Architecture
The framework utilizes a Hosted, Asynchronous, Remote Processing (HARP) architecture. In version 2.0, the system transitioned from an Audio Random Access (ARA) plugin to a standalone sample editor to ensure universal DAW compatibility.
Key technical components include:
- The
pyharpAPI: A lightweight Python API allowing researchers to wrap Gradio models. It enables the dynamic rendering of model parameters (sliders, toggles) within the HARP plugin. - Asynchronous Processing: Audio or MIDI data is sent to a remote server; the DAW remains responsive while the server processes the request, returning results once complete.
- Lightweight Client: By using
curlfor API queries instead of a full Gradio client, the installation footprint is minimized for end-users.
Key Insights: MIDI and Analysis
HARP 2.0 expands beyond simple audio-to-audio generation, incorporating symbolic music and metadata analysis.
- MIDI Support: Symbolic music is now a "first-class citizen," with a built-in piano roll for visualizing and manipulating MIDI-to-MIDI transformations.
- Labeling and Analysis: The framework now supports time-stamped metadata, allowing models to provide speech-to-text transcriptions or similarity labels directly within the interface.
- Developer Accessibility: By leveraging Gradio, researchers can deploy models to DAWs without needing C++ or VST development expertise.
Results and Future Work
HARP 2.0 provides cross-platform support (Windows, Linux, macOS) and an improved user experience with features like undo/redo and status indicators. While remote processing introduces latency—making it less suitable for live performance—it significantly lowers the barrier for integrating state-of-the-art AI into the studio. Future work focuses on expanding the library of default endpoints and further reducing the friction between research and creative application.
Summary updated