bisqwit / adlmidi

ADLMIDI is a MIDI player that uses OPL3 emulation.
59 stars 10 forks source link

`-w` should disable looping #13

Closed fenugrec closed 4 months ago

fenugrec commented 4 months ago

It seems using -w to produce a .wav file will continue forever. I noticed when the file was at 400MB (36 minutes) and still growing. I suggest disable looping in this mode.

bisqwit commented 4 months ago

It is a good practice to use -w and -nl in conjunction. There is no option to enable looping, so should you want to create a WAV file that loops through a MIDI file several times, the suggested change would make it impossible.

fenugrec commented 4 months ago

I find it strange to have default behaviour to loop indefinitely, eating up all available disk space, but OK if it's on purpose.