aboutsummaryrefslogtreecommitdiff
path: root/src/midi_sequencer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/midi_sequencer.hpp')
-rw-r--r--src/midi_sequencer.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/midi_sequencer.hpp b/src/midi_sequencer.hpp
index 8872fde..2cba080 100644
--- a/src/midi_sequencer.hpp
+++ b/src/midi_sequencer.hpp
@@ -387,6 +387,12 @@ private:
//! Set the number of loops limit. Lesser than 0 - loop infinite
int m_loopCount;
+ //! The number of track of multi-track file (for exmaple, XMI) to load
+ int m_loadTrackNumber;
+
+ //! The XMI-specific list of raw songs, converted into SMF format
+ std::vector<std::vector<uint8_t > > m_rawSongsData;
+
/**
* @brief Loop stack entry
*/
@@ -612,6 +618,12 @@ public:
void setSoloTrack(size_t track);
/**
+ * @brief Set the track number of a multi-track file (such as XMI)
+ * @param trackNumber Identifier of the track to load (or -1 to mix all tracks as one song)
+ */
+ void setLoadTrack(int track);
+
+ /**
* @brief Defines a handler for callback trigger events
* @param handler Handler to invoke from the sequencer when triggered, or NULL.
* @param userData Instance of the library