sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
* Reason for sox mix restriction to two or more input files?
@ 2019-08-09 19:42 Dr. Thomas Tensi
  2019-08-10  9:52 ` Jeremy Nicoll - ml sox users
  0 siblings, 1 reply; 6+ messages in thread
From: Dr. Thomas Tensi @ 2019-08-09 19:42 UTC (permalink / raw)
  To: sox-users

Dear all,


I am using sox for automatic, scripted file generation.

One step is a mix of several input files.  It may happen
that - by configuration - only a single input file remains
for that mixing step.

This cannot be handled by sox, because sox _requires_
at least two input files and quits with the message
   "Not enough input filenames specified"

I understand that at least one input file is necessary
(for finding the target length, sample rate etc.), but
why does sox fail when mixing a single input file?


          Best regards,

                   Thomas


_______________________________________________
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
* Re: Reason for sox mix restriction to two or more input files?
@ 2019-08-11 19:22 Dr. Thomas Tensi
  2019-08-12  9:29 ` Måns Rullgård
  0 siblings, 1 reply; 6+ messages in thread
From: Dr. Thomas Tensi @ 2019-08-11 19:22 UTC (permalink / raw)
  To: sox-users

Hello Måns,


thanks for your effort!

I have the same opinion: mixing should be possible for
a single input.

Nevertheless be careful with your patch: one has to
check whether other operations (like multiply) are
still meaningful for a single input.  I think so,
but I have not looked deeply into that.


        Best regards,

                 Thomas



_______________________________________________
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-08-12  9:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09 19:42 Reason for sox mix restriction to two or more input files? Dr. Thomas Tensi
2019-08-10  9:52 ` Jeremy Nicoll - ml sox users
2019-08-10 12:06   ` Dr. Thomas Tensi
2019-08-10 17:28   ` Måns Rullgård
  -- strict thread matches above, loose matches on Subject: below --
2019-08-11 19:22 Dr. Thomas Tensi
2019-08-12  9:29 ` Måns Rullgård

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).