prepare for text export

This commit is contained in:
tildearrow 2023-12-04 04:17:30 -05:00
parent 06c3455852
commit 643e5d5d5b
4 changed files with 220 additions and 0 deletions

View file

@ -647,6 +647,8 @@ class DivEngine {
SafeWriter* saveZSM(unsigned int zsmrate=60, bool loop=true, bool optimize=true);
// dump command stream.
SafeWriter* saveCommand(bool binary=false);
// export to text
SafeWriter* saveText(bool separatePatterns=true);
// export to an audio file
bool saveAudio(const char* path, int loops, DivAudioExportModes mode, double fadeOutTime=0.0);
// wait for audio export to finish