From: Albert Berger <nbdspcl@gmail.com>
To: sox-users@lists.sourceforge.net
Subject: How to get list of time marks for silence?
Date: Wed, 26 Sep 2018 01:47:15 +0300 [thread overview]
Message-ID: <20180925224714.GA27895@kw.merryville> (raw)
Hello,
could someone advise please if there exists a fast way to get a list of time
labels for all periods of silence in an audio file?
I can get such list in a "long way" with a command:
play someFile.mp3 silence -l 0 1 0.26t -54d : restart
And wait till the whole file will be played at normal speed to get the
needed information:
In:0.04% 00:00:00.74 [00:29:29.08] Out:14.5k [ | ] Clip:0
In:0.88% 00:00:15.60 [00:29:14.22] Out:341k [ | ] Clip:0
In:0.90% 00:00:15.98 [00:29:13.84] Out:349k [ | ] Clip:0
In:0.92% 00:00:16.35 [00:29:13.47] Out:356k [ | ] Clip:0
In:0.94% 00:00:16.72 [00:29:13.10] Out:363k [ | ] Clip:0
In:0.97% 00:00:17.09 [00:29:12.73] Out:369k [ | ] Clip:0
In:1.03% 00:00:18.20 [00:29:11.62] Out:400k [ | ] Clip:0
Is there some way to get this sort of information fast? (I tried to
look into 'stat' effect, but could not figure out how to use it for
this task.)
Thanks.
/Al
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users
reply other threads:[~2018-09-25 22:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.sourceforge.net/lists/listinfo/sox-users
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180925224714.GA27895@kw.merryville \
--to=sox-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).