Re: Silence effect help?

Erich Eckner <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
Hi Doug,

I have not used the silence effect myself, but your problem might be the
specification of the duration:

              duration is a time specification with the peculiarity that
a bare number is interpreted as a sample count, not as a number of
seconds.  For  specifying  sec‐
              onds, either use the t suffix (as in `2t') or specify
minutes, too (as in `0:02').

so you might want to add a "t" to your duration. Also you might want to
set all durations to 7 seconds (why do you want to trim each silence of
at least one sample (or second) from the beginning?)

Cheers,
Erich

On 31.07.2017 18:56, Doug Lee wrote:
> I want to trim any silent period in a file longer than seven seconds down to seven seconds; that is, keep the first seven seconds of silence
> and discard the rest. I tried "silence -l 1 1 0 -1 7.0 0" but it seems not to work after the first instance. For this project, digital 0 is
> a fair definition of "silence"; but I'm sure just changing the two 0's would account for that issue in other projects.
> 
> I'm sure I'm missing something obvious, but this effect's syntax has always confused me a bit.
> 
> What did I do wrong in the above effect?
> 
> Thanks much for any info.
> 
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Sox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAll/Z/QACgkQCu7JB1Xa
e1q5CA//VWMXHlznI63TDYkE1KVGxUsdt7pkNBxc+K1OxgCTlRihL3oMocOOpiaE
KbpFfKjbGT2/XhabgWm75MipZq3DZMVZUxubkTfSND3QaFSxzLGtou60X6JRxezL
9SYBuFiRZs/Ijc94ik6IMk9KfTSePDRoOc2NQNm7Nshvpjpd1DG9FI1+mFK7ENin
KaA/frVmVBWzeRwjmlAtVRwWKrj8IwERiuaJGmLVPgrrd+VrtxVsF8Jsx6+9Rse4
2F7rHORy9biKjLaVmgYSaLoVrpunuQjaQSO+JIQgW1iFYBHpBp0QhhjFgOlo3Dh6
2yp6SQkkOBlpcVdbW/u/kMM644icEReWVEhXajZ7yDO3RxQ6lec51Mm9CkoZTuHx
00etSXtRKxZ5UvjFesfaNUAw+0vzvGHaf5NYNMRbDvVpwJhORjRkEQ7ZVrhVqwOm
ILsss1UZ9Iy0qAZR4byjOgXz5p8Ni9iyg9dhYq1kcP8xO/oAY83/XOJ1JHTyJnei
kZuqumU+kQ5Q697xbR/Of1ZvtV98W5XK7pgrqNGPJ6tsN3pm99fs6QtrRacRYbLS
isX/1e1hpHi98Il+kQaNcaJnAuVAXzgv2bm5hBY5OGry16/4zrPI7SeAvRcEYy3E
vpMafVccar8/DFyyNE3SyOxIcGRBV4MbEZrowS+7N6euFxxnaCw=
=QS4o
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.