Log In  

See my first mention of this here:
https://www.lexaloffle.com/bbs/?pid=120143#p

I assumed the headless export option (pico8.exe myFile.p8 -export "paramsHere") could export audio as it does graphics. Apparently it cannot! Specifying a .wav output crashes pico8.exe (on Windows at least).

pico8.exe myFile.p8 -export snd.wav
pico8.exe myFile.p8 -export snd%d.wav
etc.
  1. If headless wav export is disallowed, can it indicate that gracefully, without crashing?
  2. If headless wav export can be allowed (please! for sound/music tools) how should we specify single sound vs all sounds vs music? Following the existing exports, might I suggest:
pico8.exe myFile.p8 -export "-s 2 snd.wav" // for single sound, example 2
pico8.exe myFile.p8 -export "snd%d.wav" // the % pattern indicates all sounds
pico8.exe myFile.p8 -export "-p 5 mus.wav" // music, -p indicates starting pattern, example 5

Thanks for considering.

P#120361 2022-11-09 04:35


[Please log in to post a comment]