<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://docs.yate.ro/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://docs.yate.ro/wiki/index.php?action=history&amp;feed=atom&amp;title=ConvertingAudio</id>
		<title>ConvertingAudio - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://docs.yate.ro/wiki/index.php?action=history&amp;feed=atom&amp;title=ConvertingAudio"/>
		<link rel="alternate" type="text/html" href="https://docs.yate.ro/wiki/index.php?title=ConvertingAudio&amp;action=history"/>
		<updated>2026-05-17T04:40:17Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.1</generator>

	<entry>
		<id>https://docs.yate.ro/wiki/index.php?title=ConvertingAudio&amp;diff=437&amp;oldid=prev</id>
		<title>Dana: /* Converting Audio */</title>
		<link rel="alternate" type="text/html" href="https://docs.yate.ro/wiki/index.php?title=ConvertingAudio&amp;diff=437&amp;oldid=prev"/>
				<updated>2012-10-08T09:06:05Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Converting Audio&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 09:06, 8 October 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;=== Converting Audio ===&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Yate has a [[wavefile]] module which is capable of playing audio in a number of formats.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Yate has a [[wavefile]] module which is capable of playing audio in a number of formats.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dana</name></author>	</entry>

	<entry>
		<id>https://docs.yate.ro/wiki/index.php?title=ConvertingAudio&amp;diff=436&amp;oldid=prev</id>
		<title>Dana: Created page with &quot;=== Converting Audio ===  Yate has a wavefile module which is capable of playing audio in a number of formats.  === Converting WAV files ===  If you have a [http://en.wiki...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.yate.ro/wiki/index.php?title=ConvertingAudio&amp;diff=436&amp;oldid=prev"/>
				<updated>2012-10-08T09:04:11Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;=== Converting Audio ===  Yate has a &lt;a href=&quot;/wiki/Wavefile&quot; title=&quot;Wavefile&quot;&gt;wavefile&lt;/a&gt; module which is capable of playing audio in a number of formats.  === Converting WAV files ===  If you have a [http://en.wiki...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Converting Audio ===&lt;br /&gt;
&lt;br /&gt;
Yate has a [[wavefile]] module which is capable of playing audio in a number of formats.&lt;br /&gt;
&lt;br /&gt;
=== Converting WAV files ===&lt;br /&gt;
&lt;br /&gt;
If you have a [http://en.wikipedia.org/wiki/WAV wav] file, you can convert it using the [http://sox.sourceforge.net/ SoX] program.&lt;br /&gt;
&lt;br /&gt;
- Raw linear, signed 16 bit, mono, 8000 Hz (.slin)&lt;br /&gt;
    sox file.wav -t raw -r 8000 -c 1 -w -s file.slin&lt;br /&gt;
&lt;br /&gt;
- Raw mu-law, mono, 8000 Hz (.mulaw or .u)&lt;br /&gt;
    sox file.wav -t raw -r 8000 -c 1 -b 8 -U file.mulaw&lt;br /&gt;
&lt;br /&gt;
- Raw A-law, mono, 8000 Hz (.alaw or .A)&lt;br /&gt;
    sox file.wav -t raw -r 8000 -c 1 -b 8 -A file.alaw&lt;br /&gt;
&lt;br /&gt;
- Raw GSM, mono, 8000 Hz (.gsm)&lt;br /&gt;
    sox file.wav -t raw -r 8000 -c 1 -b 8 -g file.gsm&lt;br /&gt;
    (not all versions of sox support this conversion)&lt;br /&gt;
&lt;br /&gt;
- SUN/SGI audio/basic file, mono 8000 Hz (.au) containing:&lt;br /&gt;
    - Signed linear&lt;br /&gt;
        sox file.wav -r 8000 -c 1 -w -s file.au&lt;br /&gt;
    - alaw&lt;br /&gt;
        sox file.wav -r 8000 -c 1 -b 8 -A file.au&lt;br /&gt;
    - mulaw&lt;br /&gt;
        sox file.wav -r 8000 -c 1 -b 8 -U file.au&lt;br /&gt;
&lt;br /&gt;
In addition basic format &amp;quot;conversion&amp;quot; if needed:&lt;br /&gt;
&lt;br /&gt;
- WAV into RAW (tested with an A-law, mono, 8000 Hz riff wavefile)&lt;br /&gt;
    sox file.wav file.raw&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The SUN/SGI formats have the advantage of being easily playable in a Web browser and it also preserves the format information.&lt;br /&gt;
&lt;br /&gt;
'''The output format should always be mono, 8 kHz as that is required for telephony.'''&lt;br /&gt;
&lt;br /&gt;
=== Converting into WAV files ===&lt;br /&gt;
&lt;br /&gt;
If you have a mono 8kHz raw data file you can convert it into wave file by using [[http://sox.sourceforge.net/|SoX]]&lt;br /&gt;
&lt;br /&gt;
- Raw A-law, mono, 8000 Hz (.alaw or .A)&lt;br /&gt;
    sox -t raw -r 8000 -A -b 8 -c 1 file.alaw file.wav&lt;br /&gt;
&lt;br /&gt;
- mulaw, mono 8000 Hz (.mulaw)&lt;br /&gt;
    sox -t raw -r 8000 -U -b 8 -c 1 file.mulaw test.wav&lt;/div&gt;</summary>
		<author><name>Dana</name></author>	</entry>

	</feed>