Re: Duration of recorded file is longer than recording time using SoX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > Also, a command line like that will not stop recording its input
> > just because the other side has stopped producing output
> > (as opposed to reading a file as input). So how exactly
> > is the above SoX process terminated?
> SoX is terrminated with Ctrl-C

In that case, the sox recording will be as long
as the time between start and the ctrl-c termination
(give or take a buffer or two).

> > > > > In your "too long" wave file, does it start with 1h 6m of something
> > > > > else, or end with 1h 6m of something else?  Or what?
> > > > The wave file contains what was recorded, nothing extra. It is
> > > > 'stretched' to the longer duration.

What do you mean by that. Does it play slower?
Then I would suspect a sample rate mismatch
- hard to tell without actual soxi  or sox -V output.

> > How can it "contain what was recorded, nothing extra"
> > and at the same time be of different length? Is it the
> > rate change? That is, are you recording a 6kHz channel
> > at the specified rate of 6kHz?

Jan



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




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux