<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>tobypitman.com</title>
	
	<link>http://www.tobypitman.com</link>
	<description>Official website of guitarist Toby Pitman</description>
	<pubDate>Tue, 03 Feb 2009 22:42:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/tobypitman" type="application/rss+xml" /><item>
		<title>New tutorial on Audiotuts</title>
		<link>http://feedproxy.google.com/~r/tobypitman/~3/ZZMhW-PlbHU/</link>
		<comments>http://www.tobypitman.com/new-tutorial-on-audiotuts/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 22:40:12 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
		
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.tobypitman.com/?p=221</guid>
		<description><![CDATA[Just had another tutorial go up on <a href="http://audiotuts.com">audiotuts.com</a> about using Logics automation with MIDI hardware controllers. Go check it out if your into Logic.

In other news apart from being snowed on a lot I've been learning Adobe After Effects and making some promos for my secret web project.]]></description>
			<content:encoded><![CDATA[<p>Just had another tutorial go up on <a href="http://audiotuts.com/tutorials/mixing-mastering/using-quick-automation-access-in-logic-8/">audiotuts.com</a> about using Logics automation with MIDI hardware controllers. Go check it out if your into Logic.</p>
<p>In other news apart from being snowed on a lot I&#8217;ve been learning Adobe After Effects and making some promos for my secret web project. Making good progress with it but knowing Photoshop animation already has really helped. <a href="http://videocopilot.com">VideoCopilot.com</a> has been a real help learning After Effects and Andrew Kramer is a good coach.</p>
<p>Just got Stormdrum 2 for the studio rig and I&#8217;m loving it. The drum sounds are massive! Here&#8217;s a little orchestral demo I threw together while I was trying it out. It&#8217;s called Attack of the Dung Beetles as I couldn&#8217;t think of a better title! There&#8217;s a scary thought!</p>
<p>Till next time!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tobypitman.com/new-tutorial-on-audiotuts/feed/</wfw:commentRss>
<enclosure url="http://www.tobypitman.com/wp-content/uploads/2009/02/attack-of-the-dung-beetles.mp3" length="1101033" type="audio/mpeg" />
		<feedburner:origLink>http://www.tobypitman.com/new-tutorial-on-audiotuts/</feedburner:origLink></item>
		<item>
		<title>Logic tutorial on AUDIOTUTS.COM</title>
		<link>http://feedproxy.google.com/~r/tobypitman/~3/qW84O7EaZBU/</link>
		<comments>http://www.tobypitman.com/logic-tutorial-on-audiotutscom/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 17:45:17 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
		
		<category><![CDATA[Logic Pro]]></category>

		<guid isPermaLink="false">http://www.tobypitman.com/?p=218</guid>
		<description><![CDATA[Happy new year all! Just had my Chord Memorizer tutorial accepted by the lovely people over at <a href="http://audiotuts.com">audiotuts.com</a>. Planning to do some more for them this year and have some really solid and fun ideas lined up already.]]></description>
			<content:encoded><![CDATA[<p>Happy new year all! Just had my Chord Memorizer tutorial accepted by the lovely people over at <a href="http://audiotuts.com">audiotuts.com</a>. It&#8217;s had some really positive feedback so far. I might do a follow up to it on this site soon. Planning to do some more for them this year and have some really solid and fun ideas lined up already.</p>
<p>As far as this year goes with this blog I&#8217;m planning to do loads more guitar tutorials. I have about three big topics I want to cover so they may come in a few parts each. You can expect a small tutorial pretty soon on some useful pentatonic ideas.</p>
<p>2008 was a bit of a strange one for me as far as guitar goes as I was doing quite a bit of web stuff but I&#8217;m going to be scaling that back and really getting back to some good old playing this year. I guess I&#8217;d just burnt out a bit on music but that seems to be over now and I&#8217;m starting to feel a lot more creative musically ( lot&#8217;s of tunes rattling round the noggin! ).</p>
<p>In fact the only web stuff I&#8217;m planning is the launch of a new site aimed directly at guitar players. Can&#8217;t say much at the moment but it&#8217;s going to be amazing. Most of the material is written and I&#8217;ll start building the site soon. I&#8217;m hoping it&#8217;s going to be a big hit in the world of guitar, so stay tuned!!</p>
<p>You can check out the Logic tutorial <a href="http://audiotuts.com/tutorials/composition/play-chords-with-one-finger-using-logic-pros-chord-memorizer/">here</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.tobypitman.com/logic-tutorial-on-audiotutscom/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.tobypitman.com/logic-tutorial-on-audiotutscom/</feedburner:origLink></item>
		<item>
		<title>jQuery style menu with CSS3</title>
		<link>http://feedproxy.google.com/~r/tobypitman/~3/bkqKvgoj6EQ/</link>
		<comments>http://www.tobypitman.com/jquery-style-menu-with-css3/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 11:25:25 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.tobypitman.com/?p=196</guid>
		<description><![CDATA[Here's a quick experiment I did with CSS3. Again I was just mucking about with CSS3 transitions which could one day replace all the fancy jQuery animation tricks people use. The outcome was a really simple animated sliding verticle menu.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.tobypitman.com/wp-content/uploads/2008/12/css3menu.jpg" alt="css3menu" title="css3menu" width="590" height="300" class="alignnone size-full wp-image-210" /></p>
<p>Here&#8217;s a quick experiment I did with CSS3. Again I was just mucking about with CSS3 transitions which could one day replace all the fancy jQuery animation tricks people use. The outcome was a really simple animated sliding verticle menu.</p>
<p>If you want to view the demo <span style='color:red;' >you&#8217;ll need the lastest Safari</span> version or even better go get the latest nightly build of <a href="http://nightly.webkit.org/">webkit</a>. This might even work in Chrome but I haven&#8217;t checked it. Oddly enough it didn&#8217;t seem to like it on OSX Tiger in Coda but in Leopard it was fine? This is all a long way off anyway but good fun to play with! </p>
<p><a class="viewdemo" href="http://development.tobypitman.com/css/menu.html">Menu Demo</a></p>
<p>First off in the demo you might notice the gradient which is CSS too. Really easy to do that with this&#8230;.</p>
<pre>
<code >body { background: -webkit-gradient
           (linear, left top, left bottom, from(#ccc), to(#fff));
}</code>
</pre>
<p>Now we&#8217;ll style the un-order list with some padding and a background image to create a ridge like effect that our menu items will appear out of. The cool thing about this is by using <span style='color:#c7d0cf;' >-webkit-background-size&#8217;</span> the image is stretched if you add more items to it making the whole thing a bit more dynamic.</p>
<pre>
<code >ul#nav {
	list-style: none;
	display: block;
	width: 200px;
	position: relative;
	top: 100px;
	left: 100px;
	padding: 60px 0 60px 0;
	background: url(shad2.png) no-repeat;
	-webkit-background-size: 50% 100%;
}</code>
</pre>
<p>Everything else is pretty bog standard really. A simple un-ordered list and that&#8217;s about it. The styling for the list item anchor tags is where it all happens. The addition of the <span style='color:#c7d0cf;' >&#8216;-webkit-transition:&#8217;</span> is going to allow us to animate to the <span style='color:#c7d0cf;' >&#8216;:hover&#8217;</span> state.</p>
<pre>
<code >ul#nav li a {
	-webkit-transition: all 0.3s ease-out;
}</code>
</pre>
<p>It says <span style='color:#c7d0cf;' >&#8216;all&#8217;</span> animatable properties should animate over 300ms using <span style='color:#c7d0cf;' >&#8216;ease-out&#8217;</span>, similar to jQuerys easing functions.</p>
<p>Next we&#8217;ll add the styling for the anchor tags with some fancy <span style='color:#c7d0cf;' >-webkit-border-radius</span> and <span style='color:#c7d0cf;' >-webkit-box-shadow</span> to give it some shape and depth and complete it with a backgroung image for each item to enhance our interface effect, making them look like their coming from underneath the ridge.</p>
<pre>
<code >ul#nav li a {
	-webkit-transition: all 0.3s ease-out;
	background: #cbcbcb url(border.png) no-repeat;
	color: #174867;
	padding: 7px 15px 7px 15px;
	-webkit-border-top-right-radius: 10px;
 	-webkit-border-bottom-right-radius: 10px;
	width: 100px;
	display: block;
	text-decoration: none;
	-webkit-box-shadow: 2px 2px 4px #888;
}</code>
</pre>
<p>The properties we&#8217;re going to style are <span style='color:#c7d0cf;' >color</span>, <span style='color:#c7d0cf;' >background-color</span> and <span style='color:#c7d0cf;' >left-padding</span> so let&#8217;s add them to the <span style='color:#c7d0cf;' >hover:</span> state.</p>
<pre>
<code >ul.nav li a:hover {
	background: #ebebeb url(border.png) no-repeat;
	color: #67a5cd;
	padding: 7px 15px 7px 30px;
}</code>
</pre>
<p>That&#8217;s about it really. No javascript and exactly the same effect. Probably be easy to make this degrade nicely for &#8220;certain&#8221; browsers. Now all you have to do is wait!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tobypitman.com/jquery-style-menu-with-css3/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.tobypitman.com/jquery-style-menu-with-css3/</feedburner:origLink></item>
		<item>
		<title>Multiple collapsable panels with cookies</title>
		<link>http://feedproxy.google.com/~r/tobypitman/~3/CB2JJnA7vsY/</link>
		<comments>http://www.tobypitman.com/multiple-collapsable-panels-with-cookies/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 12:30:36 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
		
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.tobypitman.com/?p=154</guid>
		<description><![CDATA[There's literally nothing about on the internet about using the jQuery toogle() function on multiple collapsable panels and saving their states with cookies from one page to another. This prompted me to try and write my own script to take care of the sidebar to the left of the screen.]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s literally nothing about on the internet about using the<a href="http://jquery.com"> jQuery</a> <a href="http://docs.jquery.com/Events/toggle">toogle()</a> function on multiple collapsable panels and saving their states with cookies from one page to another. This prompted me to try and write my own script to take care of <span style="color: #c7d0cf;">the sidebar to the left of the window</span>. All the separate panels are &#8216;widgets&#8217; in Wordpress and are loaded into an &#8216;li&#8217; tag with a class name of &#8216;widget&#8217; making it simple to target the items. I&#8217;d also like to say this isn&#8217;t an Accordion as such and even the scripts for them don&#8217;t deal with unique cookies!</p>
<h3>The collapsing effect</h3>
<p>Collapsing the panels is the easy bit and just like every other &#8216;accordion&#8217; and &#8216;collapsing panel&#8217; plug-in can be achived with a simple toogle() function to slide the &#8216;ul&#8217; inside each of the widgets when the &#8216;h2&#8242; is clicked. The jQuery for that would look like this&#8230;</p>
<pre>
<code>$("li.widget h2").toggle(
      function () {
   			$(this).next("ul").slideUp(500);
      },
      function () {
       		$(this).next("ul").slideDown(500);
      }
    );</code>
</pre>
<p>Notice how we use <span style="color: #c7d0cf;">.next(&#8221;ul&#8221;)</span> to target the &#8216;ul&#8217; as it immediately precedes the &#8216;h2&#8242; which is the trigger for the effect. So far so good!</p>
<p>Next we need to add an &#8216;active&#8217; class to the &#8216;h2&#8242; on DOM ready so the user can see the state of the panels when the page loads, hopefully prompting them they can close it. When they click it we just remove the active &#8216;class&#8217;. This is really easy too by adding this&#8230;.</p>
<pre>
<code>$("li.widget h2").addClass("active"); // Add the class on page load.

$("li.widget h2").toggle(
      function () {
   		$(this).next("ul").slideUp(500);
   		$(this).removeClass('active');
                // Remove the class 'active' on slideUp
      },
      function () {
       		$(this).next("ul").slideDown(500);
       		$(this).addClass("active");
                // Add the class 'active' on slideDown
      }
    );</code>
</pre>
<p>Here&#8217;s the CSS for the state change&#8230;.</p>
<pre>
<code>li.widget h2 {
background:transparent url(images/yourImage.jpg) no-repeat scroll right top;
/* various styling */
}

li.widget h2.active {
background-position:right bottom;
}</code>
</pre>
<p>Pretty standard stuff! Now comes the interesting bits!</p>
<h3>Baking the cookies!</h3>
<p>First off I downloaded <a href="http://plugins.jquery.com/project/cookie">jQuery.cookies.js</a>. This is a great jQuery plug-in for dealing with cookie operations. The basics of it are&#8230;. </p>
<pre>
<code>$.cookie('COOKIE_NAME','COOKIE_VALUE', { path: '/', expires: 10 });
//Make a cookie

$.cookie('COOKIE_NAME','null', { path: '/'});
 //Delete the cookie

$.cookie('COOKIE_NAME');
 //Get the cookie. Returns cookie value.</code>
</pre>
<p>The problem is that all the tutorials for collapsing panels with cookies only dealt with one panel!..and one cookie! But I have multiple panels that need to have their states saved in multiple individual cookies! As Clay Davis from &#8216;The Wire&#8217; would say,&#8221;<a href="http://uk.youtube.com/watch?v=JeaaFTNh3xY">SSSHHHIIIIIIIIIIIIIIIT</a>!&#8221;.</p>
<h3>Making unique cookies</h3>
<p>So&#8230;first I needed to find the index of the widget I&#8217;d collapsed and store it&#8217;s state in an it&#8217;s own unique cookie. Finding the index or number of the widget can be done with this line&#8230;</p>
<pre>
<code>$("li.widget h2").toggle(
      function () {

      		var num = $("li.widget h2").index(this);
               // Find the index of the widget. Starts at 0.

   			$(this).next("ul").slideUp(500);
   			$(this).removeClass('active');
      },
      function () {

      		var num = $("li.widget h2").index(this);
               // Find the index of the widget. Starts at 0.

       		$(this).next("ul").slideDown(500);
       		$(this).addClass("active");
      }
    );

    //Clicking the first widget 'h2' trigger will store 0 in the variable 'num'.</code>
</pre>
<p>Now we can create some variables to store unique cookie names and values. Here&#8217;s how we do that&#8230;.</p>
<pre>
<code>var num = $("li.widget h2").index(this);

var cookieName = 'panel' + num;
// Returns ----&gt; panel0, panel1, panel2  etc....
var cookieValue = 'closed' + num;
// Returns ----&gt; closed0, closed1, closed2  etc.... </code>
</pre>
<h3>Create the cookies</h3>
<p>Now for every widget clicked we can create a unique cookie with a unique value. Let&#8217;s see how we set up the cookie&#8230;This creates a cookie for the first widget when it&#8217;s clicked.</p>
<pre>
<code>var num = $("li.widget h2").index(this); // Find index of 0.

$(this).next("ul").slideUp(500); // Slide up panel
$(this).removeClass('active'); // Remove 'active' class

var cookieName = 'panel' + num;  // Returns ----&gt; panel0
var cookieValue = 'closed' + num;   // Returns ----&gt; closed0 

$.cookie(cookieName, cookieValue, { path: '/', expires: 10 }); 

// Cookie is stored as panel0 with a value of closed0.</code>
</pre>
<h3>Deleting the cookies</h3>
<p>To delete the cookie when widget one is clicked or &#8216;toogled&#8217; we do this&#8230;..</p>
<pre>
<code>var num = $("li.widget h2").index(this); // Find index of 0.

$(this).next("ul").slideDown(500); // Slide down panel
$(this).addClass("active");   // Add 'active' class		

var cookieName = 'panel' + num; // Returns ----&gt; panel0

$.cookie(cookieName, null, { path: '/', expires: 10 }); 

// Cookie with the name panel0 is deleted.</code>
</pre>
<p>The whole code for this looks like this&#8230;..</p>
<pre>
<code>$("li.widget h2.active").toggle(
      function () {
        	var num = $("li.widget h2").index(this);
   		$(this).next("ul").slideUp(500);
		$(this).removeClass('active');
		var cookieName = 'panel' + num;
    		var cookieValue = 'closed' + num;
    		$.cookie(cookieName, cookieValue, { path: '/', expires: 10 });	

      },
      function () {
        	var num = $("li.widget h2").index(this);
     		$(this).next("ul").slideDown(500);
    		$(this).addClass("active");
    		var cookieName = 'panel' + num;
	  	$.cookie(cookieName, null, { path: '/', expires: 10 });
      }
    );</code>
</pre>
<h3>Getting the cookie values</h3>
<p>Now we have to retrieve the cookies and their values to set the state of the widgets when the page is reloaded. This is easily achived using a <span style="color: #c7d0cf;">for</span> loop with an <span style="color: #c7d0cf;">if</span> statement inside it.</p>
<p>First were going to add a line to see how many widgets we have so we know how long the loop should be. I&#8217;ve also created a variable to define the &#8216;ul&#8217; as &#8216;panel&#8217;. If you have nested lists you may want to add <span style="color: #c7d0cf;">:first</span> to the selector.</p>
<pre>
<code>var l = $('li.widget h2').length;
var panel = $("li.widget ul");</code>
</pre>
<p>I&#8217;ve done this for any widget that has a title or &#8216;h2&#8242; tag. Some widgets like &#8216;text&#8217; or &#8216;RSS&#8217; widgets you may want to leave out. This is optional&#8230;.</p>
<p>Heres the loop with some comments. c=0 is important it&#8217;s the loop index.</p>
<pre>
<code>for (c=0;c&lt;=l;c++){
// Loop up to the number of widgets. l is the length.

var cvalue = $.cookie('panel' + c);
// Store the value of found cookie in cvalue while looping.

if ( cvalue == 'closed' + c ) {
// If values match do this... 

   	$(panel).eq(c).css({display:"none"});
       // Hide the ul if cookie is found for element.

   	$(panel).eq(c).prev().removeClass('active').addClass('inactive');
       // Change state of effect trigger.
   };
};</code>
</pre>
<p>If the loop finds a cookie with the name &#8216;panel0&#8242; it will return a value of &#8216;closed0&#8242; which tells the if statement to hide the widget &#8216;ul&#8217; with an index of 0 and remove the &#8216;active&#8217; class and add a class of &#8216;inactive&#8217; on page load.</p>
<p>When the page loads any widget that has an &#8216;h2&#8242; with the class &#8216;inactive&#8217; will be hidden as it doesn&#8217;t have the class  &#8216;active&#8217;&#8230;&#8230;.Great!</p>
<h3>Major Problem!!!</h3>
<p>&#8230;..or not! Just like Microsoft there is one massive flaw in this code!!! I&#8217;d like to add that up to here took about an hour, what follows took a whole day!</p>
<p>The toogle() function works on the premise that the first part of the code (the first &#8216;click&#8217; function) will slide the element UP and the second part (the second &#8216;click&#8217; on the element) will slide the element DOWN. Well what if the element is already UP on page load. Clicking the trigger returns nothing as the element is already UP&#8230;?!? You need to click it again to get it to slide down which from a UI point of veiw it pretty&#8230;well, crap!</p>
<p>I tried so many different things from &#8216;if else&#8217; statements to &#8216;click&#8217; functions, the list goes on. It seemed if one thing worked something else wouldn&#8217;t. It was like a dream that you&#8217;re chasing something but can never catch up with it. At one point I thought I was losing my mind!</p>
<p>The answer turned out to be really simple in the end (Doh!) an lay in something I&#8217;d added to the code but never thought of using&#8230; the &#8216;inactive&#8217; class. I discovered that if I duplicated the toggle() function and reversed the functions so the first click performed a DOWN slide and assigned that to <span style="color: #c7d0cf;">$(&#8217;li.widget h2.inactive&#8217;)</span> it produced the desired result. Not very elegant but then neither am I!</p>
<p>The whole thing looks like this&#8230;.</p>
<pre>
<code>$(document).ready(function(){

$("li.widget h2").addClass("active");

var l = $('li.widget h2').length;

var panel = $("li.widget ul");

for (c=0;c&lt;=l;c++){

   var cvalue = $.cookie('panel' + c);

   if ( cvalue == 'closed' + c ) {

   		$(panel).eq(c).css({display:"none"});
   		$(panel).eq(c).prev().removeClass('active').addClass('inactive');
   };
};

$("li.widget h2.active").toggle(
      function () {
        	var num = $("li.widget h2").index(this);
        	var cookieName = 'panel' + num;
    		var cookieValue = 'closed' + num;
   		$(this).next("ul").slideUp(500);
		$(this).removeClass('active');
    		$.cookie(cookieName, cookieValue, { path: '/', expires: 10 });	

      },
      function () {
        	var num = $("li.widget h2").index(this);
        	var cookieName = 'panel' + num;
     		$(this).next("ul").slideDown(500);
    		$(this).addClass("active");
	  	$.cookie(cookieName, null, { path: '/', expires: 10 });
      }
    );

$("li.widget h2.inactive").toggle(
      function () {
        	var num = $("li.widget h2").index(this);
        	var cookieName = 'panel' + num;
     		$(this).next("ul").slideDown(500);
    		$(this).addClass("active");
    		$(this).removeClass('inactive');
	  	$.cookie(cookieName, null, { path: '/', expires: 10 });

      },
      function () {
        	var num = $("li.widget h2").index(this);
        	var cookieName = 'panel' + num;
    		var cookieValue = 'closed' + num;
   		$(this).next("ul").slideUp(500);
		$(this).removeClass('active');
    		$.cookie(cookieName, cookieValue, { path: '/', expires: 10 });
      }
    );

});</code>
</pre>
<h3>Conclusion</h3>
<p>Multiple collapsable panels with cookie states for every unique panel. Awesome!!!</p>
<p>I hope somebody finds this useful and is spared the brain ache I went through. To coolest thing is as the demo relies on Wordpress&#8217; markup you can drop it straight into a theme your developing. I&#8217;m going to turn it into a plugin soon too (once I&#8217;ve figured out how to do that!). I&#8217;d love to hear if any knows of a better and more elegant way of doing this, so leave a comment if you do!</p>
<p>For a demo, look no further than the sidebar menu at the top of this page. Close some widgets and reload the page!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tobypitman.com/multiple-collapsable-panels-with-cookies/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.tobypitman.com/multiple-collapsable-panels-with-cookies/</feedburner:origLink></item>
		<item>
		<title>My Top 5 albums of 2008</title>
		<link>http://feedproxy.google.com/~r/tobypitman/~3/YHejm-1sk-4/</link>
		<comments>http://www.tobypitman.com/my-top-5-albums-of-2008/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 22:51:07 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
		
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.tobypitman.com/?p=116</guid>
		<description><![CDATA[Well, I know it's not over just yet but unless Van Halen release a new album in the next two weeks this will be my list favorite longplayers for 2008.]]></description>
			<content:encoded><![CDATA[<p>Well, I know it&#8217;s not over just yet but unless Van Halen release a new album in the next two weeks this will be my list favorite longplayers for 2008. There&#8217;s a lot of good music out there and some you just don&#8217;t get to hear unless you want to trawl though lots of shit on MySpace till you find a gem! </p>
<p>Infact that&#8217;s what the fine folk over at <a href="http://augasm.us">augasm.us</a> do so you don&#8217;t have to! Came across this site a little while ago and if your into indie/alternative music with a slightly offbeat flavour this could be the site for you. I recommend checking it out!</p>
<p>So here we go&#8230;.At</p>
<h3>No5: Pendulum - In Silico</h3>
<p><img src="http://www.tobypitman.com/wp-content/uploads/2008/12/pendulum.jpg" alt="pendulum" title="pendulum" width="590" height="200" class="alignnone size-full wp-image-117" /></p>
<p>Great production and kickass drums! Two vital ingredients to a great record for me. This quasi Drum &#038; Bass/Punk/Pop album has some great songwiting and arranging as well as being a really interesting and polished programming/production masterpiece! Did I mention the kickass beats!</p>
<p><a class="youtube" href="http://uk.youtube.com/watch?v=zENtEumtyBI">The Other Side</a></p>
<h3>No 4: Goldfrapp - Seventh Tree</h3>
<p><img src="http://www.tobypitman.com/wp-content/uploads/2008/12/goldfrapp.jpg" alt="goldfrapp" title="goldfrapp" width="590" height="200" class="alignnone size-full wp-image-122" /></p>
<p>Goldfrapp have always been a favorite of mine. The combination of Alison Goldfrapp&#8217;s smooth vocals and Will Gregory&#8217;s production and arranging are a match made in heaven. Nuff said!</p>
<p><a class="youtube" href="http://uk.youtube.com/watch?v=yJ8VyukQtTg">Caravan Girl</a></p>
<h3>No 3: Paul Gilbert - Silence followed by a Deafening Roar</h3>
<p><img src="http://www.tobypitman.com/wp-content/uploads/2008/12/paul-gilbert.jpg" alt="paul-gilbert" title="paul-gilbert" width="590" height="200" class="alignnone size-full wp-image-124" /></p>
<p>Former Racer X and Mr Big guitarist Paul Gilbert returns without the singing and just does what he does best. Play amazing, over the top guitar! A lot more funky with some 70&#8217;s rock flavours this is a great guitar record. And a bloody nice chap with it!</p>
<p><a class="youtube" href="http://uk.youtube.com/watch?v=eR2gCAO2CRY">Norwegian Cowbell</a></p>
<h3>No 2: Wallis Bird - Spoons</h3>
<p><img src="http://www.tobypitman.com/wp-content/uploads/2008/12/wallis-bird.jpg" alt="wallis-bird" title="wallis-bird" width="590" height="200" class="alignnone size-full wp-image-125" /></p>
<p>Wallis Bird from Ireland plays guitar left-handed not because she&#8217;s left-handed but because she got all her fingers chopped off on her left hand ( she got them put back on! ). It doesn&#8217;t seem to have stopped her though as she&#8217;s one of the tightest acoustic rhythm guitarists I&#8217;ve heard in a while. That aside, she has the knack of writing really catchy songs and an awesome voice too! &#8216;Spoons&#8217; is so infectious as an album with it&#8217;s mixture of folk and pop ( and even a hint of prog! ) it&#8217;s hard to stop listening to it! A breathe of fresh air! 5 Stars!!! Thanks <a href="http://aurgasm.us">Aurgasm</a>!!!</p>
<p><a class="youtube" href="http://uk.youtube.com/watch?v=U6ugZViX3yU">Blossoms in the Street</a><br />
<a class="youtube" href="http://uk.youtube.com/watch?v=OGinf4hmbeg">Interview</a></p>
<h3>No 1: Everything by The Bird and the Bee&#8230;.ever!</h3>
<p><img src="http://www.tobypitman.com/wp-content/uploads/2008/12/bird-bee.jpg" alt="bird-bee" title="bird-bee" width="590" height="200" class="alignnone size-full wp-image-127" /></p>
<p>When I first heard &#8216;Again &#038; Again&#8217; by The Bird and the Bee I thought it was the catchiest song I&#8217;d ever heard. I immediatly bought all their records and they&#8217;ve been on loop ever since. Consisting of Inara George ( I only found out after that Inara is the daughter of one of my all time heroes Lowell George from &#8216;Little Feat&#8217; ) and pianist and producer Greg Kurstin. A totally magical mix of Jazz/Electro/Pop meets Burt Bacharach the Bird and the Bee just couldn&#8217;t be any cooler if they tried. Do yourself a favour and have a listen. If you like great pop music then the Bird and the Bee have it all!!!</p>
<p><a class="youtube" href="http://uk.youtube.com/watch?v=xDlEXQaMBpk">Again &#038; Again (2007)</a><br />
<a class="youtube" href="http://uk.youtube.com/watch?v=nI3g9RaVkdY">Polite Dance Song</a><br />
<a class="youtube" href="http://uk.youtube.com/watch?v=drhFLc3Jm48">La La La</a></p>
<h3>Honorable Mentions&#8230;.</h3>
<p><img src="http://www.tobypitman.com/wp-content/uploads/2008/12/consolers.jpg" alt="consolers" title="consolers" width="70" height="70" class="alignleft size-full wp-image-129" style="padding-top:10px;"/></p>
<h3>The Racontuers - Consolers of the Lonely</h3>
<p>Jack White and co provide some kickass grooves and some of the best guitar sounds ever put to tape. He really is a very talented bloke!<br/><br/></p>
<p><img src="http://www.tobypitman.com/wp-content/uploads/2008/12/greg-howe.jpg" alt="greg-howe" title="greg-howe" width="70" height="69" class="alignleft size-full wp-image-134"  style="padding-top:10px;"/></p>
<h3>Greg Howe - Sound Proof</h3>
<p>Took a while to get into but now I&#8217;m there. Served as a reminder that you&#8217;ll never be as good as Greg Howe!<br/><br/></p>
<p><img src="http://www.tobypitman.com/wp-content/uploads/2008/12/brent-mason.jpg" alt="brent-mason" title="brent-mason" width="70" height="70" class="alignleft size-full wp-image-135"  style="padding-top:10px;"/></p>
<h3>Brent and Randy Mason - Smoking Section</h3>
<p>&#8230;.Unless your Brent Mason! Nashvilles top session guitarist more than delivers with a mix of Western Swing/Country/Jazz and Blues. Totally baffling!!!<br/><br/></p>
<p><img src="http://www.tobypitman.com/wp-content/uploads/2008/12/angles.jpg" alt="angles" title="angles" width="70" height="68" class="alignleft size-full wp-image-142" style="padding-top:10px;"/></p>
<h3>Dan Le Sac vs Scroobius Pip - Angles</h3>
<p>Left field british Electro/Hip Hop. Totally mental but really inventive production and lyrics. Stand out track <a href="http://uk.youtube.com/watch?v=yqnKbdqjh2I">&#8216;Look for the Woman&#8217;</a><br/><br/></p>
<p><a class="youtube" href="http://uk.youtube.com/watch?v=LSzA1kmH58U">Dan Le Sac Vs Scroobius Pip Look For The X-Factor</a> Hilarious&#8230;!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tobypitman.com/my-top-5-albums-of-2008/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.tobypitman.com/my-top-5-albums-of-2008/</feedburner:origLink></item>
		<item>
		<title>JQuery: Fade elements sequencially without chaining</title>
		<link>http://feedproxy.google.com/~r/tobypitman/~3/tHspk-NdF2M/</link>
		<comments>http://www.tobypitman.com/jquery-fade-elements-sequencially-without-chaining/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 20:07:13 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
		
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.tobypitman.com/?p=98</guid>
		<description><![CDATA[Here's a useful trick for fading similar elements sequencially without having to chain the effects. In the first example I have 5 divs that I want to fade in one after the other. Instead of giving them all unique ID's and chaining the fade effects like this....]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a useful trick for fading similar elements sequencially without having to chain the effects. In the first example I have 5 divs that I want to fade in one after the other. Instead of giving them all unique ID&#8217;s and chaining the fade effects like this&#8230;.<br />
<br/></p>
<pre>
<code>$("#box1").fadeIn("slow", function(){
  $("#box2").fadeIn("slow", function(){
    $("#box3").fadeIn("slow", function(){
      $("#box4").fadeIn("slow", function(){
        $("#box5").fadeIn("slow");
      });
     });
   });
});    </code>
</pre>
<p><br/><br />
&#8230;&#8230; you can instead give them a class of &#8216;box&#8217; and find the amount using <span style=color:#fff;>.length;</span> and use an <span style=color:#fff;>if</span> statement to loop through the until all the relevant elements are visible using a callback function.<br />
<br/></p>
<pre>
<code>
var i = 0
var n = $(".box").length;

function showbox() {

	if(i &lt;= n){ 

	$(".box").eq(i).fadeIn(600, function(){ i++; showbox(); });

		    }
        } showbox();
</code>
</pre>
<p><br/><br />
It&#8217;s a lot more efficient code wise and produces the same effect. Here&#8217;s the same thing but using a &#8216;click&#8217; event to trigger the function.<br />
<br/></p>
<pre>
<code>
var j = 0
var a = $(".list").length;

	$("#trigger").click(function showlist(){

		if(j &lt;= a){
		$(".list").eq(j).fadeIn(200, function(){ j++; showlist(); });

		 }
	});
</code>
</pre>
<p><br/><br />
Might be a nice effect for a menu? I was going to use it to fade in the posts on the blog homepage but IE7 can&#8217;t render one transparent PNG over another when faded. It comes out looking like a jaged GIF with the top PNG&#8217;s transparent pixel looking black instead. Once again IE ruins everything!!!</p>
<p><a class="viewdemo" href="http://development.tobypitman.com/jquery/sequence.html" title="">View Demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tobypitman.com/jquery-fade-elements-sequencially-without-chaining/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.tobypitman.com/jquery-fade-elements-sequencially-without-chaining/</feedburner:origLink></item>
		<item>
		<title>Producing Johnny Borrell’s ‘Carrickfergus’</title>
		<link>http://feedproxy.google.com/~r/tobypitman/~3/NMidEyXSTo4/</link>
		<comments>http://www.tobypitman.com/producing-johnny-borrells-carrickfergus/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 18:16:16 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[Studio]]></category>

		<guid isPermaLink="false">http://www.tobypitman.com/?p=51</guid>
		<description><![CDATA[Completely forgot about this one! In August Air Studios engineer Nick Cervonaro asked me if I would help him out with a charity project Bruce Parry ( from the BBC's brilliant 'Tribe' series  ) was putting together for Survival International.]]></description>
			<content:encoded><![CDATA[<p>Completely forgot about this one! In August Air Studios engineer Nick Cervonaro asked me if I would help him out with a charity project Bruce Parry ( from the BBC&#8217;s brilliant &#8216;Tribe&#8217; series  ) was putting together for Survival International.<span id="more-51"></span></p>
<p>I was asked to do some arranging on the Johnny Borrell ( Razorlight ) track &#8216;Carrickfurgus&#8217; which was in the demo stage at the time. Nick had the files which were in a pretty basic state with some loops and a vocal track and a rough sketch of the chords.</p>
<p><img class="alignnone size-full wp-image-52" title="Nick Ceronavo" src="http://www.tobypitman.com/wp-content/uploads/2008/12/p1000099.jpg" alt="" width="518" height="186" /></p>
<p>We eventually decided to re-record the entire track and just keep the vocal and ended up co-producing the track together. Nick took care of the engineering and mixing duties and I arranged the music and eventually ended up playing or programming all the instrumentation!</p>
<p><img class="alignnone size-full wp-image-53" title="Doing some Acoustic guitars" src="http://www.tobypitman.com/wp-content/uploads/2008/12/p1000110.jpg" alt="" width="518" height="278" /></p>
<p>The whole thing was done in one day from start to finish in Studio 2 at Air.</p>
<p><img class="alignnone size-full wp-image-54" title="Are my guitars loud enough?" src="http://www.tobypitman.com/wp-content/uploads/2008/12/p1000139.jpg" alt="" width="518" height="326" /></p>
<p>It was only the fact I saw the track in my inbox that I remembered it. I went on iTunes and sure enough there it was. The album features tracks from KT Tunstall, Yusif Islam, Hot Chip, The Go! Team and Will.i.am to name a few. It&#8217;s called Amazon Tribe - Songs for Survival and is available from all good music retailers.</p>
<p>On a guitar note, I used my fantastic <a href="http://www.atkinguitars.com/">Atkin</a> &#8216;Dreadnought&#8217; for the acoustics ( and percussion! ) and my Telecaster though an old Vox AC30 with a <a href="http://www.jimdunlop.com/index.php?page=products/pip&amp;id=264&amp;pmh=products/p_and_e_detail">Custom Audio Electronics boost pedal by MXR</a> for the electrics.</p>
<p><img class="alignnone size-full wp-image-55" title="mmmmmm! Vox" src="http://www.tobypitman.com/wp-content/uploads/2008/12/p1000123.jpg" alt="" width="518" height="289" /></p>
<p>Go out and buy it, it&#8217;s for a good cause! Did I mention we all did it for free!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tobypitman.com/producing-johnny-borrells-carrickfergus/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.tobypitman.com/producing-johnny-borrells-carrickfergus/</feedburner:origLink></item>
		<item>
		<title>BIMM masterclass</title>
		<link>http://feedproxy.google.com/~r/tobypitman/~3/Hku5F7yjj80/</link>
		<comments>http://www.tobypitman.com/bimm-masterclass/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 19:26:10 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
		
		<category><![CDATA[Guitar stuff]]></category>

		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.tobypitman.com/?p=49</guid>
		<description><![CDATA[Last Friday I travelled down to Brighton to do a masterclass at my old place of work the Brighton Institute of Modern Music.]]></description>
			<content:encoded><![CDATA[<p>Last Friday I travelled down to Brighton to do a masterclass at my old place of work the <a href="http://bimm.co.uk">Brighton Institute of Modern Music</a>. Having taught the guitar Session Styles and Technical Development courses for three years it was good to pay them a visit and catch up with some old faces.<span id="more-49"></span></p>
<p>I was great to sit around and talk about guitar to a bunch of guitar heads as it&#8217;s something I don&#8217;t get to do all that often. Still too busy to teach now&#8230;which is great!</p>
<p>Here&#8217;s me back when I was teaching. As you can see I really loved it!!!!</p>
<p><img class="alignnone size-full wp-image-50" title="teaching" src="http://www.tobypitman.com/wp-content/uploads/2008/12/teaching.jpg" alt="" width="518" height="262" /></p>
<p>Carleen Anderson was also there giving a vocal masterclass too. She&#8217;s about the only musician I&#8217;ve ever been a bit starstruck with as I just think she&#8217;s bloody amazing!</p>
<p>Now I think about it I might do some practice!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tobypitman.com/bimm-masterclass/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.tobypitman.com/bimm-masterclass/</feedburner:origLink></item>
		<item>
		<title>Vivianne Westwood gig</title>
		<link>http://feedproxy.google.com/~r/tobypitman/~3/dB2J47-I4BA/</link>
		<comments>http://www.tobypitman.com/vivianne-westwood-gig/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 16:11:33 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
		
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.tobypitman.com/?p=47</guid>
		<description><![CDATA[On Tuesday night I did a gig at Banqueting House down in Whitehall for a Vivianne Westwood catwalk show. When I say I, I mean as part of a pretty large band comprised of a 35 piece orchestra, 3 brazilian rappers, a champion beatboxer, vocalist, two ballerina's and a virtuoso violinist ( playing a £1,500,000 violin! ) and two rather scruffy rock guitarists ( one of which was me, the other my good buddy Martin Goulding ).]]></description>
			<content:encoded><![CDATA[<p>On Tuesday night I did a gig at Banqueting House down in Whitehall for a Vivianne Westwood catwalk show. When I say I, I mean as part of a pretty large band comprised of a 35 piece orchestra, 3 brazilian rappers, a champion beatboxer, vocalist, two ballerina&#8217;s and a virtuoso violinist ( playing a £1,500,000 violin! ) and two rather scruffy rock guitarists ( one of which was me, the other my good buddy Martin Goulding ).</p>
<p>The whole thing was in aid of the NSPCC which is a great cause.<span id="more-47"></span> It&#8217;s apparently the first time that there has been this sort of musical extravaganza at a catwalk show so it was cool to be involved. The music varied from South American rap, classical, rock and funk. The whole thing was conducted by top man Mark Stephenson. All in all a fun night.</p>
<p>It was attended by lots of famous people ( yawn! ) including Claudia Schiffer, the Jagger mob and I think I even saw Nigel from Eastenders ( from back in the day )!</p>
<p>Here&#8217;s a pic of with some of the band. From left to right: Ana Paula Aranjo, Fernanda Bussinger, Gabriel Currington ( composer ), me, Martin Goulding, <a href="http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&amp;friendid=85121800">Bellatrix</a>, <a href="http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&amp;friendid=65765500">Alyusha Chagrin</a>.</p>
<p><img class="alignnone size-full wp-image-48" title="crew" src="http://www.tobypitman.com/wp-content/uploads/2008/11/crew.jpg" alt="" width="518" height="339" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tobypitman.com/vivianne-westwood-gig/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.tobypitman.com/vivianne-westwood-gig/</feedburner:origLink></item>
		<item>
		<title>Guest post on CSS-tricks</title>
		<link>http://feedproxy.google.com/~r/tobypitman/~3/vsK3yzxCj9E/</link>
		<comments>http://www.tobypitman.com/guest-post-on-css-tricks/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 21:33:29 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.tobypitman.com/?p=45</guid>
		<description><![CDATA[I really love webdesign and CSS is one of my favorite things about it ( apart fom the girls and fast cars! ). Very pleased to say I've just done a guest post for Chris Coyier's great site <a href="http://css-tricks.com">css-tricks.com</a>. It's a tutorial on using CSS3 and jQuery to build a web clock.]]></description>
			<content:encoded><![CDATA[<p>I really love webdesign and CSS is one of my favorite things about it ( apart fom the girls and fast cars! ). Very pleased to say I&#8217;ve just done a guest post for Chris Coyier&#8217;s great site <a href="http://css-tricks.com">css-tricks.com</a>. It&#8217;s a tutorial on using CSS3 and jQuery to build a web clock.</p>
<p><img class="alignnone size-full wp-image-46" title="css-tricks-post" src="http://www.tobypitman.com/wp-content/uploads/2008/11/css-tricks-post.jpg" alt="" width="518" height="356" /></p>
<p>I&#8217;ve been doing some other experiments recently with CSS3. Here&#8217;s a rather neat animation using <strong>transform:skew</strong>. Safari 3/4, Google Chome only!!!!</p>
<p><a href="http://development.tobypitman.com/css/cube.html">Cube animation</a></p>
<p>Probably not very exciting unless your into web stuff&#8230;which I am!</p>
<p>Doing a very bizarre gig tomorrow. See you then!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tobypitman.com/guest-post-on-css-tricks/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.tobypitman.com/guest-post-on-css-tricks/</feedburner:origLink></item>
	</channel>
</rss>
