<?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>Techie-Gyan &#187; audio</title>
	<atom:link href="http://www.techiegyan.com/category/audio/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techiegyan.com</link>
	<description></description>
	<lastBuildDate>Fri, 25 Nov 2011 05:37:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>VLC media player 0.9.2</title>
		<link>http://www.techiegyan.com/2008/09/16/vlc-media-player-09/</link>
		<comments>http://www.techiegyan.com/2008/09/16/vlc-media-player-09/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 15:59:49 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[audio]]></category>
		<category><![CDATA[movie]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.techiegyan.com/?p=227</guid>
		<description><![CDATA[VLC media player 0.9, code name Grishenko released recently. Download it from here Simplified settings and dialogs Media library integration Album art displaying and metadata editing Live activation of Video and audio filters Basic encoding profiles Multiple start modes (classic, enhanced and minimalist) System tray icon and minimizing Fullscreen controller According to their wiki following [...]]]></description>
			<content:encoded><![CDATA[<p>VLC media player 0.9, code name Grishenko released recently.  </p>
<p><a href="http://www.videolan.org/vlc/" target="_blank">Download it from here</a></p>
<ul>
<li>Simplified settings and dialogs</li>
<li>Media library integration</li>
<li>Album art displaying and metadata editing</li>
<li>Live activation of Video and audio filters</li>
<li>Basic encoding profiles</li>
<li>Multiple start modes (classic, enhanced and minimalist)</li>
<li>System tray icon and minimizing</li>
<li>Fullscreen controller</li>
</ul>
<p><a href='http://www.videolan.org/vlc/' target='_blank'><img src="http://www.techiegyan.com/wp-content/uploads/2008/09/vlc-092-win32.png" alt="" title="vlc-092-win32" width="435" height="138" class="aligncenter size-full wp-image-228" /></a></p>
<p>According to their wiki following are improvements in Playback:</p>
<p><em><strong>A lot of new decoders, demuxers, and protocols have been added.</p>
<p>There are new codecs support, like Flash video variants, camcorder codecs (M2TS ones), Dirac, Atrac3, H.264 PAFF, APE audio, RealVideo, VC-3, Fraps and others, but also better decoding and better performance. Many thanks to the FFmpeg project which can take most of the credit for these improvements.</p>
<p>There are improvements in the demuxers and new supports (subtitles format rework with many new formats, Tivo2, OMA, MIDI support&#8230;).</p>
<p>Tag supports of audio files have vastly been improved(fix of APE, AAC, OGG tags,&#8230;)</p>
<p>This version also supports DVB windows devices (BDA), iSight Webcams, v4l2 on Linux and many other ones. </strong></em></p>
<p>Other than this one very good improvement which was pointed out by one friend is that you can apply Audio and video filters. One of the audio filter is playing the audio with some offset with video which can fix some of the videos file with existing offset (lip synchronization).</p>
<p><object width="400" height="302"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=1732418&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=1732418&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="302"></embed></object><br /><a href="http://vimeo.com/1732418?pg=embed&amp;sec=1732418">VLC media player 0.9.2 &#8211; Grishenko</a> from <a href="http://vimeo.com/user750991?pg=embed&amp;sec=1732418">Antoine Cellerier</a> on <a href="http://vimeo.com?pg=embed&amp;sec=1732418">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techiegyan.com/2008/09/16/vlc-media-player-09/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Audio files handling in Java &#8211; javax.sound.sampled.AudioSystem</title>
		<link>http://www.techiegyan.com/2008/06/05/audio-files-handling-in-java-javaxsoundsampledaudiosystem/</link>
		<comments>http://www.techiegyan.com/2008/06/05/audio-files-handling-in-java-javaxsoundsampledaudiosystem/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 14:03:48 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[audio]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[converter]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[problem]]></category>

		<guid isPermaLink="false">http://www.techiegyan.com/?p=40</guid>
		<description><![CDATA[Problem: Few days before i wrote a post about converting audio media file to different format using SoX. I also mentioned one limitation of Sox that it does not convert audio file formats and resample it when rates are same in input and output and gives following error: sox: Input and Output rates must be [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem: </strong>Few days before i wrote a post about converting audio media file to different format using SoX. I also mentioned one limitation of Sox that it does not convert audio file formats and resample it when rates are same in input and output and gives following error:</p>
<blockquote><p>sox: Input and Output rates must be different to use resample effect</p></blockquote>
<p><a href="http://www.techiegyan.com/?p=32"><br />
See the solution in the post</a> but that will suit you if you are using Sox manually.</p>
<p><strong>Solution:</strong> While using java, You first need to know about specs of audio file before converting it or applying some effects. <strong>javax.sound.sampled</strong> package solves this problem, which i figured out while solving the problem:</p>
<pre class="java">&nbsp;
<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AAudioFileFormat+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">AudioFileFormat</span></a> format =  <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AAudioSystem+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">AudioSystem</span></a>.<span style="color: #006600;">getAudioFileFormat</span><span style="color: #66cc66;">&#40;</span>mediaFileToConvert<span style="color: #66cc66;">&#41;</span>;
&nbsp;</pre>
<p>Once you get AudioFileFormat from the File, you can get get different specs of Audio file:</p>
<div style="overflow: scroll;">
<pre class="java">&nbsp;
<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AAudioFormat+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">AudioFormat</span></a> audioformat = format.<span style="color: #006600;">getFormat</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">/* returns int - Obtains the number of channels.*/</span>
audioformat.<span style="color: #006600;">getChannels</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">/* returns AudioFormat.Encoding - Obtains the type of encoding for sounds in this format.*/</span>
audioformat.<span style="color: #006600;">getEncoding</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">/* returns float Obtains the frame rate in frames per second.*/</span>
audioformat	.<span style="color: #006600;">getFrameRate</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">/* returns int Obtains the frame size in bytes.  */</span>
audioformat	.<span style="color: #006600;">getFrameSize</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">/* returns Object Obtain the property value specified by the key.  */</span>
audioformat.<span style="color: #006600;">getProperty</span><span style="color: #66cc66;">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a> key<span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">/* returns float Obtains the sample rate.*/</span>
audioformat.<span style="color: #006600;">getSampleRate</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">/* returns int Obtains the size of a sample.  */</span>
audioformat.<span style="color: #006600;">getSampleSizeInBits</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #808080; font-style: italic;">/* returns boolean Indicates whether the audio data is stored in big-endian or little-endian byte order.  */</span>
audioformat.<span style="color: #006600;">isBigEndian</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;</pre>
</div>
<p>I have noted down very basic use of AudioSystem , I will look more and will write about mixing and conversion using Java soon. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.techiegyan.com/2008/06/05/audio-files-handling-in-java-javaxsoundsampledaudiosystem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sox: Input and Output rates must be different to use resample effect</title>
		<link>http://www.techiegyan.com/2008/05/25/sox-input-and-output-rates-must-be-different-to-use-resample-effect/</link>
		<comments>http://www.techiegyan.com/2008/05/25/sox-input-and-output-rates-must-be-different-to-use-resample-effect/#comments</comments>
		<pubDate>Sun, 25 May 2008 16:26:54 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[audio]]></category>
		<category><![CDATA[converter]]></category>
		<category><![CDATA[editing]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.techiegyan.com/?p=32</guid>
		<description><![CDATA[Problem: While using SOX for converting audio files in one single format, we faced an issue with SOX. It doesn&#8217;t allow resampling of media file if source file sample rate id same as of destincation file e.g. if you are trying to convert media files to Mono Channel, Audio Sample rate 8kHz and Audio sample [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem: </strong>While using SOX for converting audio files in one single format, we faced an issue with SOX. It doesn&#8217;t allow resampling of media file if source file sample rate id same as of destincation file e.g. if you are trying to convert media files to Mono Channel, Audio Sample rate 8kHz and Audio sample size 16 bit and if origincal file has same sample rate of 8kHz, SOX gives an error and doesn&#8217;t ignore it. </p>
<p>The command for modifying the origincal media file was<br />
<code>'sox foo-in.* -r 8000 -c 1 -s -w foo-out.wav resample -ql' </code></p>
<p>and error was following:</p>
<p>sox: Input and Output rates must be different to use resample effect</p>
<p><strong>Solution: </strong>We need to figure out the sampling rate of audio file and change the command accordingly</p>
<p><strong>Implementation: </strong>SOX itself gives details about the input media file using following command </p>
<p><code>sox -V input.file -e</code></p>
<p>Use above command for getting details about the sample rate and use command </p>
<p><code>sox foo-in.* -r 8000 -c 1 -s -w foo-out.wav </code></p>
<p>for converting your media file and skip the resampling of it is not required i.e. if input and output rates are same.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techiegyan.com/2008/05/25/sox-input-and-output-rates-must-be-different-to-use-resample-effect/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Convert formats of computer audio files</title>
		<link>http://www.techiegyan.com/2008/05/20/convert-formats-of-computer-audio-files/</link>
		<comments>http://www.techiegyan.com/2008/05/20/convert-formats-of-computer-audio-files/#comments</comments>
		<pubDate>Tue, 20 May 2008 18:49:19 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[audio]]></category>
		<category><![CDATA[converter]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.techiegyan.com/?p=30</guid>
		<description><![CDATA[Problem: We had this sound stack/VoIP stack which was unable to play all format of media files. Reason for this restriction was size of stack and that was our restriction too, we wanted to keep stack size as small as possible and not include codecs in it. This VoIP stack could play a certain format [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong> We had this sound stack/VoIP stack which was unable to play all format of media files. Reason for this restriction was size of stack and that was our restriction too, we wanted to keep stack size as small as possible and not include codecs in it. This VoIP stack could play a certain format of media file i.e. WAV format, Audio sample size 16 bit and Audio sample rate 8kHz. </p>
<p>This module has to play media files input from a web application which was open for all users. We could not ask all people to convert their media in certain format because generally the end user does not have much technical information up to these details.</p>
<p><strong>Solution: </strong>Try to convert all type of media into required format i.e.  WAV, 16 bit and 8kHz. </p>
<p><strong>Implementation: </strong>After searching on internet we got &#8216;SOX&#8217; i.e. Sound eXchange, the swiss army knife of sound processing programs. SoX is a command line utility that can convert various formats of computer audio files in to other formats. It can also apply various effects to these sound files during the conversion. As an added bonus, SoX can play and record audio files on several unix-style platforms.</p>
<p>Use following command to convert media into WAV, 16 bit and 8kHz format:</p>
<p><code>sox foo-in.* -r 8000 -c 1 -s -w foo-out.wav resample -ql </code></p>
<p>Read more documenation at <a href="http://sox.sourceforge.net/">http://sox.sourceforge.net/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techiegyan.com/2008/05/20/convert-formats-of-computer-audio-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

