<?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/"
	>

<channel>
	<title>Johan Ronström &#187; Ideas</title>
	<atom:link href="http://www.johanronstrom.se/category/ideas/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johanronstrom.se</link>
	<description>Teknik, musik, upphovsrätt, språk och annat intressant!</description>
	<pubDate>Mon, 22 Aug 2011 12:09:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>wpaudio as standalone</title>
		<link>http://www.johanronstrom.se/2011/07/13/wpaudio-as-standalone/</link>
		<comments>http://www.johanronstrom.se/2011/07/13/wpaudio-as-standalone/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 19:25:20 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
		
		<category><![CDATA[Ideas]]></category>

		<guid isPermaLink="false">http://www.johanronstrom.se/?p=1320</guid>
		<description><![CDATA[Hey guys!
I have been using the great WPaudio plugin for different Wordpress web projects. Now I&#8217;m working on a PHP/HTML web site, and so I was looking at using the great WPaudio player as a standalone player for that site too.
It was actually quite easy to do this, here is what you need to do:
1. [...]]]></description>
			<content:encoded><![CDATA[<p>Hey guys!</p>
<p>I have been using the great <a href="http://wpaudio.com/">WPaudio plugin</a> for different Wordpress web projects. Now I&#8217;m working on a PHP/HTML web site, and so I was looking at using the great WPaudio player as a standalone player for that site too.</p>
<p>It was actually quite easy to do this, here is what you need to do:</p>
<p>1. <strong>You need the plugin files</strong>, download the plugin <a href="http://wordpress.org/extend/plugins/wpaudio-mp3-player/">here</a>.</p>
<p>2. <strong>If the following sounds hard, skip this step. </strong>The plugin uses jQuery, You can use one of the <a href="http://docs.jquery.com/Downloading_jQuery#CDN_Hosted_jQuery">publicly hosted</a> ones (I use the Google API one), but you can also download jQuery <a href="http://jquery.com/">here</a>. (it doesn&#8217;t seem to work with latest jQ (1.6.2) so I use the 1.4.4 one).</p>
<p>3. <strong>Insert the three &lt;script&gt; tags</strong> in the HTML (shown below)</p>
<p>4. <strong>All links to mp3-files</strong> will now be converted to players! Yay!</p>
<p><em><strong>Example <a href="http://www.johanronstrom.se/projekt-filer/wpaudiostandalone.html">here</a></strong>, look at the html <a href="http://www.johanronstrom.se/projekt-filer/wpaudiostandalone.txt">here</a>. The ugly colors are for identifying what color goes where. You can change them to whatever you like in the &#8220;style&#8221; attrib.</em></p>
<p><em>This example needs the &#8220;wpaudio-mp3-player&#8221; folder to be in the same dir as the html file.</em></p>
<p><strong>Here is the code:</strong></p>
<p><code>&lt;!DOCTYPE html&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;meta charset="UTF-8" /&gt;<br />
&lt;title&gt;test | wpaudio&lt;/title&gt;</code></p>
<p>&lt;script type=&#8217;text/javascript&#8217; src=&#8217;http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js&#8217;&gt;&lt;/script&gt;</p>
<p>&lt;script type=&#8217;text/javascript&#8217;&gt;/* &lt;![CDATA[ */ var _wpaudio = {url: 'wpaudio-mp3-player', enc: {}, convert_mp3_links: true, style: {text_font:'Sans-serif', text_size:'18px', text_weight:'normal', text_letter_spacing:'normal', text_color:'inherit', link_color:'red', link_hover_color:'blue', bar_base_bg:'green', bar_load_bg:'cyan', bar_position_bg:'magenta', sub_color:'olive'}}; /* ]]&gt; */&lt;/script&gt;</p>
<p>&lt;/head&gt;<br />
&lt;body&gt;</p>
<p>&lt;p&gt;&lt;a href=&#8221;http://owe.ompom.se/data/musik/Orientexpressen%20-%20Nattritt.mp3&#8243;&gt;Orientexpressen &amp;#8211; Nattritt&lt;/a&gt;&lt;/p&gt;</p>
<p>&lt;script type=&#8217;text/javascript&#8217; src=&#8217;wpaudio-mp3-player/wpaudio.min.js?ver=3.1&#8242;&gt;&lt;/script&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johanronstrom.se/2011/07/13/wpaudio-as-standalone/feed/</wfw:commentRss>
<enclosure url="http://owe.ompom.se/data/musik/Orientexpressen%20-%20Nattritt.mp3" length="1849426" type="audio/mpeg" />
		</item>
		<item>
		<title>Que sheet - beat sync</title>
		<link>http://www.johanronstrom.se/2010/09/15/que-sheet-beat-sync/</link>
		<comments>http://www.johanronstrom.se/2010/09/15/que-sheet-beat-sync/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 15:46:20 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
		
		<category><![CDATA[Ideas]]></category>

		<guid isPermaLink="false">http://www.johanronstrom.se/?p=1278</guid>
		<description><![CDATA[(hint: Google Translate)
Jag går just nu en väldigt intressant filmmusikkurs med Johnny Wingstedt som tillval på musikhögskolan. Vi håller på att lära oss använda beat sync för att skriva filmmusik som synkar med synkpunkter i filmen.
Vi fick en massa formler för att räkna ut vilket slag i musiken en viss synkpunkt kommer på (beroende på [...]]]></description>
			<content:encoded><![CDATA[<p>(hint: <a href="http://translate.google.se/translate?hl=sv&#038;tl=en&#038;u=http%3A%2F%2Fwww.johanronstrom.se%2F2010%2F09%2F15%2Fque-sheet-beat-sync">Google Translate</a>)</p>
<p>Jag går just nu en väldigt intressant filmmusikkurs med Johnny Wingstedt som tillval på musikhögskolan. Vi håller på att lära oss använda beat sync för att skriva filmmusik som synkar med synkpunkter i filmen.</p>
<p>Vi fick en massa formler för att räkna ut vilket slag i musiken en viss synkpunkt kommer på (beroende på tempo och starttid). Vi ska också göra que sheets för musikpartierna. Så jag tänkte att man måste kunna låta ett kalkylprogram (excel) göra jobbet åt en.</p>
<p>Så nu har jag gjort ett kalkylblad som utifrån absoluta tidskoder (timme:minut:sekund:frames) räknar ut relativ tid, och utifrån relativ tid och tempo (bpm) räknar ut vilket slag man hamnar på. Frames måste tyvärr läggas till i en separat kolumn för att det ska gå att använda bas 25 (eller vilken FPS man vill).</p>
<p><a href="http://www.johanronstrom.se/wp-content/uploads/2010/09/cue-sheet.png"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/09/cue-sheet-210x101.png" alt="cue-sheet" title="cue-sheet" width="210" height="101" class="alignnone size-medium wp-image-1280" /></a></p>
<p>Filen är gjord i MS Excel 2002 och är inte testat i något annat program, men jag tänkte kolla i Open Office Calc och Apple Numbers vid tillfälle.</p>
<p>Formlerna är dock desamma och borde fungera oavsett program (här med svenska funktionsnamn). Kolumn D innehåller den absoluta tiden (inkl. omräknade frames) som sekunder med decimaler.<br />
A4: [BPM]<br />
C4: [FPS]<br />
A7: 1<br />
A8 och nedåt: =E8*$A$4)/60+$A$7<br />
E7: 0<br />
E8 och nedåt: =D8-$D$7<br />
D7 och nedåt: =B7*24*60*60+C7/$C$4</p>
<p>Jag har dessutom en massa felkontroll.. Man måste givetvis inte ha det, men de ger automagiskt en snygg utskrift. (de tomma fälten i B- och C-kolumnerna innehåller =SAKNAS() (<em>or =NA() in english</em>))</p>
<p><a href="http://www.johanronstrom.se/wp-content/uploads/2010/09/cue-sheet-excel.png"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/09/cue-sheet-excel-210x138.png" alt="cue-sheet-excel" title="cue-sheet-excel" width="210" height="138" class="alignnone size-medium wp-image-1279" /></a></p>
<p>Jag har också lagt till lite snygga vilkorsstyrda formateringar, t.ex. att frames-fältet blir rött om värdet är högre än FPSen, och att radlinjerna bara syns om raden har data.</p>
<p>Nu har jag gjort en <strong>uppdaterad version</strong> som räknar ut om ett beat ligger innanför leeway-marginalen (som man kan speca i gömda rad 7).</p>
<p><img src="http://www.johanronstrom.se/wp-content/uploads/2010/09/beat-control.png" alt="beat-control" title="beat-control" width="159" height="139" class="alignnone size-full wp-image-1296" /></p>
<p>Här är nya filen:<br />
-> <a href="http://www.johanronstrom.se/projekt-filer/beat-sync_que-sheet_lee-control.xls">beat-sync_que-sheet_lee-control.xls</a></p>
<p> <a href="http://www.kopimi.com/">KOPIMI</a>: Gör vad ni vill med den. Hör gärna av er om ni har nytta av den!</p>
<p>Här finns nu också en &#8220;bar layout&#8221; som PDF (numrerade kryss från 1 till 288), till att planera takterna:<br />
-> <a href="http://www.johanronstrom.se/projekt-filer/barlayout.pdf">barlayout.pdf</a></p>
<p>BTW så använder jag <a href="http://www.virtualdub.org/">VirtualDub</a> som spelare. Den visar frame count och millisekunder, kan stega mellan frames med pilknapparna och är grymt snabb. Funkar till PC och MAC, dessutom.<br />
<a href="http://www.johanronstrom.se/wp-content/uploads/2010/09/vdub.png"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/09/vdub-210x160.png" alt="vdub" title="vdub" width="210" height="160" class="alignnone size-medium wp-image-1303" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.johanronstrom.se/2010/09/15/que-sheet-beat-sync/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Video embed codes</title>
		<link>http://www.johanronstrom.se/2010/08/23/video-embed-codes/</link>
		<comments>http://www.johanronstrom.se/2010/08/23/video-embed-codes/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 19:53:04 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
		
		<category><![CDATA[Ideas]]></category>

		<guid isPermaLink="false">http://www.johanronstrom.se/?p=1270</guid>
		<description><![CDATA[I&#8217;m building a site where users can embed video into their profiles. Letting people use custom HTML is way too risky, so I&#8217;ve made a script that detects the video service and builds the embed code from the video URL.
I have added the video sites most popular here right now, I&#8217;m probably going to add [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m building a site where users can embed video into their profiles. Letting people use custom HTML is way too risky, so I&#8217;ve made a script that detects the video service and builds the embed code from the video URL.</p>
<p>I have added the video sites most popular here right now, I&#8217;m probably going to add more on request. I&#8217;ve minimized the embed codes as much as I can, removed all unnecessary (for me) parameters.</p>
<p>The video sites as of now are:<br />
YouTube<br />
MySpace<br />
Google<br />
Vimeo<br />
Yahoo<br />
Flickr</p>
<p>And audio:<br />
Soundcloud</p>
<p>(separating audio and video might not be necessary for other sites)<br />
Here are the PHP functions, getVideoEmbedHtml() and getAudioEmbedHtml() with some testdata at the top:</p>
<p><a href="http://www.johanronstrom.se/projekt-filer/embedcodes.txt">embedcodes.txt</a><br />
<a href="http://www.johanronstrom.se/projekt-filer/embedcodes.php">embedcodes.php</a></p>
<p>if you run the PHP script you can see the outputted embed codes in the source.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johanronstrom.se/2010/08/23/video-embed-codes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>KOPIMILL</title>
		<link>http://www.johanronstrom.se/2010/08/04/kopimill/</link>
		<comments>http://www.johanronstrom.se/2010/08/04/kopimill/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 22:32:09 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
		
		<category><![CDATA[Ideas]]></category>

		<guid isPermaLink="false">http://www.johanronstrom.se/?p=1258</guid>
		<description><![CDATA[Med anledning av Rasmus inlägg &#8220;Hej då Newsmill&#8220;, och kommentarerna därefter har jag nu byggt ett litet KOPIMILL-script.
Det finns här:
http://www.johanronstrom.se/kopimill.php
Det finns ingen text lagrad på servern utan allt hämtas och parsras (?) från Newsmill dynamiskt. Idén är att man säkert ska kunna länka till t.ex. den här artikeln utan att tvinga in sina läsare på [...]]]></description>
			<content:encoded><![CDATA[<p>Med anledning av Rasmus inlägg &#8220;<a href="http://copyriot.se/2010/08/04/hej-da-newsmill/">Hej då Newsmill</a>&#8220;, och kommentarerna därefter har jag nu byggt ett litet KOPIMILL-script.</p>
<p>Det finns här:<br />
<a href="http://www.johanronstrom.se/kopimill.php">http://www.johanronstrom.se/kopimill.php</a></p>
<p>Det finns ingen text lagrad på servern utan allt hämtas och parsras (?) från Newsmill dynamiskt. Idén är att man säkert ska kunna länka till t.ex. <a href="http://www.johanronstrom.se/kopimill.php?page=2010/07/31/tobias-billstr-ms-inst-llning-till-romer-r-medeltida">den här artikeln</a> utan att tvinga in sina läsare på Newsmill (hemska tanke). Så nu kan man läsa artiklarna utan äckliga kommentarer och &#8220;millningar&#8221;.</p>
<p>Att scriptet ligger på min server är inte så hållbart i längden, så om någon vill hosta scriptet, kanske t.o.m. regga kopimill.se så finns scriptet att ladda ner i footern på sidan. Det är bara en fil. Bara att spara om som .php så är det igång. Alla kan ha sin egen KOPIMILL!</p>
<p>Ser för övrigt trevlig ut i lynx <img src='http://www.johanronstrom.se/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
<a href="http://www.johanronstrom.se/wp-content/uploads/2010/08/kopmill-lynx.png"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/08/kopmill-lynx-150x150.png" alt="kopmill lynx" title="kopmill lynx" width="150" height="150" class="alignnone size-thumbnail wp-image-1263" /></a></p>
<p>Buggrapporter, förslag på förbättringar och sånt tas med fördel på padden <a href="http://kompisen.se/kopimill">kompisen.se/kopimill</a> .</p>
<p><strong>UPPDATERING</strong>: KOPIMILL hostas nu på <a href="http://kopimill.info/">kopimill.info</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johanronstrom.se/2010/08/04/kopimill/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Image game</title>
		<link>http://www.johanronstrom.se/2010/07/31/image-game/</link>
		<comments>http://www.johanronstrom.se/2010/07/31/image-game/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 13:52:52 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
		
		<category><![CDATA[Ideas]]></category>

		<guid isPermaLink="false">http://www.johanronstrom.se/?p=1241</guid>
		<description><![CDATA[We were playing games last night and I was reminded of a Swedish TV game show where each team of contestants was shown five images and had to come up with a song that related to three of the images.
So we came up with the idea to do that at home with a laptop and [...]]]></description>
			<content:encoded><![CDATA[<p>We were playing games last night and I was reminded of a <a href="http://sv.wikipedia.org/wiki/S%C3%A5_ska_det_l%C3%A5ta">Swedish TV game show</a> where each team of contestants was shown five images and had to come up with a song that related to three of the images.</p>
<p>So we came up with the idea to do that at home with a laptop and randomized images from the web. So I made <a href="http://www.johanronstrom.se/projekt-filer/image-game.php">a page that does that</a>!</p>
<p>It simply fetches five images from the flickr&#8217;s random &#8220;<a href="http://www.flickr.com/explore/interesting/7days/">interesting photos from the last 7 days</a>&#8221; using this function (derived from <a href="http://www.planetb.ca/2010/07/how-to-load-random-flickr-images-with-php/">this post</a>):</p>
<pre style="font-size:10px;">&lt;?php
$doc = new DOMDocument();
@$doc-&gt;loadHTMLFile(&quot;http://www.flickr.com/explore/interesting/7days/&quot;);
$xpath = new DOMXpath($doc);
if($xpath){
  $src = $xpath-&gt;query(&quot;//td[@class='Photo']/span/a/img/@src&quot;);
  $url = $xpath-&gt;query(&quot;//td[@class='Photo']/span/a/@href&quot;);

  print '&lt;a href=&quot;http://www.flickr.com'.$url-&gt;item(0)-&gt;nodeValue.'&quot;&gt;
      &lt;img src=&quot;'.$src-&gt;item(0)-&gt;nodeValue.'&quot; /&gt;&lt;/a&gt;';
  print '&lt;a href=&quot;http://www.flickr.com'.$url-&gt;item(1)-&gt;nodeValue.'&quot;&gt;
      &lt;img src=&quot;'.$src-&gt;item(1)-&gt;nodeValue.'&quot; /&gt;&lt;/a&gt;';
  print '&lt;a href=&quot;http://www.flickr.com'.$url-&gt;item(2)-&gt;nodeValue.'&quot;&gt;
      &lt;img src=&quot;'.$src-&gt;item(2)-&gt;nodeValue.'&quot; /&gt;&lt;/a&gt;';
  print '&lt;br /&gt;';
  print '&lt;a href=&quot;http://www.flickr.com'.$url-&gt;item(3)-&gt;nodeValue.'&quot;&gt;
      &lt;img src=&quot;'.$src-&gt;item(3)-&gt;nodeValue.'&quot; /&gt;&lt;/a&gt;';
  print '&lt;a href=&quot;http://www.flickr.com'.$url-&gt;item(4)-&gt;nodeValue.'&quot;&gt;
      &lt;img src=&quot;'.$src-&gt;item(4)-&gt;nodeValue.'&quot; /&gt;&lt;/a&gt;';
}
?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.johanronstrom.se/2010/07/31/image-game/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP function, time_since</title>
		<link>http://www.johanronstrom.se/2010/07/02/php-function-time_since/</link>
		<comments>http://www.johanronstrom.se/2010/07/02/php-function-time_since/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 12:22:03 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
		
		<category><![CDATA[Ideas]]></category>

		<category><![CDATA[language]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[since]]></category>

		<category><![CDATA[time]]></category>

		<category><![CDATA[time since]]></category>

		<guid isPermaLink="false">http://www.johanronstrom.se/?p=1209</guid>
		<description><![CDATA[I&#8217;m building a site and was looking for a PHP function to say in words how long ago stuff was posted. I couldn&#8217;t find one, so I made one based on a JavaScript function my brother dug up.
So, now there is one for the next preson to find. This is also very easy to change [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m building a site and was looking for a PHP function to say in words how long ago stuff was posted. I couldn&#8217;t find one, so I made one based on a JavaScript function my brother dug up.</p>
<p>So, now there is one for the next preson to find. This is also very easy to change to any language; I use it in Swedish.</p>
<pre style="font-size: 8pt; margin: 0; padding:0;">function time_since($original) {
// accepts a datestring in any format, or a unix timestamp.
  $original = strtotime($original);

  $today = time();
  $distanceInSeconds = $today - $original;

  $distanceInMinutes = round($distanceInSeconds / 60);

  if ($distanceInMinutes < = 1) {
    if ($distanceInSeconds < 30)
      return "less than 20 seconds ago";
    if ($distanceInSeconds < 40)
      return "half a minute ago";
    if ($distanceInSeconds < 60)
      return "less than a minute ago";
    return "1 minute ago";
  }

  if ($distanceInMinutes < 45)
    return "$distanceInMinutes minutes ago";
  if ($distanceInMinutes < 90)
    return "about an hour ago";
  if ($distanceInMinutes < 1440)
    return round($distanceInMinutes / 60)." hours ago";
  if ($distanceInMinutes < 2880)
    return "1 day ago";
  if ($distanceInMinutes < 43200)
    return round($distanceInMinutes / 1440)." days ago";
  if ($distanceInMinutes < 86400)
    return "about a month ago";
  if ($distanceInMinutes < 525600)
    return round($distanceInMinutes / 43200)." months ago";
  if ($distanceInMinutes < 1051200)
    return "about a year ago";
  return round($distanceInMinutes / 525600)." years ago";
}</pre>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.johanronstrom.se/2010/07/02/php-function-time_since/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Learning music with YouTube and VLC</title>
		<link>http://www.johanronstrom.se/2010/05/27/learning-music-with-youtube-and-vlc/</link>
		<comments>http://www.johanronstrom.se/2010/05/27/learning-music-with-youtube-and-vlc/#comments</comments>
		<pubDate>Thu, 27 May 2010 00:06:34 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
		
		<category><![CDATA[Ideas]]></category>

		<guid isPermaLink="false">http://www.johanronstrom.se/?p=1176</guid>
		<description><![CDATA[I use the web a lot to discover new music. If you play an instrument I hope you have realized already that the video sharing sites, YouTube being the biggest, is filled with people, amateurs and professionals, sharing videos of them playing.
I want to share a neat method I use to learn tunes and techniques [...]]]></description>
			<content:encoded><![CDATA[<p>I use the web a lot to discover new music. If you play an instrument I hope you have realized already that the video sharing sites, YouTube being the biggest, is filled with people, amateurs and professionals, sharing videos of them playing.</p>
<p>I want to share a neat method I use to learn tunes and techniques from YouTube (or any of the major video sharing sites).</p>
<p><strong>The basic idea here is to download a video to your computer and play it back slowly, without changing the pitch.</strong></p>
<p>There are commercial products that does this - for audio I use the nice little program <a href="http://www.ronimusic.com/">Amazing Slow Downer</a> ($50) that has great control and quality - but this method is completely free and works for video without any time consuming re-conversions or re-renderings.</p>
<p><strong>Step 1 - Find a video!</strong></p>
<p>I&#8217;m gonna use <a href="http://www.youtube.com/watch?v=1UyDJnjs7pw">this</a> one, with Hamilton de Holanda and Yamandu Costa on mandolin and guitar. You can clearly see their hands, so this will be great to see how they do this, exactly.</p>
<p>This video is also available in very high quality, and that is of course nice if you want to study technique, but even with relatively poor quality video it always helps to see something of what their hands are doing when you listen. For a lower quality video you might want to look for something more zoomed in, if available&#8230;</p>
<p><a href="http://www.johanronstrom.se/wp-content/uploads/2010/05/youtube.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/05/youtube-190x210.jpg" alt="youtube" title="youtube" width="190" height="210" class="alignnone size-medium wp-image-1177" /></a></p>
<p><strong>Step 2 - Download the video</strong></p>
<p><em>A note: I firmly believe that doing this constitutes fair use and is fully legal. You might want to check if this applies in your location. If it is not allowed in your jurisdiction, consider fighting for making it legal.</em></p>
<p>There are several methods of downloading content from video sharing sites. The one I use right now is <a href="http://keep-tube.com/">KeepTube</a>, because it&#8217;s simple, fast and flexible. And you don&#8217;t have to install anything.</p>
<p>Just copy the YouTube adress and paste it in the URL box on <a href="http://keep-tube.com/">KeepTube</a> (or get the <a href="https://addons.mozilla.org/en-US/firefox/addon/75489">KeepTube Firefox Plugin</a>)</p>
<p>You will now get a few different download options depending on the available qualities of the video. Choose the highest quality FLV version availiable, and the download will start.</p>
<p><a href="http://www.johanronstrom.se/wp-content/uploads/2010/05/keeptube.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/05/keeptube-195x210.jpg" alt="keeptube" title="keeptube" width="195" height="210" class="alignnone size-medium wp-image-1178" /></a></p>
<p>(In this case you could go for the HD MP4, but the MP4 option most often requires an additional conversion of the video that reduces video quality).</p>
<p><strong>Step 3 - Get VLC Media Player</strong></p>
<p><a href="http://www.videolan.org/">VLC Media Player</a> is a free media player that works on all platforms (OSX, Windows, Linux). It can play most if not all video formats, DVDs, AudioCD and different streaming protocols. It is the player you&#8217;ll want to have.</p>
<p>It also has many advanced features, such as subtitles, audio offset, and the feature we&#8217;re going to use here: Playback speed controls!</p>
<p>So download and install VLC from <a href="http://www.videolan.org/vlc/">here</a>.</p>
<p><strong>Step 4 - Controlling the speed</strong></p>
<p>So, open your FLV in VLC. This is how it looks.</p>
<p><a href="http://www.johanronstrom.se/wp-content/uploads/2010/05/vlc.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/05/vlc-210x179.jpg" alt="vlc" title="vlc" width="210" height="179" class="alignnone size-medium wp-image-1182" /></a></p>
<p>The box in the lower right corner is the speed control, clicking it brings up a slider that lets you control the playback speed, and the audio pitch is not affected.</p>
<p><em>This is controlled by a setting under Settings -> Show all settings -> Audio, called &#8220;Enable time streching audio&#8221;. It is enabled by default so there is no need to change it unless you want to listen half tempo in the low octave.</em></p>
<p><strong>Step 4 - Listen and learn!</strong></p>
<p>Now, just play along, learn, and make great music!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johanronstrom.se/2010/05/27/learning-music-with-youtube-and-vlc/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ideas for 3d-print</title>
		<link>http://www.johanronstrom.se/2010/03/23/ideas-for-3d-print/</link>
		<comments>http://www.johanronstrom.se/2010/03/23/ideas-for-3d-print/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 18:21:56 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
		
		<category><![CDATA[Ideas]]></category>

		<guid isPermaLink="false">http://www.johanronstrom.se/?p=1098</guid>
		<description><![CDATA[I&#8217;ve been looking into this 3d-printing thing for a while, and it is starting to look very promising to say the least!

My initial reaction is, of course: I WAN&#8217;T ONE!
And after that I have been thinking about what I would want to make. Here is a little compilation.
The first I would do i is Kitsch!
I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been looking into this <a href="http://www.makerbot.com/">3d-printing</a> thing for a while, and it is starting to look very promising to say the least!</p>
<p><object id="bbg_player" width="370" height="220" data="http://www.babelgum.com/embed/4020782" type="application/x-shockwave-flash"><param name="movie" value="http://www.babelgum.com/embed/4020782" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="never" /></object></p>
<p>My initial reaction is, of course: I WAN&#8217;T ONE!</p>
<p>And after that I have been thinking about what I would want to make. Here is a little compilation.</p>
<p>The first I would do i is <strong>Kitsch</strong>!</p>
<p>I love kitsch, and it really suits the makerbot&#8217;s capacities. Whether it is gold plated garden gnomes or wobblehead jesus, I think the makerbot would deliver. Just add a few layers of paint.</p>
<p><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/inredning-interiour-heminredning-plast-plastic-flamingo-vit-7375-o.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/inredning-interiour-heminredning-plast-plastic-flamingo-vit-7375-o-300x300.jpg" alt="flamingo" title="flamingo" width="210" height="210" class="alignnone size-medium wp-image-1101" /></a><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/kitschtocool_step5b.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/kitschtocool_step5b-225x300.jpg" alt="kitschtocool_step5b" title="kitschtocool_step5b" width="157" height="210" class="alignnone size-medium wp-image-1102" /></a><br />
<a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/moose.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/moose-299x300.jpg" alt="moose" title="moose" width="209" height="210" class="alignnone size-medium wp-image-1103" /></a><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/trophiesimage006_14711266.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/trophiesimage006_14711266-300x300.jpg" alt="Rhino-kitch" title="Rhino-kitch" width="210" height="210" class="alignnone size-medium wp-image-1100" /></a></p>
<p>And on to <strong>Action Figures</strong>!</p>
<p>This is also perfect for the makerbot. You might have to change size since small details can dissapear, and also simplify (or remove) joints. And the old warhammer painting skills&#8217;d come in handy.</p>
<p><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/bff7_super_mario_vinyl_figures.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/bff7_super_mario_vinyl_figures-183x210.jpg" alt="bff7_super_mario_vinyl_figures" title="bff7_super_mario_vinyl_figures" width="183" height="210" class="alignnone size-medium wp-image-1115" /></a><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/5625_oscar_wilde_figure.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/5625_oscar_wilde_figure-200x210.jpg" alt="5625_oscar_wilde_figure" title="5625_oscar_wilde_figure" width="200" height="210" class="alignnone size-medium wp-image-1114" /></a><br />
<a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/ce2e_futurama_action_figures_add3.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/ce2e_futurama_action_figures_add3-210x162.jpg" alt="ce2e_futurama_action_figures_add3" title="ce2e_futurama_action_figures_add3" width="210" height="162" class="alignnone size-medium wp-image-1116" /></a><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/k_3201.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/k_3201-157x210.jpg" alt="k_3201" title="k_3201" width="157" height="210" class="alignnone size-medium wp-image-1113" /></a></p>
<p>Next up: <strong>Interior stuff</strong></p>
<p>As a bit of a typography geek I&#8217;d definitely make wall letters. I love what they make of a room and what the different typefaces invoke.</p>
<p><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/3a10a556-a852-4561-a7a1-82663e82182b_17717220.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/3a10a556-a852-4561-a7a1-82663e82182b_17717220-210x209.jpg" alt="3a10a556-a852-4561-a7a1-82663e82182b_17717220" title="3a10a556-a852-4561-a7a1-82663e82182b_17717220" width="210" height="209" class="alignnone size-medium wp-image-1119" /></a><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/machefini.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/machefini-210x181.jpg" alt="machefini" title="machefini" width="210" height="181" class="alignnone size-medium wp-image-1118" /></a></p>
<p>I olso find other decorative elements that i&#8217;d like to print. Like these for example:</p>
<p><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/designfetishwirebloomscableclips2.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/designfetishwirebloomscableclips2-210x210.jpg" alt="designfetishwirebloomscableclips2" title="designfetishwirebloomscableclips2" width="210" height="210" class="alignnone size-medium wp-image-1123" /></a><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/designfetishwirebloomscableclips1.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/designfetishwirebloomscableclips1-210x210.jpg" alt="designfetishwirebloomscableclips1" title="designfetishwirebloomscableclips1" width="210" height="210" class="alignnone size-medium wp-image-1122" /></a><br />
<a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/dzn_wrecking-ball-lamp-and-crane-lamp-by-studio-job-3.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/dzn_wrecking-ball-lamp-and-crane-lamp-by-studio-job-3-210x210.jpg" alt="dzn_wrecking-ball-lamp-and-crane-lamp-by-studio-job-3" title="dzn_wrecking-ball-lamp-and-crane-lamp-by-studio-job-3" width="210" height="210" class="alignnone size-medium wp-image-1124" /></a><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/a-peaceful-bomb-vase.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/a-peaceful-bomb-vase-210x210.jpg" alt="a-peaceful-bomb-vase" title="a-peaceful-bomb-vase" width="210" height="210" class="alignnone size-medium wp-image-1121" /></a></p>
<p>And then: <strong>Candy</strong>!</p>
<p>I don&#8217;t know if the materials used are safe enough (that can always be fixed with some kind of varnish) but I like candy! One cool feature of digital 3d files is that it&#8217;s really simple to invert. Even if the makerbot can&#8217;t print anything edible, if you extrude an object from a cube you get a mold that can be used for chocolate, or ice, or anything!</p>
<p>And because it is so simple to make your own molds, I hope we&#8217;ll start seeing holiday and party decorations that isn&#8217;t super lame, as most molds in the store are.</p>
<p>I also found these great helvetica cookie cutters that I&#8217;d most certainly make.</p>
<p><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/600_automania-set-by-frantz.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/600_automania-set-by-frantz-210x210.jpg" alt="600_automania-set-by-frantz" title="600_automania-set-by-frantz" width="210" height="210" class="alignnone size-medium wp-image-1128" /></a><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/318_img_orig_1197668391_9242.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/318_img_orig_1197668391_9242-210x167.jpg" alt="318_img_orig_1197668391_9242" title="318_img_orig_1197668391_9242" width="210" height="167" class="alignnone size-medium wp-image-1127" /></a><br />
<a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/helveticacookie_a.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/helveticacookie_a-210x140.jpg" alt="helveticacookie_a" title="helveticacookie_a" width="210" height="140" class="alignnone size-medium wp-image-1126" /></a><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/skull-ice-cube-maker-soft-chocolate-mold-tray-black-xs0146090622c.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/skull-ice-cube-maker-soft-chocolate-mold-tray-black-xs0146090622c-210x101.jpg" alt="skull-ice-cube-maker-soft-chocolate-mold-tray-black-xs0146090622c" title="skull-ice-cube-maker-soft-chocolate-mold-tray-black-xs0146090622c" width="210" height="101" class="alignnone size-medium wp-image-1133" /></a></p>
<p>Last up - <strong>Theatre props and art</strong></p>
<p>I work in a small theatre, and it is often my job to build, or scavenge second hand shops, for props and scenography details.</p>
<p>Just imagine the possibilities of printing and painting anything the director asks for! &#8220;A 16th century hairbrush?&#8221; - &#8220;Coming right up!&#8221;, &#8220;A severed arm?&#8221; - &#8220;2 sek, printing now!&#8221;, &#8220;A Glock 17 replica?&#8221; - &#8220;Just copied the model from Couter Strike!&#8221;</p>
<p><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/joeyarm.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/joeyarm-210x137.jpg" alt="joeyarm" title="joeyarm" width="210" height="137" class="alignnone size-medium wp-image-1136" /></a><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/glock17.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/glock17-210x159.jpg" alt="glock17" title="glock17" width="210" height="159" class="alignnone size-medium wp-image-1137" /></a><br />
<a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/g8bigheads-small.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/g8bigheads-small-210x157.jpg" alt="g8bigheads-small" title="g8bigheads-small" width="210" height="157" class="alignnone size-medium wp-image-1139" /></a><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/ah1l21nike.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/ah1l21nike-152x210.jpg" alt="ah1l21nike" title="ah1l21nike" width="152" height="210" class="alignnone size-medium wp-image-1141" /></a></p>
<p><strong>Yep, that&#8217;s it!</strong></p>
<p>Note that I haven&#8217;t even gone into the practical stuff, like a battery lid replacement for my remote, but only covered decorative stuff. Thats because that&#8217;s what I&#8217;d focus on first once I get my hands on one!</p>
<p>Also, take a look into <a href="http://www.thingiverse.com/">Thingiverse</a>! They already have a lot of sweet stuff in there, and it&#8217;s growing fast!</p>
<p>Hope I inspired some of you to make sweet stuff, as soon as you can access a 3d-printer!</p>
<p><strong>EDIT:</strong></p>
<p>I keep finding images that inspire me to print stuff. So I&#8217;ll keep adding to the list.</p>
<p><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/4135387293_a54302218c_o.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/4135387293_a54302218c_o-210x140.jpg" alt="4135387293_a54302218c_o" title="4135387293_a54302218c_o" width="210" height="140" class="alignnone size-medium wp-image-1151" /></a><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/spraygraphic-kate-mcdowell-08.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/spraygraphic-kate-mcdowell-08-192x210.jpg" alt="spraygraphic-kate-mcdowell-08" title="spraygraphic-kate-mcdowell-08" width="192" height="210" class="alignnone size-medium wp-image-1152" /></a><br />
<a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/mary-had-a-little-lamp_750.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/mary-had-a-little-lamp_750-210x94.jpg" alt="mary-had-a-little-lamp_750" title="mary-had-a-little-lamp_750" width="210" height="94" class="alignnone size-medium wp-image-1153" /></a><a href="http://www.johanronstrom.se/wp-content/uploads/2010/03/mobilemanufactoringunit.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2010/03/mobilemanufactoringunit-210x140.jpg" alt="mobilemanufactoringunit" title="mobilemanufactoringunit" width="210" height="140" class="alignnone size-medium wp-image-1154" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.johanronstrom.se/2010/03/23/ideas-for-3d-print/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pipe lamps</title>
		<link>http://www.johanronstrom.se/2009/11/08/pipe-lamps/</link>
		<comments>http://www.johanronstrom.se/2009/11/08/pipe-lamps/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 14:21:11 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
		
		<category><![CDATA[Ideas]]></category>

		<guid isPermaLink="false">http://www.johanronstrom.se/?p=1016</guid>
		<description><![CDATA[I love this idea that I found a while back:


I&#8217;ve been thinking about doing something similar, but bigger. Like a tree shaped, pipe floor lamp.
I went to a plumbing store yesterday and realized that pipes are sooo expensive! So unless I can find a scrapyard with piping I&#8217;ll have to reconsider my idea&#8230;
I could do [...]]]></description>
			<content:encoded><![CDATA[<p>I love this idea that I found a while back:</p>
<p><a href="http://www.etsy.com/shop.php?user_id=6964432"><img src="http://3rings.designerpages.com/wp-content/uploads/yapb_cache/the_kozo_lamp_offering_a_new_life_for_old_pipes_small1.dcp0s58d9e44w88gsgcw4wosg.d94aptgr22ifk8k4kwsk0oks4.th.jpeg" alt="Kozo lamp"  width="370" height="235"/></a><br />
<a href="http://www.etsy.com/shop.php?user_id=6964432"><img src="http://3rings.designerpages.com/wp-content/uploads/2009/07/the-kozo-lamp-offering-a-new-life-for-old-pipes-large.jpg" alt="Kozo lamp"  width="425" height="243"/></a></p>
<p>I&#8217;ve been thinking about doing something similar, but bigger. Like a tree shaped, pipe floor lamp.</p>
<p>I went to a plumbing store yesterday and realized that pipes are sooo expensive! So unless I can find a scrapyard with piping I&#8217;ll have to reconsider my idea&#8230;</p>
<p>I could do it with plastic piping, but it&#8217;s not as pretty&#8230; So I was thinking of doing something tree-like with garden hose. Something like this:<br />
<img src="http://www.johanronstrom.se/wp-content/uploads/2009/11/hose-light.jpg" alt="hose-light" title="hose-light" width="425" height="542" class="alignnone size-full wp-image-1018" /></p>
<p>And if I can get a hold of kitchen taps, this might work:<br />
<img src="http://www.johanronstrom.se/wp-content/uploads/2009/11/tap-light.jpg" alt="tap-light" title="tap-light" width="425" height="425" class="alignnone size-full wp-image-1017" /></p>
<p>Room for the light bulb fitting could be a problem, but I&#8217;ll have to try different approaches to work it out.</p>
<p><em>Update:</em> <a href="http://gizmodo.com/5406666/i-just-cant-get-enough-of-these-robolamps">RoboLamp</a>! This is what i&#8217;m talking about!</p>
<p><img src="http://cache.gawker.com/assets/images/4/2009/11/500x_robolamp.jpg" alt="RoboLamp"  width="425" height="307"/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.johanronstrom.se/2009/11/08/pipe-lamps/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Framed blackness</title>
		<link>http://www.johanronstrom.se/2009/09/06/framed-blackness/</link>
		<comments>http://www.johanronstrom.se/2009/09/06/framed-blackness/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 22:54:41 +0000</pubDate>
		<dc:creator>Johan</dc:creator>
		
		<category><![CDATA[Ideas]]></category>

		<guid isPermaLink="false">http://www.johanronstrom.se/?p=989</guid>
		<description><![CDATA[I just finished my latest creation. It&#8217;s pure framed blackness  
I got a big gold painted wooden frame and a small golden metal frame from a sale. And I used black non-reflecting theatre velvet fabric inside the frames.
It turned out very nice and arty  


]]></description>
			<content:encoded><![CDATA[<p>I just finished my latest creation. It&#8217;s pure framed blackness <img src='http://www.johanronstrom.se/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I got a big gold painted wooden frame and a small golden metal frame from a sale. And I used black non-reflecting theatre velvet fabric inside the frames.</p>
<p>It turned out very nice and arty <img src='http://www.johanronstrom.se/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><a href="http://www.johanronstrom.se/wp-content/uploads/2009/09/frames.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2009/09/frames-300x225.jpg" alt="frames" title="frames" width="300" height="225" class="alignright size-medium wp-image-990" /></a></p>
<p><a href="http://www.johanronstrom.se/wp-content/uploads/2009/09/bigframe.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2009/09/bigframe-150x150.jpg" alt="bigframe" title="bigframe" width="150" height="150" class="alignright size-thumbnail wp-image-991" /></a><a href="http://www.johanronstrom.se/wp-content/uploads/2009/09/smallframe.jpg"><img src="http://www.johanronstrom.se/wp-content/uploads/2009/09/smallframe-150x150.jpg" alt="smallframe" title="smallframe" width="150" height="150" class="alignright size-thumbnail wp-image-992" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.johanronstrom.se/2009/09/06/framed-blackness/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

