
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title> &#187; gsm</title>
	<atom:link href="https://www.nikeshshk.com.np/tag/gsm/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.nikeshshk.com.np</link>
	<description></description>
	<lastBuildDate>Tue, 04 Nov 2025 10:25:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.4</generator>
	<item>
		<title>Converting WAV files</title>
		<link>https://www.nikeshshk.com.np/news/converting-wav-files/</link>
		<comments>https://www.nikeshshk.com.np/news/converting-wav-files/#comments</comments>
		<pubDate>Tue, 09 Sep 2014 11:28:40 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[convert wav files]]></category>
		<category><![CDATA[gsm]]></category>
		<category><![CDATA[sox]]></category>

		<guid isPermaLink="false">http://www.nikeshshk.com.np/?p=778</guid>
		<description><![CDATA[Converting WAV files If you have a wav file (in what format?) you can convert it using the sox program. &#8211; Raw linear, signed 16 bit, mono, 8000 Hz (.slin) sox file.wav -t raw -r 8000 -c 1 -w -s file.slin &#8211; Raw mu-law, mono, 8000 Hz (.mulaw or .u) sox file.wav -t raw -r 8000 -c 1 -b 8 -U file.mulaw &#8211; Raw A-law, mono, 8000 Hz (.alaw or .A) sox file.wav -t raw -r 8000 -c 1 -b 8 -A file.alaw &#8211; Raw GSM, mono, 8000 Hz (.gsm) sox file.wav -t raw -r 8000 -c 1 -b 8 -g file.gsm (not all versions of sox support this conversion) &#8211; SUN/SGI audio/basic file, mono 8000 Hz (.au) containing: - Signed linear sox file.wav -r 8000 -c 1 -w -s file.au - alaw sox file.wav -r 8000 -c 1 -b 8 -A file.au - mulaw sox file.wav -r 8000 -c 1 -b 8 -U file.au In addition basic format &#8220;conversion&#8221;&#160;<a href="https://www.nikeshshk.com.np/news/converting-wav-files/" class="read-more">Continue Reading</a>]]></description>
				<content:encoded><![CDATA[<h3>Converting WAV files</h3>
<p>If you have a wav file (in what format?) you can convert it using the sox program.</p>
<p>&#8211; Raw linear, signed 16 bit, mono, 8000 Hz (.slin)</p>
<pre>    sox file.wav -t raw -r 8000 -c 1 -w -s file.slin</pre>
<p>&#8211; Raw mu-law, mono, 8000 Hz (.mulaw or .u)</p>
<pre>    sox file.wav -t raw -r 8000 -c 1 -b 8 -U file.mulaw</pre>
<p>&#8211; Raw A-law, mono, 8000 Hz (.alaw or .A)</p>
<pre>    sox file.wav -t raw -r 8000 -c 1 -b 8 -A file.alaw</pre>
<p>&#8211; Raw GSM, mono, 8000 Hz (.gsm)</p>
<pre>    sox file.wav -t raw -r 8000 -c 1 -b 8 -g file.gsm
    (not all versions of sox support this conversion)</pre>
<p>&#8211; SUN/SGI audio/basic file, mono 8000 Hz (.au) containing:</p>
<pre>    - Signed linear
        sox file.wav -r 8000 -c 1 -w -s file.au
    - alaw
        sox file.wav -r 8000 -c 1 -b 8 -A file.au
    - mulaw
        sox file.wav -r 8000 -c 1 -b 8 -U file.au</pre>
<p>In addition basic format &#8220;conversion&#8221; if needed:</p>
<p>&#8211; WAV into RAW (tested with an A-law, mono, 8000 Hz riff wavefile)</p>
<pre>    sox file.wav file.raw</pre>
<p>The SUN/SGI formats have the advantage of being easily playable in a Web browser and it also preserves the format information.</p>
<p><strong>The output format should always be mono, 8 kHz as that is required for telephony.</strong></p>
<h3>Converting into WAV files</h3>
<p>If you have a mono 8kHz raw data file you can convert it into wave file by using sox</p>
<p>&#8211; Raw A-law, mono, 8000 Hz (.alaw or .A)</p>
<pre>    sox -t raw -r 8000 -A -b 8 -c 1 file.alaw file.wav
</pre>
<p>&#8211; mulaw, mono 8000 Hz (.mulaw)</p>
<pre>    sox -t raw -r 8000 -U -b 8 -c 1 file.mulaw test.wav</pre>
]]></content:encoded>
			<wfw:commentRss>https://www.nikeshshk.com.np/news/converting-wav-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
