sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
* Search and remove audio sections
@ 2020-11-17 15:52 Dani
  2020-11-17 20:42 ` Jeremy Nicoll - ml sox users
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Dani @ 2020-11-17 15:52 UTC (permalink / raw)
  To: sox-users@lists.sourceforge.net

Hi,

I have a bunch of old MP3 podcasts that have ads in them, at the beginning and the end. These are short bits of podcasts (up to 10 minutes each), and the ads are quite distracting.
The ads are about 30 seconds long and usually have a small familiar jingle before they start and after they end. 
I was wondering if there is an ability using SoX (or other tool) to do a "search and remove" on these, in a batch format - that would apply to hundreds of these files.
Something in the form of:
%jingle% -> the familiar jingle at the start and end of the ad, so... mimicking a made-up wildcard/regex search:
Search for:  (%jingle% * %jingle%) ( * ) (%jingle% * %jingle%)
Replace: ($2) - meaning - I leave only the center part.
Is that something that can be done with audio?

Thanks,

Dani.




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

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

end of thread, other threads:[~2020-11-20 14:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-17 15:52 Search and remove audio sections Dani
2020-11-17 20:42 ` Jeremy Nicoll - ml sox users
2020-11-17 21:40   ` Jeff Learman
2020-11-18  0:25     ` Jeremy Nicoll - ml sox users
2020-11-18  8:01       ` Dani
2020-11-19  2:21 ` Rafal Maszkowski
2020-11-20 14:18 ` 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).