sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
* Skip missing input files
@ 2017-03-09 19:26 me
  2017-03-09 23:37 ` Will
  0 siblings, 1 reply; 2+ messages in thread
From: me @ 2017-03-09 19:26 UTC (permalink / raw)
  To: sox-users@lists.sourceforge.net


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

I’m trying to mix 5 files together but sometimes there will be no file in one of the spots. 

Is there a way to skip that file instead of erroring out?


IE. sox --norm=-4 C:\cc-temp\1000.wav C:\cc-temp\1020.wav C:\cc-temp\1021.wav C:\cc-temp\1022.wav C:\cc-temp\1023.wav C:\cc-temp\1024.wav

If one or two of those files are missing, can I skip them and just continue on mixing the others?

Right now it appears to error out.


Alex


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

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

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford

[-- 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] 2+ messages in thread

* Re: Skip missing input files
  2017-03-09 19:26 Skip missing input files me
@ 2017-03-09 23:37 ` Will
  0 siblings, 0 replies; 2+ messages in thread
From: Will @ 2017-03-09 23:37 UTC (permalink / raw)
  To: sox-users


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

If cc-temp only contains the wavs you have to process, you might be able to
use C:\cc-temp\*.wav

Otherwise you could use some batch scripting to filter the filenames to
those that exist.

Will

On 10 March 2017 at 05:26, <me@alexhackney.com> wrote:

> I’m trying to mix 5 files together but sometimes there will be no file in
> one of the spots.
>
>
>
> Is there a way to skip that file instead of erroring out?
>
>
>
>
>
> IE. sox --norm=-4 C:\cc-temp\1000.wav C:\cc-temp\1020.wav
> C:\cc-temp\1021.wav C:\cc-temp\1022.wav C:\cc-temp\1023.wav
> C:\cc-temp\1024.wav
>
>
>
> If one or two of those files are missing, can I skip them and just
> continue on mixing the others?
>
>
>
> Right now it appears to error out.
>
>
>
>
>
> Alex
>
>
>
> ------------------------------------------------------------
> ------------------
> Announcing the Oxford Dictionaries API! The API offers world-renowned
> dictionary content that is easy and intuitive to access. Sign up for an
> account today to start using our lexical data to power your apps and
> projects. Get started today and enter our developer competition.
> http://sdm.link/oxford
> _______________________________________________
> Sox-users mailing list
> Sox-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users
>
>

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

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

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford

[-- 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] 2+ messages in thread

end of thread, other threads:[~2017-03-09 23:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-09 19:26 Skip missing input files me
2017-03-09 23:37 ` Will

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