On Windows, set the /dev/stdout device equivalent to a file instead, which is audio.wav; Writing to CON, CONOUT$ does not work with redirection. Tested a bunch of things, this is what works now.
Allow a user to specify a different filename to write to, instead of printing to console or audio.wav.
This change does two things:
/dev/stdout
device equivalent to a file instead, which isaudio.wav
; Writing toCON
,CONOUT$
does not work with redirection. Tested a bunch of things, this is what works now.audio.wav
.