HARP 2.0: Expanding Hosted, Asynchronous, Remote Processing for Deep Learning in the DAW

Christodoulos Benetatos, Frank Cwitkowitz, Nathan Pruyne, Hugo Flores García, Patrick O'Reilly, Zhiyao Duan, Bryan PardoarXiv 2025 · DOI

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.

The HARP 2.0 interface showing model selection (a), load button (b), dynamic parameter controls (c), and audio processing (d).

Key technical components include:

  • The pyharp API: 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 curl for 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.

Support for MIDI visualization (a) and time-stamped audio labeling (b) in HARP 2.0.
  • 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

BibTeX
@misc{benetatos2025harp,
  author = {Christodoulos Benetatos and Frank Cwitkowitz and Nathan Pruyne and Hugo Flores García and Patrick O'Reilly and Zhiyao Duan and Bryan Pardo},
  title = {{HARP 2.0: Expanding Hosted, Asynchronous, Remote Processing for Deep Learning in the DAW}},
  year = {2025},
  eprint = {2503.02977},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.02977},
}
Figure