Allolib
1.0
C++ Components For Interactive Multimedia
|
The SequenceRecorder class records preset changes in a ".sequence" file. More...
Public Member Functions | |
void | startRecord (std::string name="", bool overwrite=false) |
startRecord begins recording preset changes More... | |
void | stopRecord () |
bool | recording () |
void | setMaxRecordTime (al_sec maxTime) |
std::string | lastSequenceName () |
std::string | lastSequenceSubDir () |
void | setDirectory (std::string directory) |
setDirectory sets the working directory for the SequenceRecorder More... | |
std::string | getCurrentPath () |
SequenceRecorder & | operator<< (PresetHandler &handler) |
void | registerPresetHandler (PresetHandler &handler) |
SequenceRecorder & | operator<< (ParameterMeta ¶m) |
void | registerParameter (ParameterMeta &p) |
Protected Member Functions | |
virtual bool | consumeMessage (osc::Message &m, std::string rootOSCPath) override |
Returns true if message was consumed by this class. | |
The SequenceRecorder class records preset changes in a ".sequence" file.
The sequences recorded can be played back using the PresetSequencer class.
Definition at line 82 of file al_SequenceRecorder.hpp.
void al::SequenceRecorder::setDirectory | ( | std::string | directory | ) |
setDirectory sets the working directory for the SequenceRecorder
directory | If a PresetHandler is registered, this value is ignored. |
void al::SequenceRecorder::startRecord | ( | std::string | name = "" , |
bool | overwrite = false |
||
) |
startRecord begins recording preset changes
name | default name is "new_seq" |
overwrite | whether to force overwrite |
By default startRecord() will not overwrite, and will append a number to the sequence name specified.