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

Jan Stary <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
> > 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.