Record from command-line but wait before returning.
Posted: Wed Aug 07, 2019 4:45 pm
My subject is unclear, I apologize. I hope my explanation is better.
I have a long-running stream and I want to automate recording it to .mp3 files. This command works great:
goldwave -new(32400):c:\dest\gw1.mp3 -record -close
What I'd like to do is set up a loop like this:
for /l %n in (1,1,14) do goldwave -new(32400):c:\dest\gw%n.mp3 -record -close
What I was expecting was that it would start Goldwave, record 9 hours to gw1.mp3, exit then start a second instance of Goldwave, record 9 hours to gw2.mp3 and so on. Since control immediately returned to the command prompt, instead what happened was that I wound up with 14 instances of Goldwave all recording simultaneously.
I can't simply kick it off every 9 hours because the recording is level triggered, and a drop in the stream means that a 9 hour file may take much longer than 9 hours to record.
Any suggestions?
I have a long-running stream and I want to automate recording it to .mp3 files. This command works great:
goldwave -new(32400):c:\dest\gw1.mp3 -record -close
What I'd like to do is set up a loop like this:
for /l %n in (1,1,14) do goldwave -new(32400):c:\dest\gw%n.mp3 -record -close
What I was expecting was that it would start Goldwave, record 9 hours to gw1.mp3, exit then start a second instance of Goldwave, record 9 hours to gw2.mp3 and so on. Since control immediately returned to the command prompt, instead what happened was that I wound up with 14 instances of Goldwave all recording simultaneously.
I can't simply kick it off every 9 hours because the recording is level triggered, and a drop in the stream means that a 9 hour file may take much longer than 9 hours to record.
Any suggestions?