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.cpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 MIDIPlayer.cpp (limited to 'MIDIPlayer.cpp') diff --git a/MIDIPlayer.cpp b/MIDIPlayer.cpp new file mode 100644 index 0000000..41f852e --- /dev/null +++ b/MIDIPlayer.cpp @@ -0,0 +1,27 @@ +#include "MIDIPlayer.h" + +MIDIPlayer::MIDIPlayer() +{ +} + + +void MIDIPlayer::start() +{ + "aplaymidi -p24 locked_out_of_heaven.midi" +} + +void MIDIPlayer::stop() +{ +} + +bool MIDIPlayer::is_playing() +{ +} + +void MIDIPlayer::set_file(const std::string& filename) +{ +} + +std::vector MIDIPlayer::get_filelist() +{ +} -- cgit v1.2.3