From 6ba60f7329811a4bb3a07b1e6d81156d7f3a4ac3 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 12 Jan 2025 17:57:49 +0100 Subject: Added MIDIPlayer (WIP) --- MIDIPlayer.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 MIDIPlayer.h (limited to 'MIDIPlayer.h') diff --git a/MIDIPlayer.h b/MIDIPlayer.h new file mode 100644 index 0000000..e859bed --- /dev/null +++ b/MIDIPlayer.h @@ -0,0 +1,21 @@ +#pragma once + +#include +#include + +class MIDIPlayer +{ +public: + MIDIPlayer(); + + void start(); + + void stop(); + + bool is_playing(); + + void set_file(const std::string& filename); + + std::vector get_filelist(); +}; + -- cgit v1.2.3