This repository has an interactive page which you can view the instructions on: https://arme-project.github.io/ARME-System-Setup/
- TODO: Create screenshots where necessary.
- TODO: Expand instructions for connecting headset via USB link.
- TODO: Expand on MAX/MSP instructions for installing the included Antescofo package.
- TODO: Edit the MAX/MSP patch with actual presentation UI, and update instructions.
This repository contains three interconnected projects required to DEMO or DEVELOP the system.
- 🎛️ Adaptive Metronome JUCE Plugin – Standalone Plugin Executable.
- 🎚️ score-follower in MAX/MSP – Score Following and Audio Playback
- 🥽 Magic Leap 2 project in Unity – AR visual interface and display
Each project is organized into DEMO (Instructions to setup a running demo) and DEVELOPMENT (Instructions for setting up full development environment)
- Clone the repo above.
- Run the included executable at
..\BuildOutput\AdaptiveMetronome.exe. - Load the provided
Haydn2.midand set player parameters. - You should see the following interface:
- TODO: Get Screenshot
-
Clone the repo as above. Please note that the full system currently uses the
windows-standalonebranch of the repo. -
Clone JUCE v7.0.9.
-
Navigate to
..\JUCE\extras\Projucer\Builds\VisualStudio2022 -
Build
Projucer.slnusing Visual Studio 2022 or MSBuild tools. -
Load the included
AdaptiveMetronome.jucerfile in Projucer. -
You should see something like the following interface:
- TODO: Get Screenshot
-
Press export to generate the VS2022 solution files and navigate to:
..\AdaptiveMetronome\Builds\VisualStudio2022 -
Use VS2022 or MSBuild to build the generated
AdaptiveMetronome.slnsolution.
- Download and install MAX 9.0.
- Clone the score-follower repo.
- Extract Antescofo package to a folder that MAX/MSP checks for external packages (Expand these instructions).
- Open the
score-follower.maxpatpatcher. - This should load the following interface:

- Setup the required audio files in each Audio Player.
- Choose which method of Onsets will be sent to the AdaptiveMetronome plugin. The current options are:
- Simulated onsets based on a metronome (an Onset is generated automatically every 0.5s, for example).
- Generate enerate onsets when the user taps the Spacebar (this can also be setup to use a connected MIDI device).
- Onsets are generated by Antescofo (a score must be loaded into Antescofo. A pre-recorded audio file should play into Antescofo, or Audio should be routed directly from a mic input for full real-time use).
- Use the [Reset] and [Play] buttons in either MAX or the Adaptive Metronome plugin to begin and reset playback.
- Download and clone project as above. Please note that for development, a MAX/MSP license is required to save edited patches.
- The MAX/MSP Score follower must be running for the headset to connect to.
- Install Magic Leap Hub 3 (download from Magic Leap Hub 3).
- Connect Magic Leap 2 to PC via a USB cable and select USB Tethering as connection style when prompted inside the headset. Or this can be changed afterwards in
Settings -> Connected Devices -> USB. - Load the ARME app on the headset, and click on the Connections tab.
- Identify and select the connection that corresponds to the USB link between PC and headset. This should be called, e.g.
Ethernet - 192.168.42.129 - usb0. The exact IP address can vary. - Clicking Connect should start the automatic connection process with the MAX/MSP score follower. If this works the menu should change to Connected. If this does not work, it will be stuck on ... Connecting indefinitely.
- Once connected, the headset will respond to reset and play commands automatically.
- Download and set-up Magic Leab Hub 3 as above.
Clone the repo and install Unity 6000.0.14f1 via Unity Hub. Make sure to include the Android Build Tools. - In the Magic Leab Hub 3 Packages manager, install:
- ML C SDK 1.4
- Unity Package 1.12.1 - This is now Optional as this is included in the Unity project under the
..\Packagesfolder instead.
- In the Magic Leab Hub 3 Settings go to Use custom ADB and browse to the adb.exe file included with the Unity installation. This is typically installed at:
{ProgramFiles}\Unity\Hub\Editor\6000.0.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\adb.exe - Open the Unity project and load the
MainTestScenescene to make changes. - Under
Edit -> Preferences -> External Tools -> Magic Leapmenu, specify the path to the installedMLSDKfolder. - The
..\Settings\BuildProfilesfolder includes aMagicLeap2FromWindowsbuild profile. This can be built to an.apk, or deployed directly to a connected ML2 Device from Unity.
To add a screenshot at any step:
Make sure your screenshots are stored in a folder like /images/ and committed with your project.

