<?xml version="1.0"?>
<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-11-25T17:06:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</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 class=&quot;autocomment&quot;&gt;Converting Audio&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&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; id=&quot;mw-diff-left-l1&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=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== Converting Audio ===&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&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;
&amp;#039;&amp;#039;&amp;#039;The output format should always be mono, 8 kHz as that is required for telephony.&amp;#039;&amp;#039;&amp;#039;&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>