GDRtMidi is a wrapper for the popular C++ midi library RtMidi.
Currently only the Midi Out interface is supported.
-
Download from releases the version appropriate for your target platform(s). Prebuilt binaries for Windows and Linux are currently available.
-
Copy the addons folder in your godot project.
-
Clone the repo.
-
Compile godot-cpp.
cd godot-cpp && scons platform=windows -j12 && cd ..
then build the gdnative libsscons platform=windows/linux/osx
Note: you might need to build rtmidi yourself if compiling for windows/osxcd rtmidi && ./autogen.sh && make
-
Create a folder named
gdrtmidi
. Copy the contents ofgd
into this folder. Copy the built library from step 2 somewhere inside this folder. By default it should be inlib/x11
for linux orlib/win
for windows. If you choose to choose an arbitrary location, update thegdrtmidi.gdnlib
accordingly. -
Copy the
gdrtmidi
folder under theaddons
directory in your godot project.
- Docs are currently under construction. For the time being refer to the RtMidiOut Class Interface
https://www.music.mcgill.ca/~gary/rtmidi/classRtMidiOut.html