<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: The SoX of Silence</title>
	<atom:link href="http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/feed/" rel="self" type="application/rss+xml" />
	<link>http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/</link>
	<description></description>
	<lastBuildDate>Sun, 05 Feb 2012 17:33:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: jason</title>
		<link>http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/comment-page-1/#comment-24948</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Sun, 05 Feb 2012 17:33:26 +0000</pubDate>
		<guid isPermaLink="false">http://digitalcardboard.com/blog/?p=75#comment-24948</guid>
		<description>My suggestion would be just to pad the output file with some silence after you&#039;re done trimming it out. It adds an extra step, but if you can batch it out it shouldn&#039;t matter much...
&lt;code&gt;sox infile.wav outfile.wav pad 0.1&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>My suggestion would be just to pad the output file with some silence after you&#8217;re done trimming it out. It adds an extra step, but if you can batch it out it shouldn&#8217;t matter much&#8230;<br />
<code>sox infile.wav outfile.wav pad 0.1</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerry</title>
		<link>http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/comment-page-1/#comment-24912</link>
		<dc:creator>Gerry</dc:creator>
		<pubDate>Sun, 05 Feb 2012 00:23:42 +0000</pubDate>
		<guid isPermaLink="false">http://digitalcardboard.com/blog/?p=75#comment-24912</guid>
		<description>Thanks for posting these notes - sox is a great tool.
A question if I may... Is there a simple way to trim all silence except for say 100ms from the start of a file?</description>
		<content:encoded><![CDATA[<p>Thanks for posting these notes &#8211; sox is a great tool.<br />
A question if I may&#8230; Is there a simple way to trim all silence except for say 100ms from the start of a file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/comment-page-1/#comment-19260</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Mon, 21 Nov 2011 15:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://digitalcardboard.com/blog/?p=75#comment-19260</guid>
		<description>Good Job. Thanks for taking time to write and share this doc.</description>
		<content:encoded><![CDATA[<p>Good Job. Thanks for taking time to write and share this doc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jason</title>
		<link>http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/comment-page-1/#comment-14234</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Tue, 17 May 2011 16:50:11 +0000</pubDate>
		<guid isPermaLink="false">http://digitalcardboard.com/blog/?p=75#comment-14234</guid>
		<description>Good point! Thanks for the tip!</description>
		<content:encoded><![CDATA[<p>Good point! Thanks for the tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DickN</title>
		<link>http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/comment-page-1/#comment-14215</link>
		<dc:creator>DickN</dc:creator>
		<pubDate>Tue, 17 May 2011 02:04:27 +0000</pubDate>
		<guid isPermaLink="false">http://digitalcardboard.com/blog/?p=75#comment-14215</guid>
		<description>That&#039;s exactly the information I&#039;ve been looking for.  I&#039;m a new SOX user and I have piles of sound files I&#039;m converting to another format.  Some of them have clicks at the beginning and some have long tails of dead air.  This fixes both, so I can process the whole library in one batch.

You don&#039;t need the temp file.  SOX allows multiple effects to be listed and will execute them serially.  Thus,

sox in.wav out.wav silence 1 0.1 1% reverse silence 1 0.1 1% reverse

is legal and works just like your example.  I added &#039;norm&#039; before the first &#039;silence&#039;.  It&#039;s also a good idea to add &#039;--no-clobber&#039; before the input file name, especially if you&#039;re running this from a batch process.</description>
		<content:encoded><![CDATA[<p>That&#8217;s exactly the information I&#8217;ve been looking for.  I&#8217;m a new SOX user and I have piles of sound files I&#8217;m converting to another format.  Some of them have clicks at the beginning and some have long tails of dead air.  This fixes both, so I can process the whole library in one batch.</p>
<p>You don&#8217;t need the temp file.  SOX allows multiple effects to be listed and will execute them serially.  Thus,</p>
<p>sox in.wav out.wav silence 1 0.1 1% reverse silence 1 0.1 1% reverse</p>
<p>is legal and works just like your example.  I added &#8216;norm&#8217; before the first &#8216;silence&#8217;.  It&#8217;s also a good idea to add &#8216;&#8211;no-clobber&#8217; before the input file name, especially if you&#8217;re running this from a batch process.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jason</title>
		<link>http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/comment-page-1/#comment-13826</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Thu, 28 Apr 2011 16:26:34 +0000</pubDate>
		<guid isPermaLink="false">http://digitalcardboard.com/blog/?p=75#comment-13826</guid>
		<description>&lt;code&gt;sox in.wav out.wav silence 1 0.5 1% 1 5.0 1% : newfile : restart&lt;/code&gt;
is the way to split audio using SoX. I&#039;ve added it as an example in the article.</description>
		<content:encoded><![CDATA[<p><code>sox in.wav out.wav silence 1 0.5 1% 1 5.0 1% : newfile : restart</code><br />
is the way to split audio using SoX. I&#8217;ve added it as an example in the article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lasky</title>
		<link>http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/comment-page-1/#comment-13818</link>
		<dc:creator>Lasky</dc:creator>
		<pubDate>Thu, 28 Apr 2011 08:49:54 +0000</pubDate>
		<guid isPermaLink="false">http://digitalcardboard.com/blog/?p=75#comment-13818</guid>
		<description>Thanks a lot for excellent explanation of that sox&#039;s effect. Very useful.

I did think about use the silence effect to split one huge file into set of files. The cut point would be a period of silence longer then some parameter (i.e. 5 s).

Do you think it is possible using  sox??

Poul</description>
		<content:encoded><![CDATA[<p>Thanks a lot for excellent explanation of that sox&#8217;s effect. Very useful.</p>
<p>I did think about use the silence effect to split one huge file into set of files. The cut point would be a period of silence longer then some parameter (i.e. 5 s).</p>
<p>Do you think it is possible using  sox??</p>
<p>Poul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Mascarenhas</title>
		<link>http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/comment-page-1/#comment-13259</link>
		<dc:creator>Matt Mascarenhas</dc:creator>
		<pubDate>Fri, 08 Apr 2011 22:20:31 +0000</pubDate>
		<guid isPermaLink="false">http://digitalcardboard.com/blog/?p=75#comment-13259</guid>
		<description>Thanks very much for this, jason. I took your &lt;a href=&quot;http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/#comment-2523&quot; rel=&quot;nofollow&quot;&gt;batch file&lt;/a&gt; and made the following bash script:

&lt;code&gt;#!/bin/bash

for f in *.wav
do
sox &quot;$f&quot; &quot;temp.wav&quot; silence 1 0.1 1% reverse
sox &quot;temp.wav&quot; &quot;$f&quot; silence 1 0.1 1% reverse
done&lt;/code&gt;

which simply trims the silence off both ends of all .wav files in the &quot;$PWD&quot;.</description>
		<content:encoded><![CDATA[<p>Thanks very much for this, jason. I took your <a href="http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/#comment-2523" rel="nofollow">batch file</a> and made the following bash script:</p>
<p><code>#!/bin/bash</p>
<p>for f in *.wav<br />
do<br />
sox "$f" "temp.wav" silence 1 0.1 1% reverse<br />
sox "temp.wav" "$f" silence 1 0.1 1% reverse<br />
done</code></p>
<p>which simply trims the silence off both ends of all .wav files in the &#8220;$PWD&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jason</title>
		<link>http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/comment-page-1/#comment-12767</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Wed, 23 Mar 2011 15:38:52 +0000</pubDate>
		<guid isPermaLink="false">http://digitalcardboard.com/blog/?p=75#comment-12767</guid>
		<description>I believe you&#039;ll set the recording device using the Windows mixer and then

&lt;code&gt;sox -d recfile.wav&lt;/code&gt;

And it should just work...</description>
		<content:encoded><![CDATA[<p>I believe you&#8217;ll set the recording device using the Windows mixer and then</p>
<p><code>sox -d recfile.wav</code></p>
<p>And it should just work&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: riaz</title>
		<link>http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/comment-page-1/#comment-12744</link>
		<dc:creator>riaz</dc:creator>
		<pubDate>Tue, 22 Mar 2011 21:50:50 +0000</pubDate>
		<guid isPermaLink="false">http://digitalcardboard.com/blog/?p=75#comment-12744</guid>
		<description>HI i wanted to know how to set recording device to mic (rear panel) i have realtek soound card.

I tried -t waveaudio &quot;Mic&quot;
but it did not detect the device and returned error.  I could try &quot;High Definition Audio&quot; but all recording devices including mic and stereo output have this description.  So how would you do it.

If anyone who is good at using rec (or sox) please can i have your email or msn?</description>
		<content:encoded><![CDATA[<p>HI i wanted to know how to set recording device to mic (rear panel) i have realtek soound card.</p>
<p>I tried -t waveaudio &#8220;Mic&#8221;<br />
but it did not detect the device and returned error.  I could try &#8220;High Definition Audio&#8221; but all recording devices including mic and stereo output have this description.  So how would you do it.</p>
<p>If anyone who is good at using rec (or sox) please can i have your email or msn?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
