<?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>Xoke.org &#187; Code</title>
	<atom:link href="http://xoke.org/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://xoke.org</link>
	<description>Xoke&#039;s Small Area of the Net</description>
	<lastBuildDate>Thu, 19 Aug 2010 08:20:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Exclusive podcast to Xoke.org (or something)</title>
		<link>http://xoke.org/2010/05/12/exclusive-podcast-to-xoke-org-or-something/</link>
		<comments>http://xoke.org/2010/05/12/exclusive-podcast-to-xoke-org-or-something/#comments</comments>
		<pubDate>Wed, 12 May 2010 23:41:08 +0000</pubDate>
		<dc:creator>Xoke</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://xoke.org/?p=339</guid>
		<description><![CDATA[Well when I post this it IS exclusive to xoke.org, but that word is overused in radio.  As it is under a CC license (see bottom of page for the license) you can put it elsewhere if you wanted to! I was trying out my new script (see the new scripts section for it) and [...]]]></description>
			<content:encoded><![CDATA[<p>Well when I post this it IS exclusive to xoke.org, but that word is overused in radio.  As it is under a CC license (see bottom of page for the license) you can put it elsewhere if you wanted to!</p>
<p>I was trying out my new script (see the <a href="http://xoke.org/scripts">new scripts section</a> for it) and recorded this in about 5 minutes.  It&#8217;s an ogg format, and I ad-libbed it on the fly so I say &#8216;um&#8217; a lot.  But I explain the new script and my thoughts on it.</p>
<p>I was going to upload the speex format, but wordpress complained about security.  <a href="http://xoke.org/wp-content/uploads/2010/05/rec.ogg">Anyway here is the Ogg file</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://xoke.org/2010/05/12/exclusive-podcast-to-xoke-org-or-something/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I need to get back into podcasting [Updated]</title>
		<link>http://xoke.org/2010/05/11/i-need-to-get-back-into-podcasting/</link>
		<comments>http://xoke.org/2010/05/11/i-need-to-get-back-into-podcasting/#comments</comments>
		<pubDate>Tue, 11 May 2010 22:34:20 +0000</pubDate>
		<dc:creator>Xoke</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://xoke.org/?p=327</guid>
		<description><![CDATA[However I need to find a different way of doing it.  I spent way to much time on those.  I was spending several hours writing out what I would say, then recording it, then editing (about 3 times the length of the episode) and any bits I needed to re-record because I stumbled over a [...]]]></description>
			<content:encoded><![CDATA[<p>However I need to find a different way of doing it.  I spent way to much time on those.  I was spending several hours writing out what I would say, then recording it, then editing (about 3 times the length of the episode) and any bits I needed to re-record because I stumbled over a word or whatever, then encoding them and listening again to make sure it all worked well.</p>
<p>Basically I was spending around 7/8 hours for each 30 minute podcast.  And the python series was taking even longer as I was learning the python first and writing the code then writing the script etc.</p>
<p>So when I got my job, I suddenly had no free time and I dropped off the podcasting scene.  Even more when I was working Sunday mornings at 5 am which meant I couldn&#8217;t do cranks on Saturday night.</p>
<p>I really need to get back into podcasting and am attempting to streamline the process.  First up I think I will ad-lib the episodes a lot more, as that was a lot of the time gone writing the episodes.  To this end, I am writing a little bash script which, whilst being rather sucky so far, has potential:</p>
<p><strong>** Updated ** <a href="http://xoke.org/scripts/rec/">Permalink to the script</a></strong><strong>:</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://xoke.org/2010/05/11/i-need-to-get-back-into-podcasting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Too Many Podcasts, Too Little Time&#8230;</title>
		<link>http://xoke.org/2009/09/28/too-many-podcasts-too-little-time/</link>
		<comments>http://xoke.org/2009/09/28/too-many-podcasts-too-little-time/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 17:39:10 +0000</pubDate>
		<dc:creator>Xoke</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Creative Commons]]></category>
		<category><![CDATA[Podcasts]]></category>

		<guid isPermaLink="false">http://xoke.org/?p=279</guid>
		<description><![CDATA[No I don&#8217;t want to stop listening to some of my podcasts, but seriously TLLTs takes forever to catch up on! So I&#8217;ve been reading up on / talking to people about speeding up the playback of podcasts.  You can play them through mplayer (CLI version) and press ] to increase the speed, but the [...]]]></description>
			<content:encoded><![CDATA[<p>No I don&#8217;t want to stop listening to some of my podcasts, but seriously TLLTs takes forever to catch up on!</p>
<p>So I&#8217;ve been reading up on / talking to people about speeding up the playback of podcasts.  You can play them through mplayer (CLI version) and press ] to increase the speed, but the people end up sounding like chipmunks.  Whilst this may be an improvement for Dann, other people sound terrible this way.</p>
<p>SoX is a cool command that will sort this out for you.  You can increase the &#8216;tempo&#8217; without adjusting the pitch.  I want to have a script to amend this that can be called after bashpodder so it&#8217;s a one-stop-shop to fix everything.</p>
<p>To install SoX (and let it handle MP3 files):</p>
<pre style="padding-left: 30px;">sudo apt-get install sox libsox-fmt-mp3</pre>
<p>So far I have:</p>
<pre style="padding-left: 30px;">#!/bin/bash
##################################################
#
#                       LICENSE
#
##################################################
#
# Xoke's Speed Increase script for Podcasts
# Copyright (C) 2009 Xoke
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details &lt;http://www.gnu.org/licenses/&gt;.

# I added a bit of a version control section here to mark any changes to the code
##################################################
#
#                       Versions
#
##################################################
#
# Ver    Date            Author        Description
# ------------------------------------------------------------------------------------
# 0.1        Sep 2009    Xoke        Initial Version

# Increase tempo of podcasts for today
#    Issues:
#        Assumes bashpodder is running
#        Probably has issues being run twice in one day
#        Doesn't tidy up after itself
#        mp3s become *.mp3.ogg

# Make script crontab friendly:
cd $(dirname $0)

# Speed Increase - change this to change
# the speed.
incspeedby=1.5

# datadir is the directory you want podcasts saved to:
datadir=$(date +%Y-%m-%d)

# Move into directory
cd $datadir

# Find all the MP3s
list=`ls *.mp3`
for currfile in $list
do
 echo $currfile
 # Process them
 sox $currfile z$currfile.ogg tempo $incspeedby
done

# Find all the OGGs
list=`ls *.ogg`
for currfile in $list
do
 echo $currfile
 # Process them
 sox $currfile z$currfile tempo $incspeedby
done</pre>
<p>This will go into the current date directory, as per bashpodder.  This means if you run it <em>twice</em> in one day it will have problems as it will try to increase the tempo of the files already increased&#8230; which will be a problem.  It will convert mp3 files to ogg as the Jaunty version of SoX does not come with MP3 export capabilities.  This means HPR069.mp3 becomes zHPR069.mp3.ogg which is a little annoying, but not a huge problem.  The files all get a &#8216;z&#8217; appended to the front, as I didn&#8217;t want to delete the old files without testing this on a lot of different files!  The next version (after lots of testing) will remove the old files and tidy things up!  Also this takes a while to run to convert files.</p>
<p>If you think 1.5x speed is too fast (or too slow if you&#8217;re Kajarii!) then you can change the <em>incspeedby</em> variable to change both mp3 and ogg.</p>
<p>Apart from that, I posted it here and not under &#8216;tips&#8217; so everyone on the planet can look and let me know if I&#8217;m missing something, or if there is a better way of doing it.  I did google however most people are converting the MP3s to WAV files to increase the tempo and then recompress them!</p>
]]></content:encoded>
			<wfw:commentRss>http://xoke.org/2009/09/28/too-many-podcasts-too-little-time/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
