sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
* How to get list of time marks for silence?
@ 2018-09-25 22:47 Albert Berger
  0 siblings, 0 replies; only message in thread
From: Albert Berger @ 2018-09-25 22:47 UTC (permalink / raw)
  To: sox-users

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-25 22:47 How to get list of time marks for silence? Albert Berger

sox-users@lists.sourceforge.net unofficial mirror

Archives are clonable: git clone --mirror https://public-inbox.org/sox-users

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.sox
	nntp://news.gmane.org/gmane.comp.audio.sox

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox