The export .wav command is used to save a single sfx or full music pattern as a wav file. Which you save depends on the currently selected editor.
To export an entire MUSIC pattern:
Navigate to the Music Editor and select the pattern you want to export. Next, press ESC to return to the command line and type the above command. Your .wav file will be saved in the currently opened folder.
If your music pattern loops infinitely, then it will save as a repeating loop until it reaches 4 minutes and 30 seconds.
15 Jun 2023