Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/customer/www/tomhalligan.co.uk/public_html/tomhalligan.co.uk/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340
Tom Halligan -Tom Halligan

The In-Between

The romantic thing to think would be that this comes from a dark place in my soul and portrays some kind of nightmare world. The reality is that this was written immediately after a long round of Alien: Isolation, in which I always end up spending most of my time hiding in a locker listening to the Xenomorph banging around in the vents and panicking at every shadow.

The In-Between is a dark, foul place,
where shadows tear themselves from walls,
and screams come silent, choking, gasping,
oceans boil and caverns roar,
and birds of ash make nests of fire,
as thunder rocks the castle wall,
and cannon rain down from the sky,
an endless, nameless, gaping maw.
Where wealthy men are much reduced
to grovel in the dirt for coin,
while poor men even farther fall,
and in that bitter pain find joy,
for they at least are in-between,
and must soon travel on.
The others do not fare so well,
so wake up, friend. Be gone.

Posted in Writing | Leave a comment

Words – A poem for people who can’t think of any

How could you ever have thought of a thing,
if there wasn’t a word to describe it?
It’s on the tip of your tongue, but the word never comes.
You can try, but you’ll never find it!

Maybe the word just hasn’t been made,
or perhaps it was lost and forgotten.
It could even be stuck with the wrong kind of thing,
feeling useless and bored and just rotten!

Well what can be done if you think of a thing,
but you struggle to find a good word?
Just think! Think of a word with no thing,
and shout it! It needs to be heard!

All of the best words are made up, you know,
like ‘bicycle’, ‘spoon’ and ‘tomato’.
Shakespeare himself invented the ‘bump’,
‘excitement’ and ‘moonbeam’ and ‘elbow’ (as a verb)

So if you think of a thing that hasn’t been thought,
And it hasn’t a name, don’t be scared!
Just think of the silliest, stupidest sound,
and hey! You’ve just invented a word!

Posted in Writing | 2 Comments

HTML5 Audio Player with Playlist

Have you ever wanted to add a simple HTML5 audio player with playlist to a website? If so, then you’ve no doubt scoured the internet for the right plugin – something which will just let your users play a few tracks, with simple functionality. Unfortunately, many media players on offer seem too complicated for my needs, tie you into a framework which just doesn’t really lend itself well to flexibility, or just don’t really do the job. For this reason, I decided to create my own player. The main idea was to implement a simple player which could support a playlist of tracks easily, and which could be added to a page with minimum fuss.

Using jQuery and the HTML5 audio element, I implemented a (very) simple audio player which supports multiple queued tracks and basic controls. Eventually I want to extend the functionality of this plugin, but I’m more concerned with ensuring ease of use than adding bells and whistles. Have a little play with the demo below and let me know if there’s anything you’d like to see.

Note that for now, the default audio element will be displayed. The appearance of this will vary across browsers, and since I primarily use Chrome, the default UI for the plugin will match up with Chrome’s audio player better than it does other browsers. The plan is to ultimately allow for customisation of the audio player itself rather than just the playlist area, but for now you can tweak the included CSS however you see fit. Click a track-name within the playlist to start playing!

The first version of this player is now available, so go and grab it from GitHub. The GitHub page contains instructions for getting this plugin up and running, and details the options currently available. I’ll be extending this plugin over time, so if you have a GitHub account and are interested in its development, then watch the repo for updates!

Posted in Music, Programming, Projects, Technology, Web Development | Leave a comment