This repo contains two projects:
- React MIDI, a looping MIDI generator that implements the concepts of ReactJS.
- An asymmetric live coding frontend where a performer in VR can schedule React MIDI methods written by a performer on a laptop to specific instruments.
We have tested this on Linux and Windows only.
- Download https://tmbe.me/c/midi-bundle.zip and run squeak.bat/squeak.sh.
- There will be an open workspace. Select its step 1 and press Cmd/Ctrl+d for do-it.
- Then paste this into the workspace and do-it:
RtMIDI class compile: 'moduleName ^ ''rtmidi'''
. This sets the path to the rtmidi library, so if it can't be found, you can adapt it here. - The remainder of the workspace explains the use of the system.
- (Windows-only) we needed LoopMIDI to be able to send the generated MIDI events to a locally running synth. https://www.tobias-erichsen.de/software/loopmidi.html
Please open an issue if you're having any troubles :)
- You need a Squeak6.0.
- Clone and load this project via Metacello:
Metacello new
baseline: 'ReactMIDI';
repository: 'github://hpi-swa-lab/react-midi:main/packages';
load
- Make sure you have the dynamic library for rtmidi in your shared lib path.
- For the VR subsystem, make sure to have Godot installed.
- For the Quest in particular, make sure to have adb in your PATH.