https://github.com/sonic-pi-net/sp_midi
MIDI functionality for Sonic Pi for use as Erlang module
https://github.com/sonic-pi-net/sp_midi
c cpp erlang erlang-nif sonic-pi
Last synced: 10 months ago
JSON representation
MIDI functionality for Sonic Pi for use as Erlang module
- Host: GitHub
- URL: https://github.com/sonic-pi-net/sp_midi
- Owner: sonic-pi-net
- License: other
- Created: 2020-04-24T15:23:28.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-01-22T21:47:21.000Z (about 1 year ago)
- Last Synced: 2025-04-09T06:33:46.268Z (12 months ago)
- Topics: c, cpp, erlang, erlang-nif, sonic-pi
- Language: C++
- Homepage:
- Size: 272 MB
- Stars: 11
- Watchers: 6
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# sp_midi
sp_midi aims to provide a lightweight, portable, easy to use library for Sonic Pi to be able to work with MIDI devices.
It provides an erlang NIF interface to be integrated into Sonic Pi's erlang event dispatching architecture.
For the erlang side to drive the API it provides some NIF-based functions. On the other direction for the library to provide events to erlang it uses enif_send (also part of erlang's NIF).
## Building
For build instruction see INSTALL.md.
sp_midi is built assuming C++14. The build system is based on cmake. Tested target compiler in Windows is MSVC 2019 Win64, in Linux is gcc 4.9 or later, and on Mac, clang 5.1
or later.
sp_midi uses the following Open Source libs:
* spdlog, for logging (included in the tree)
* concurrentqueue (included in the tree)
* rtmidi (included in the tree)
## LICENSE
See LICENSE.md file for details.