Hi, I have a question regarding recording with sox in Windows command line, I wonder how I can set the duration of recording sound file in wav format, Is there any flag for that? i.e. I want the record to get done after the duration is over, instead of killing the process by taskkill command. Because there is an issue killing the sox process remotely from windows command line. When I kill the process remotely, it sets the wrong riff header for the wav file, for instance, the actual size is 3Mb but it sets the size in the header to 3TB. I tried out :
Pskill sox
taskkill /IM sox.exe
but none of them works.
That is the reason I resorted to set the duration for sox recording in order to make the recording stop when the time is over instead of killing the process.
It does not make any difference for me, either of them works, I apply that approach.
Please inform me if you have any suggestions for either of them.
Use the
trimeffect.