shithub: m8c

ref: 17d2d6f75df1eac72b70b6e9f0d4ebf215f015fb
dir: /src/backends/rtmidi.h/

View raw version
// Copyright 2021 Jonne Kokkonen
// Released under the MIT licence, https://opensource.org/licenses/MIT
#ifndef _MIDI_H_
#define _MIDI_H_
#ifdef USE_RTMIDI

#include "../config.h"

int m8_initialize(int verbose, const char *preferred_device);
int m8_list_devices(void);
int m8_reset_display(void);
int m8_enable_and_reset_display(void);
int m8_send_msg_controller(const unsigned char input);
int m8_send_msg_keyjazz(const unsigned char note, unsigned char velocity);
int m8_process_data(config_params_s conf);
int m8_close(void);

#endif
#endif