sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
* Duration of recorded file is longer than recording time using SoX
@ 2019-12-16  2:39 George S. Williams
  2019-12-16 16:14 ` Jeremy Nicoll - ml sox users
  0 siblings, 1 reply; 6+ messages in thread
From: George S. Williams @ 2019-12-16  2:39 UTC (permalink / raw)
  To: sox-users


[-- Attachment #1.1: Type: text/plain, Size: 743 bytes --]

I'm using SoX on Centos 7 to record the audio output from GQRX, a SDR 
application. I've selected Monitor of Built-in Audio Analog Stereo from 
the Recording Tab of the Pulseaudio Volume Control. I'm trying to save a 
.wav file with a sample rate of 6k. I'm using the command

|sox -t pulseaudio 2 --rate 6k --channels 1 test.wav |

This works and my test.wav is what I expect except that the duration of 
the file is about a third longer than the actual recording time. 3 hours 
and 15 minutes of recording time results in a file with a duration of 4 
hours and 21 minutes.

I couldn't find anything online or in the SoX documentation concerning 
this. Is there something else I can try to make the wave the actual 
length of the recording?


[-- Attachment #1.2: Type: text/html, Size: 1004 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-12-28 15:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-16  2:39 Duration of recorded file is longer than recording time using SoX George S. Williams
2019-12-16 16:14 ` Jeremy Nicoll - ml sox users
     [not found]   ` <f1382121-d632-9252-17a8-e7baed8913f2@websterling.com>
2019-12-16 20:53     ` Jeremy Nicoll - ml sox users
2019-12-25 21:23       ` Jan Stary
2019-12-26  1:02         ` George S. Williams
2019-12-28 15:52           ` Jan Stary

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).