A python toolkit for automatic audio/MIDI rendering using REAPER
What is REAPER?
REAPER is a DAW providing APIs in pyhton/lua/C++.
For musicians/audio programmers, using DAW (digital audio workstation) for music/audio processing is common nowadays. They can utilize abundant sound effects/plugins and customized settings to achieve their desired sound.
For AI/ML researchers, especially in MIR/audio fields, they need programmable libraries to process data. However, the quality of accessible ones are usually far from satisfied, comparing to commerical plugins. For example: instrument synthesis (soundfont/fluidsynth v.s. professional-grade virtual instruments, VSTi), sound effects (Sox v.s. VST).
This toolkit brings an alternative solution: musician/audio engineers can customize their setting in DAW as usual, while AI/ML researchers can automate the rendering process to get their desired data.
We hope this toolkit can boost the development in related fields. For example, it can synthesize huge amount of data with high quality, which is beneficial for transcription, source separation, automatic music composition, and etc.
Listen to some samples composed by our AI composition model - REMI and rendered by our ReaRender project.
-
Piano solo: SoundCloud
-
Piano & drums: SoundCloud
The drum loops are automatically added by analyzing the structure and grooving of the generated piano track.
- Python 3
- REAPER 5.X
it’s a bit tricky to get it to run. Therefore, we provide you a few tutorials. See the documents below.
To controll REAPER in python, you need to install beyond_reaper. Please check out here for the instructions.
I'm not the author of this awesome package.
The source is from here.
Special thanks to the Reaper community.
The instruction here will show musicians and engineers how to setup their REAPER project.
We have two templates:
- single media - synth_single_media.py
- multi media - synth_multi_media.py
Following the structure of the repo and place the media files into these corresponding folders. You can run the programs directly.
MIT License