Author: Barry van Oudtshoorn

  • Migration to WordPress

    I’ve partially migrated the site to WordPress from Exponent. In the coming weeks, you’ll notice a few more changes happening, such as a new theme (the current one is a placeholder), new, more regularly updated content, and more exciting gadgets and gizmos.
    Edit: I’ve finished putting together the new theme for the site. Let me know what you think!

  • Cross-browser div focus and blur

    Internet Explorer has for some time supported giving ‘focus’ to non-focussable elements such as divs. Firefox, by contrast, does not. Whilst this makes sense semantically, it’s often still very useful to use these triggers. For example, you can use onfocus to show a popup when a div is clicked, and close the popup when anything else is clicked on the page (in the onblur event).

    There are many, many workarounds which provide this functionality, using such tricks as hidden input elements, global onclick handlers, and so on, but the simplest is simply this: give your div a tabIndex attribute. For example,

    [sourcecode language=”html”]

    Click to show another div.

    [/sourcecode]
    works perfectly in Firefox, Internet Explorer, and Chrome as shown in the example below:

    Click to show another div.

    You can also achieve a similar effect purely with CSS:

    [sourcecode language=”html”]

    Focus me!
    Hooray!

    [/sourcecode]

    Focus me!
    Hooray!

    Because the second example shows or hides a child element, the parent element will remain focussed if the user interacts with the child element, or its children. This allows you to embed links, forms, videos, and so on in the child element.

    The value of tabIndex can have significance, too:

    • -1: The user can’t tab to the element, but it can be given focus programmatically (element.focus()) or by being clicked on.
    • 0: The user can tab to the element, and its order in the tabbing is automatically determined.
    • >0: Give the element a priority, with ‘1’ being the highest priority.

    I originally discovered this technique on this CodingForums.com thread.

  • Music for film and games

    Music is one of the most powerful ways to move people’s emotions. Whilst characters and action tell the story, it’s music that largely determines how people should react to the story. Action scenes accompanied by sharp, aggressive music seem faster; moments of tension are heightened by ominous and foreboding music; and happy reunions bring a tear to the eye when accompanied by majestic, sweeping tunes.

    It’s important to make sure that your movie or game has the music that you want it to have, to convey the meaning that you want to. That’s why at Barryvan, writing music is more than just putting together notes. It’s about detailed analysis of your needs and desires for the music; it’s about constant feedback; ultimately, it’s about getting it right.

    We offer music in a variety of styles, to suit all genres of movie and game. Traditional orchestral pieces, floor-thumping dance anthems, catchy rock tunes: we offer them all.

    Licensing & Pricing

    We offer a number of different licenses for our music. Music may be licensed exclusively to you, in which case it won’t be released elsewhere, won’t be used anywhere else, and is guaranteed unique to your project. Alternatively, for a lower price, you may choose to use music which is already, or will become, available to others for use. For non-profit ventures, we can offer music for free on a non-exclusive, all rights reserved basis. In other words, you can use the music, but we retain the copyright. To find out what license is best for you, simply contact us, and we’ll work it out. Our prices are very competitive, and you can arrange to buy tracks on a track-per-track basis, on a time basis, or on a project basis.

  • Rebellion

    Composed: Monday, October 27, 2008 (Download)

    A glitchier, more off-the-beat track based around a C# pedal point. This one was fun to write, because I got to play with the various sound effect and drum kit libraries I have, and slice up some effect loops from my libraries, too.

    [audio:http://www.barryvan.com.au/music/Rebellion.mp3]
  • The call

    Composed: Tuesday, October 14, 2008 (Download)

    This track tells the story of a conversation between two people, with very different characters.

    It also tells the story of how my musical output soars when I have lots of other work to do for university. :/

    [audio:http://test.pbc.wa.edu.au/music/The%20call.mp3]
  • It’s quiet at home

    Composed: Friday, April 18, 2008 (Download)

    I came home one afternoon really stressed out: it hadn’t been the best day, let alone the best week. The house was empty; I dumped my things and sprawled on the couch. As I sat, I realised just how soothing a few moments of quiet can be. With the opportunity to simply relax, I felt all the stress begin to fall away. This song is how I felt when it was quiet at home.

    [audio:http://test.pbc.wa.edu.au/music/It%27s%20quiet%20at%20home.mp3]
  • Ink and parchment

    Composed: Tuesday, November 25, 2008 (Download)

    I have wrapped my heart in ink and parchment,
    and cast it into your sea.

    [audio:Ink%20and%20parchment.mp3]
  • Nightfall

    Composed: Monday, August 18, 2008 (Download)

    A companion piece to “Drifting”. Also in 7/8, with many of the same stylistic elements. It’s much more brooding, however, and simpler in its execution.

    [audio:http://test.pbc.wa.edu.au/music/Nightfall.mp3]
  • Perdition

    Composed: Wednesday, July 16, 2008 (Download)

    Him the Almighty Power/Hurl’d headlong . . . /To bottomless perdition, there to dwell — John Milton

    (Although it wasn’t inspired by that quotation, it fits well with the track, in my opinion.)

    This is an orchestral piece in loose ternary form (you could argue for a loose rondo form, too). There are lots of time signatures all mixed together, and often layered on top of each other. It’s scored for a Romantic-sized string section, flute, clarinet, oboe, bassoon, french horn, trumpet, timpani, tam tam, cymbals, snare, bass drum, and harp.

    [audio:http://test.pbc.wa.edu.au/music/Perdition.mp3]
  • Hold me close

    Composed: Tuesday, May 13, 2008 (Download)

    A very simple waltz which crescendoes throughout.

    [audio:http://test.pbc.wa.edu.au/music/Hold%20me%20close.mp3]
  • Drifting

    Composed: Sunday, May 11, 2008 (Download)

    Dawn. Another day at sea. He’s lost count how many days it’s been. Fifteen? Sixteen? Not much water left now.

    He lies on his back in the lifeboat, listening to the rhythm of the boat: the splash of the waves, the idle flapping of the hastily rigged sail, the ropes on the mast.

    The sun climbs higher.

    His vacant eyes stare up at the harsh blue sky, the angry white of the sun burning his pupils unnoticed. An albatross hangs in the air in the distance, turns towards him, circles his boat.

    The hours pass, and the albatross is gone. Just him, the sun, and the rhythm of the boat.

    [audio:http://test.pbc.wa.edu.au/music/Drifting.mp3]
  • Alone

    Saturday, July 5, 2008 (Download)

    A simple piano track with a few pop elements, too.
    [audio:http://test.pbc.wa.edu.au/music/Alone.mp3]