<?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>HM2K.com &#187; Music</title>
	<atom:link href="http://www.hm2k.com/posts/category/internet/music/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hm2k.com</link>
	<description>The research of an internet entrepreneur and IT consultant</description>
	<lastBuildDate>Wed, 30 Jun 2010 09:29:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to bulk convert WMA to MP3</title>
		<link>http://www.hm2k.com/posts/how-to-bulk-convert-wma-to-mp3</link>
		<comments>http://www.hm2k.com/posts/how-to-bulk-convert-wma-to-mp3#comments</comments>
		<pubDate>Mon, 12 May 2008 21:15:30 +0000</pubDate>
		<dc:creator>hm2k</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.hm2k.com/?p=193</guid>
		<description><![CDATA[So you just downloaded an entire album, and it&#8217;s in .wma (windows media audio) format, and you, of course, like any normal person want it in the .mp3 format.
What do you do?

There&#8217;s plenty of software solutions out there&#8230;

SUPER &#8211; Free, converts anything, a bit dodgy.
Various FFmpeg based projects &#8211; Free
dBpoweramp Music Converter &#8211; 30 days [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>So you just downloaded an entire album, and it&#8217;s in .wma (windows media audio) format, and you, of course, like any normal person want it in the .mp3 format.</p>
<p>What do you do?</p>
<p><span id="more-193"></span></p>
<p>There&#8217;s plenty of software solutions out there&#8230;</p>
<ul>
<li><a href="http://super.free.free.fr/">SUPER</a> &#8211; Free, converts anything, a bit dodgy.</li>
<li><a href="http://ffmpeg.mplayerhq.hu/projects.html">Various FFmpeg based projects</a> &#8211; Free</li>
<li><a href="http://www.dbpoweramp.com/dmc.htm">dBpoweramp Music Converter</a> &#8211; 30 days free trial</li>
<li><a href="http://www.freedownloadmanager.org/downloads/Daniusoft_MP3_WAV_Converter_53248_p/free.htm">Daniusoft MP3 WAV Converter</a> &#8211; Free</li>
<li><a href="http://www.audio-converter.com/index.html">Audio MP3 WAV WMA OGG Converter</a> &#8211; Shareware</li>
<li><a href="http://www.wma-mp3.com/">All To MP3 Converter</a> &#8211; Shareware</li>
<li><a href="http://www.winff.org/index.php?option=com_content&amp;view=category&amp;layout=blog&amp;id=34&amp;Itemid=60">WinFF</a> &#8211; Free, Open source.</li>
</ul>
<p>&#8230; but none of these really did what I wanted.</p>
<p>I decided to make my own tool.</p>
<p>My premiss was to make a bulk wma to mp3 converter for windows, that appears on context menus.</p>
<p>I figured that I could probably get away with using the <a href="http://support.microsoft.com/kb/310270">&#8220;Send To&#8221; context menus</a> instead.</p>
<p>I also figured that I could use the <a href="http://ffdshow.faireal.net/mirror/ffmpeg/">windows release of ffmpeg</a> (windows binary contained within the 7zip files which open with WinRAR) at the core to do the actual conversion.</p>
<p>My advice would be to extract ffmpeg.exe to your &#8220;system32&#8243; directory so we can call it from anywhere.</p>
<p>I figured out by using WinFF, that the command is as follows:</p>
<blockquote><p>ffmpeg -i &#8220;in.wma&#8221; -acodec libmp3lame -ab 160k -ac 2 -ar 44100 &#8220;out.mp3&#8243;<br />
<em>Note: WinFF uses &#8220;mp3&#8243; instead of &#8220;libmp3lame&#8221; due to the way it&#8217;s compiled</em></p></blockquote>
<p>The next step was to figure out how to pass the arguments to ffmpeg.exe so it knew the input and output file.</p>
<p>In the end I settled on VBscript, thanks to a very handy documentation entitled &#8220;<a href="http://www.mhuffman.com/notes/language/vbs_intro.htm">Introduction to VBScript</a>&#8220;.</p>
<p>What I needed to do in psudo terms is as follows:</p>
<blockquote><p>Get &lt;arguments&gt; as &lt;input&gt;<br />
For Each &lt;input&gt; as &lt;item&gt;<br />
Check &lt;item&gt; is a &#8220;.wma&#8221; file<br />
Replace .wma with .mp3 on end of &lt;item&gt;<br />
Run ffmpeg<br />
Tell us when it&#8217;s all done</p></blockquote>
<p>In VBS, you are unable to &#8220;replace&#8221;, so instead I simply trimmed the last 3 chrs (wma) and added &#8220;mp3&#8243;.</p>
<p>Also to insert quotes (since there&#8217;s no escaping) you simply use chr(34).</p>
<p>Another article worth mentioning is entitled &#8220;<a href="http://www.microsoft.com/technet/scriptcenter/resources/tales/sg1002.mspx">Running Programs From WSH Scripts</a>&#8220;. It helps explain the difference between Run and Exec, and the ways in which to use them.</p>
<p>Here&#8217;s the script I ended up with:</p>
<blockquote><p>Set objS = WScript.Arguments<br />
i = 0<br />
For Each objIN in objS<br />
objINext=Right(objIN,3)<br />
If objINext = &#8220;wma&#8221; Then<br />
objINCount=len(objIN)<br />
objINCount=objINCount-3<br />
objOUT=Left(objIN,objINCount)&amp;&#8221;mp3&#8243;<br />
objExec=&#8221;ffmpeg.exe -i &#8220;&amp;chr(34)&amp;objIN&amp;chr(34)&amp;&#8221; -acodec libmp3lame -ab 160k -ac 2 -ar 44100 &#8220;&amp;chr(34)&amp;objOUT&amp;chr(34)<br />
Set objShell = CreateObject(&#8220;WScript.Shell&#8221;)<br />
objShell.Run(objExec), 1, true<br />
End If<br />
i = i + 1<br />
Next<br />
WScript.Echo &#8220;Done!&#8221;</p></blockquote>
<p>Go to Start -&gt; Run, enter: &#8220;sendto&#8221;, click OK or press Enter.</p>
<p>Create a New Text Document in there, open it, and paste in the above script, then rename it to &#8220;wma-to-mp3.vbs&#8221;.</p>
<p>That&#8217;s it, all done!</p>
<p>Now when you right click on a WMA file, and go to the &#8220;Send To&#8221; menu, you will see an option called &#8220;wma-to-mp3.vbs&#8221;, click on that, and the process will begin.</p>
<p><em>Note: I am aware that there are limits to this script, but it does the job. Let me know of any improvements you make, and enjoy!</em></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.hm2k.com/posts/how-to-bulk-convert-wma-to-mp3/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Rip and decode mp3s via myspace music player</title>
		<link>http://www.hm2k.com/posts/rip-and-decode-mp3s-via-myspace-music-player</link>
		<comments>http://www.hm2k.com/posts/rip-and-decode-mp3s-via-myspace-music-player#comments</comments>
		<pubDate>Tue, 19 Feb 2008 12:13:50 +0000</pubDate>
		<dc:creator>hm2k</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.hm2k.com/posts/rip-and-decode-mp3s-via-myspace-music-player</guid>
		<description><![CDATA[I&#8217;m always looking for new ways to get my hands on mp3s, this is yet another way, thanks to myspace.
I figured out that there must be a way we can get our hands on the actual mp3 files found on the myspace music player.
All we had to do was decode their site so we are [...]


Related posts:<ol><li><a href='http://www.hm2k.com/posts/legally-listen-to-music-online-for-free' rel='bookmark' title='Permanent Link: Legally listen to music online for free'>Legally listen to music online for free</a> <small>One of the things I enjoy doing while I work...</small></li>
<li><a href='http://www.hm2k.com/posts/how-to-addremove-words-in-the-firefox-custom-spell-check-dictionary' rel='bookmark' title='Permanent Link: How to add/remove words in the firefox custom spell check dictionary'>How to add/remove words in the firefox custom spell check dictionary</a> <small>I added a word to my Mozilla Firefox spell check...</small></li>
<li><a href='http://www.hm2k.com/posts/arrange-icons-by-modified-in-a-music-folder' rel='bookmark' title='Permanent Link: Arrange icons by modified in a music folder'>Arrange icons by modified in a music folder</a> <small>Windows XP often does some really annoying things, such as...</small></li>
<li><a href='http://www.hm2k.com/posts/mp4-player' rel='bookmark' title='Permanent Link: 4GB Mp4 Player ebay Scam'>4GB Mp4 Player ebay Scam</a> <small>Just before Christmas, I decided I was going to get...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m always looking for new ways to get my hands on mp3s, this is yet another way, thanks to myspace.</p>
<p>I figured out that there must be a way we can get our hands on the actual mp3 files found on the myspace music player.</p>
<p>All we had to do was decode their site so we are able to grab their mp3s.</p>
<p><span id="more-169"></span>For this example, you will need <a href="http://www.getfirefox.com/">Mozilla Firefox</a>.</p>
<ol>
<li><a href="http://searchresults.myspace.com/index.cfm?fuseaction=music.search&amp;searchtarget=tmusic&amp;search_term=0&amp;searchBoxID=HeaderWebResults&amp;keywords=ferry%20corsten">Search for the myspace page of a band or artist</a>. eg:  ferry costen</li>
<li>Visit their profile page. eg: http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&amp;friendID=26949175</li>
<li>Look at the HTML code (CTRL+U in Firefox).
<ul>
<li>Find the &#8220;mp3player&#8221;.</li>
<li>Find a the &#8220;src=&#8221;http://lads.myspace.com/music/musicplayer.swf?n=a&#8221; line eg: <span class="attribute-name">src</span>=<span class="attribute-value">&#8220;http://lads.myspace.com/music/musicplayer.swf?n=aHR0cDovL211c2ljLm15c3BhY2UuY29t&amp;t=2zZraik8ig5S9ktLf2NZejuI1axbBcWJV1tcidA7Df2ccYSYBeFi1X+rKSaHUvsuu+H+TZdIsFm1/Wos9jKd/Q==&amp;u=LTE=&amp;a=1&amp;d=MjY5NDkxNzVeMTIwMTU0NzE0OA==&#8221;</span></li>
<li><span class="attribute-value">Get the <a href="http://livehttpheaders.mozdev.org/">Live HTTP Headers</a> addon for Firefox and open it to capture mode.<br />
</span></li>
<li><span class="attribute-value">Visit the <a href="http://lads.myspace.com/music/musicplayer.swf?n=aHR0cDovL211c2ljLm15c3BhY2UuY29t&amp;t=2zZraik8ig5S9ktLf2NZejuI1axbBcWJV1tcidA7Df2ccYSYBeFi1X+rKSaHUvsuu+H+TZdIsFm1/Wos9jKd/Q==&amp;u=LTE=&amp;a=1&amp;d=MjY5NDkxNzVeMTIwMTU0NzE0OA==">URL</a> between the quotes.</span></li>
</ul>
<p><span class="attribute-value"></span></li>
<li><span class="attribute-value">You should see something that looks like this: &#8220;<a href="http://mediaservices.myspace.com/services/media/musicplayerxml.ashx?b=26949175">http://mediaservices.myspace.com/services/media/musicplayerxml.ashx?b=26949175</a>&#8220;.</span></li>
<li><span class="attribute-value">Visit the URL</span>
<ul>
<li><span class="attribute-value">You will find the &#8220;<a href="http://cache02-music01.myspacecdn.com/16/std_8f66fa49e964209826356ce9f579541f.mp3">durl</a>&#8221; eg: durl=&#8221;http://cache02-music01.myspacecdn.com/16/std_8f66fa49e964209826356ce9f579541f.mp3&#8243;.</span></li>
<li><span class="attribute-value">You will also find the title=&#8221;Into The Dark Ferry Fix&#8221;, which is useful when saving, to give them real names.</span></li>
</ul>
</li>
</ol>
<p>So in case you didn&#8217;t notice, all you really need is the &#8220;FriendID&#8221; and the <span class="attribute-value"></span>mediaservices.myspace.com URL, and in future you can access the playlist for any band or artist, and download all the tracks they have on their profile.</p>
<p>It&#8217;s worth knowing how to figure it out, in case their system changes.</p>
<p><strong>Resources </strong></p>
<ul>
<li><a href="http://himself.wordpress.com/2007/01/24/downloading-mp3s-from-myspace-bands-revisited/"> http://himself.wordpress.com/2007/01/24/downloading-mp3s-from-myspace-bands-revisited/</a></li>
<li><a href="http://tom.drastic.net/archives/11">http://tom.drastic.net/archives/11</a></li>
<li><a href="http://forum.readingfestivalonline.co.uk/archive/index.php/t-33463.html">http://forum.readingfestivalonline.co.uk/archive/index.php/t-33463.html</a></li>
</ul>


<p>Related posts:<ol><li><a href='http://www.hm2k.com/posts/legally-listen-to-music-online-for-free' rel='bookmark' title='Permanent Link: Legally listen to music online for free'>Legally listen to music online for free</a> <small>One of the things I enjoy doing while I work...</small></li>
<li><a href='http://www.hm2k.com/posts/how-to-addremove-words-in-the-firefox-custom-spell-check-dictionary' rel='bookmark' title='Permanent Link: How to add/remove words in the firefox custom spell check dictionary'>How to add/remove words in the firefox custom spell check dictionary</a> <small>I added a word to my Mozilla Firefox spell check...</small></li>
<li><a href='http://www.hm2k.com/posts/arrange-icons-by-modified-in-a-music-folder' rel='bookmark' title='Permanent Link: Arrange icons by modified in a music folder'>Arrange icons by modified in a music folder</a> <small>Windows XP often does some really annoying things, such as...</small></li>
<li><a href='http://www.hm2k.com/posts/mp4-player' rel='bookmark' title='Permanent Link: 4GB Mp4 Player ebay Scam'>4GB Mp4 Player ebay Scam</a> <small>Just before Christmas, I decided I was going to get...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hm2k.com/posts/rip-and-decode-mp3s-via-myspace-music-player/feed</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Legally listen to music online for free</title>
		<link>http://www.hm2k.com/posts/legally-listen-to-music-online-for-free</link>
		<comments>http://www.hm2k.com/posts/legally-listen-to-music-online-for-free#comments</comments>
		<pubDate>Mon, 22 Jan 2007 01:17:52 +0000</pubDate>
		<dc:creator>hm2k</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.hm2k.com/posts/legally-listen-to-music-online-for-free</guid>
		<description><![CDATA[One of the things I enjoy doing while I work is listening to music.
After a while of listening to the music stored on my computer and my good old CD collection I find myself getting bored of it and in search for something new.
The sure way of getting hold of new music is to go [...]


Related posts:<ol><li><a href='http://www.hm2k.com/posts/rip-and-decode-mp3s-via-myspace-music-player' rel='bookmark' title='Permanent Link: Rip and decode mp3s via myspace music player'>Rip and decode mp3s via myspace music player</a> <small>I&#8217;m always looking for new ways to get my hands...</small></li>
<li><a href='http://www.hm2k.com/posts/plusfm-track-feed' rel='bookmark' title='Permanent Link: PlusFM Track Feed'>PlusFM Track Feed</a> <small>Recently an online radio station I listen to called PlusFM...</small></li>
<li><a href='http://www.hm2k.com/posts/arrange-icons-by-modified-in-a-music-folder' rel='bookmark' title='Permanent Link: Arrange icons by modified in a music folder'>Arrange icons by modified in a music folder</a> <small>Windows XP often does some really annoying things, such as...</small></li>
<li><a href='http://www.hm2k.com/posts/free-stuff' rel='bookmark' title='Permanent Link: Free Stuff'>Free Stuff</a> <small>I love free stuff, it&#8217;s probably why I like open...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>One of the things I enjoy doing while I work is listening to music.</p>
<p>After a while of listening to the music stored on my computer and my good old CD collection I find myself getting bored of it and in search for something new.</p>
<p>The sure way of getting hold of new music is to go online and look for it.</p>
<p>My first port of call for free music is <a href="http://www.bbc.co.uk/radio1/">BBC Radio1</a>, where you can &#8220;listen live&#8221; or even &#8220;listen again&#8221; meaning you can listen to any previous shows, this is good if you like a particular show or type of music. One of the main problems is that you are required to use RealPlayer (if you&#8217;re in the UK, you can use Windows Media Player as well) to listen to the radio streams.</p>
<p>Of course as you probably know, there are some limits with this, including the fact that the music is rather general, and sometimes the presenter can get annoying.</p>
<p>Another radio streaming option is <a href="http://www.shoutcast.com/">WinAmp&#8217;s Shoutcast</a> based radio stations. The situation is that nullsoft (the company that makes winamp) released a streaming server application that can be used for free. People all over the world use this to run their own online radio station, ultimately meaning that there is a lot of choice. Best of all you can listen using Winamp or your choice of media player.</p>
<p>If like me you are a fan of dance music (in particular trance), you&#8217;ll probably find that <a href="http://www.di.fm/">Digitally Imported</a> is probably one of the best online radio stations out there. They offer everything from Trance right through to Euro Dance to Gabber.</p>
<p>If streaming audio using third party media players isn&#8217;t your thing then don&#8217;t worry, there&#8217;s still more options out there.</p>
<p>As part of a new generation of websites <a href="http://www.pandora.com/">Pandora</a> offers the ability to listen to your choice of music via an embedded flash player. The question I am sure you&#8217;ll be asking is &#8220;how does it work?&#8221; well basically Pandora has a huge collection of music, and a huge database of recommendations from users. Simply, you put in a song that you like and you are provided with a radio station that seamlessly plays music that other users who liked that song recommended. It works very well most of the time. One of the best features of this site is that if you don&#8217;t like the current track, you can skip onto the next track.<br />
A similar concept is <a href="http://www.last.fm/listen/">Last.fm</a> which is probably a bit better as it appears to have more users, and allows for integration with your media player meaning it has better recommendations and feedback to utilise.</p>
<p>Yahoo! have recently jumped on this band wagon and released <a href="http://music.yahoo.com/">Yahoo! Music</a>, which appears to offers a similar service to Pandora and Last.fm, you can expect this to be quite good.</p>
<p>Another site that I am forced to mention is of course <a href="http://profile.myspace.com/index.cfm?fuseaction=music">MySpace</a>, as you are probably aware MySpace was originally created so that bands could get better known, and bands have chosen to take advantage of this by offering their music via MySpace&#8217;s music player. This is a good option if you want to listen to a few tracks at a time by particular artists.<a href="http://www.mp3.com/" /></p>
<p><a href="http://www.mp3.com/">mp3.com</a> has existed for many years now, far longer than MySpace, I remember downloading PPK &#8211; resurrection from this site years ago.<a href="http://www.mercora.com/" /></p>
<p><a href="http://www.mercora.com/">mercora.com</a> is fairly new offering music search and internet radio network, I have yet to try this out to its full extent.<br />
There are plenty more sites out there, this is just a short list of reliable sites that really work.</p>


<p>Related posts:<ol><li><a href='http://www.hm2k.com/posts/rip-and-decode-mp3s-via-myspace-music-player' rel='bookmark' title='Permanent Link: Rip and decode mp3s via myspace music player'>Rip and decode mp3s via myspace music player</a> <small>I&#8217;m always looking for new ways to get my hands...</small></li>
<li><a href='http://www.hm2k.com/posts/plusfm-track-feed' rel='bookmark' title='Permanent Link: PlusFM Track Feed'>PlusFM Track Feed</a> <small>Recently an online radio station I listen to called PlusFM...</small></li>
<li><a href='http://www.hm2k.com/posts/arrange-icons-by-modified-in-a-music-folder' rel='bookmark' title='Permanent Link: Arrange icons by modified in a music folder'>Arrange icons by modified in a music folder</a> <small>Windows XP often does some really annoying things, such as...</small></li>
<li><a href='http://www.hm2k.com/posts/free-stuff' rel='bookmark' title='Permanent Link: Free Stuff'>Free Stuff</a> <small>I love free stuff, it&#8217;s probably why I like open...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hm2k.com/posts/legally-listen-to-music-online-for-free/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
