Friday 25 September 2009

nitrotracker on the ds-lite

A while back, I was spending a lot of time on trains. And I thought, "Wouldn't it be cool if I could make music on the train?". So I ended up investigating Nitrotracker for the Nintendo DS-Lite ...

Read on ...Setting Up

(This is covered on the Nitrotracker site, but I'll add my own notes because it can be a bit confusing)

Nitrotracker is homebrew, which means you need a third-party storage cartridge, such as the M3 DS Simply. Such cartridges usually accept a MicroSD card, so basically, you download Nitrotracker from the net, copy it onto the MicroSD card, then slot the card into your M3 DS Simply (or whatever) cartridge. Well, except that its not quite that simple. You have to patch your copy of the .nds file:

Patching

The 'executable' file that you download from Nitrotracker is an .nds file. These files can be run by storage cartridges such as the M3 DS Simply. However, each type of storage cartridge handles file saving slightly differently, which means the executable .nds file needs to be modified depending on what sort of storage cartridge you are running it on.

The 'patching' process essentially overwrites part of the .nds file with the correct instructions for file saving for your particular cartridge. This Patching process has been figured out and made as smooth as possible by some of the DS homebrew developers. They call it DLDI.

How you patch your copy of Nitrotracker will depend on what sort of storage cartridge you have (the ones that work are listed here). But here's what I did for my M3 DS Simply:

- Downloaded DLDITool - this is one of the utilities that helps perform the 'patch'. There are others listed here.
- Downloaded the DLDI patch for the M3 DS Simply. Patches for other storage cartridges are listed here.
- Ran the DLDITool utility to perform that patching. For me, that was a DOS command along the lines of "dlditool r4tf.dldi nitrotracker.nds"
- Copied the patched version of nitrotracker.nds onto my MicroSD card

If you dont patch your nitrotracker.nds file, you will probably find that you can't save files. Although apparently some recent versions of the storage cartridges have DLDI patching built in, and will do it automatically for you.

Using Nitrotracker



How to use Nitrotracker is covered extensively elsewhere, such as the documentation and the forum. So I'm just going to give my personal impressions of it. Your mileage may vary. By the way I was using version 0.3 but 0.4 is out now.

Its ingeniously designed, and its a lot of fun to play with. Its a Tracker so you need to be happy working in a tracker sortof setup. There's a surprising amount of things you can do the the samples (edit them within the program, and envelopes were added for v0.4 I believe). You can also record directly from the DS's microphone, which is fun.

It turns out that the DS-lite only has 4Meg of RAM, a surprisingly small amount, and so the number of samples you can load and use (as well as the length of your track) is limited by this. There's still plenty you can do, but it does mean you can't have many long samples.

I spent a happy few hours making my first few tracks. But then I didn't ever go back to it much. I think this was mostly because I don't much like the 'tracker' way of doing things, I prefer a piano-roll interface to a vertically scrolling list of notes. Trackers like this are generally great for beat-oriented music, but if you're trying to do more harmonies and chords, the lack of piano roll is a bit limiting. Or it is for the way I work, anyway.

I think Tobias Weyand has done a brilliant job with this program, but its just not the right sort of interface for me. It did make me realise how powerful touchscreen interfaces can be ... perhaps its time to look at iPhone music apps ...

And in the end, I never did get round to using it on the train; the train shakes around too much, making it hard to use the touchscreen.

Here's one of the tracks I did manage to make:
nitrotracker clip clop

Here's a much better track by someone else: Mysrysare by nitro2k01.
See also the featured tracks on the Nitrotracker site.

This short video (by someone else) shows Nitrotracker in action:



... and this video (also by someone else) shows what can be achieved if you really persevere : )

Tuesday 19 May 2009

laos treehouse ep - project 168

Project 168 is an occasional internet project based around the concept of making an EP in 7 days. A week is chosen, and then people sign up and see what they can do in 168 hours. Having a solid deadline tends to really focus people, and a lot of good music has been produced in the past.
Project 168 parts 1,2,3 happened in 2005 and 2006, and I missed them. But I did sign up for Part 4 which ran from midnight on the 13th of April to midnight on the 20th April. This was my contribution:


laos treehouse ep

01 - laos treehouse

02 - gili meno

03 - koh tao frogs

download zip (13 Mb)


The field recordings that make up the backgrounds to the tracks were recorded in Laos, Indonesia and Thailand in 2006/07. Everything else was composed and produced in 168 hours in April!

The ep is also available on the Project 168 site where you can stream or download the tracks and leave comments.

90 other people also submitted EPs, making a total of about 390 tracks running for over 25 hours. I'm about halfway through listening to all of them, and I'll post links to my favorites here when I've heard them all.

(edit: links to p168 site disabled for now because it seems to have been attacked with a lot of javascript spam comments)

Monday 3 November 2008

comparing midi tracks in sequencers

Most sequencers these days display midi or note data in 'piano roll' format, with notes up the side and time running horizontally. I spend most of my music-making time fiddling with sets of notes on the piano roll, and I've come to realise that there is a very important feature that a lot of piano roll sequencers don't have.

Read on ...Imagine that you have two tracks of note data, one that is driving a lead synth and one that is driving a bassline synth. If you are editing the notes for the lead synth, it would be very useful to also display and edit the notes for the bassline synth at the same time. To do that, you need a sequencer that can display two or more piano-roll tracks of midi/note data at the same time and let you edit them. Ideally they should be vertically stacked on top of each other, with the same timescale so that you can easily see which notes coincide.

Some sequencers just can't do this at all. Some can do it, but only if you position the windows yourself and get all the scales right. Some can do it very well, with lots of good features.

The other alternative, of course, is to keep flicking between the two tracks, while remembering that you changed an F# to a D and a C to an A#, and then trying to do something musically equivalent in the other track. The more I think about it, the more it seems that 'multiple piano roll editing' (lets call it) is a fundamentally important feature if you compose music inside a sequencer.

So here's a quick survey of some sequencers I have investigated or that people have told me about:

Reason

Reason can't do it. It only displays one piano roll at a time, so you have to flick back and forth.

Ableton Live

Ableton can't do it. It also only displays one piano roll at a time.

Reaper

Reaper is a very competent shareware sequencer. It is noted for its unlimited free fully featured evaluation period. In Reaper you can open multiple piano-roll editors at the same time, and if you position the windows correctly you can get the desired 'stacking' of piano rolls.

Reaper can also ReWire to Reason or Ableton, which makes it very useful.

EnergyXT2

EnergyXT2 is an efficient little sequencer that can be downloaded for 50 euros. In the 'track view' mode of the main sequencer, you can activate a mini piano roll for each midi track. See the picture opposite for a screenshot. You can also bring up a larger piano roll window for one track at a time if you need to. Alas, EnergyXT does not have ReWire support.


Synapse Orion

Orion is another sequencer that I had never heard of until I started looking into this topic. A full version can be downloaded for $150 and it can display multiple piano roll windows at the same time. Like Reaper, you have to position the windows and set the timescale yourself. Orion also supports ReWire.


Cubase

As might be expected for such a long running piece of software, Cubase has good support for 'multiple piano roll editing'. The main sequencer window can show mini piano-roll editors for each midi track if you press the appropriate button (see picture).

Cubase can also let you edit multiple tracks in a single piano roll window, by drawing the notes in different colours and letting you switch between them. That is, the different bits of midi data are all overlaid on the same piano roll using different colours. Cubase calls this Multi-Part Editing and you can read a description of how to do it on this steinbergusers page.


Logic

Logic also goes back a long way, and apparently has good support for this, although I don't have any screen shots. I am told that Logic will allow you to open multiple piano-roll windows. It also has a Multi-Part Edit feature similar to Cubase's, in which multiple tracks are overlaid on the same piano roll in different colours.


Other Alternatives

Another way to get around this problem is stop using piano rolls altogether:

Some sequencers have score editors which show multiple tracks. If you are familiar with musical notation, that can be a very efficient way to edit multiple tracks. Cubase and Logic both have score editors.

Trackers have a completely different approach to sequencing, and people that use them often swear by them. They certainly let you view and edit multiple tracks at once, but you have to work with the raw note data (C5, D#6 etc) rather than with a visual diagram.

Saturday 27 September 2008

black holes

After the tributes to Deep Sea Creatures and Beards, the latest themed compilation to emerge from the watmm-ekt forums is Futonic's IDM Tribute to Black Holes:


Black Holes by Various Artists

Ten tracks on a free download from Futonic Records, featuring Alban Arthuan, Dead Eros, Tenfingers, Chris Moss Acid, Cubus, Asymmetrical Head, Choleric Productions, Lucid Rhythms, AD and Beneboi.

Its a great compilation, ranging from bleepy electronica, through layered guitar soundscapes and acid workouts to dubby space funk.
My submission didn't get picked for the compilation, but I'm still pretty happy with it. Here it is:

magnetospheric eternally collapsing object   3:13






download mp3   6054 kB


The existence of black holes in our universe is taken for granted these days, but it turns out that they might not actually exist after all - some boffins looked at the equations again and came to the conclusion that the trapped radiation pressure of the collapsing object would prevent it from forming a singularity. Instead the Magnetospheric Eternally Collapsing Object slowly, asymptotically collapses towards the black hole state, but never reaches it because it burns all its matter in the process. Also, it seems that viewed externally, such objects would appear to burn and collapse forever, because of spacetime shenanigans or something.

So this track tries to conjure up a huge, bright, fiery, spinning, eternally collapsing ball of supercompressed matter, pleasantly set against a surrounding starscape.

symbiosis sound environments vol 1

Net Labels are cool, but its still hard to beat a good old fashioned CD. One of my friends has recently put out a joint CD release with a couple of other musicians, so here's a plug for it:

Symbiosis Sound Environments Vol 1

Tracklisting:

01 - The New World - Dr Z
02 - Prosumer - Mulefa
03 - Zamami - Somacoma
04 - Entropy - A Million Little Lies
05 - Hug Your Joy - Somacoma (bonus track)

The Dr Z track is worth the price alone - its an impeccably-produced chilled out rhodes and flute workout over a backing of smooth bass and dreamy delay synths. The Mulefa and Somacoma tracks are old-school analog-based electronica, and the track by A Million Little Lies is a multi-layered downbeat affair with wailing guitars drifting past in the background.

You can hear samples over at the myspace page. There is a 12 inch available from ifmusic and the CD (with cool artwork on 100% recycled packaging) can be found in independent music stores in London and probably other places too. Also, MP3 downloads are available from TuneTribe.

Wednesday 24 September 2008

losing it with replay gain

I had a baffling few hours the other day, when an mp3 version of one of my tracks turned out to be quieter than I had thought it was. I ran the original WAV through a maximizer to add on a few db, then converted to mp3 again, tagged it, and it still sounded too quiet ...

Eventually I realised it was nothing to do with the source WAV, and that Replay Gain was the culprit. Replay Gain is an admirable attempt to tackle the problem of the different perceived loudness in mp3s from different sources. It is basically an algorithm to estimate the perceived loudness of a track, and then store an offset against a reference level in the track meta-data. Its a big improvement on the awful peak normalisation that some mp3 players were attempting a few years ago, but its still not perfect.

The problem I had was that I was using MediaMonkey to sort out my mp3 tags and add album art. However, unbeknownst to me, MediaMonkey was calculating the Replay Gain of my tracks and writing it to the meta-data each time I edited the tags. Then when I played them back using Foobar2000, suddenly almost 10db was being taken off because Foobar was reading the Replay Gain tags.

When you make your own music, you go to considerable trouble to master the tracks to get the perceived loudness to the level that you want. You dont really want some little algorithm suddenly sneaking in and resetting the levels. Admittedly, Replay Gain only adds meta-data and doesn't actually touch the music, but when its all done without your consent and then your mp3 player honours the Replay Gain tags without you realising, its equivalent to someone sneaking into your studio and messing around with the master volume knob while you're looking the other way.

Perhaps I was particularly unlucky in this case because my noisy track was getting given a Replay Gain of -9.5 db, a massive difference.

MediaMonkey is a pretty useful tool, even in its Free version, but I couldn't find any options in it to turn off the Replay Gain interference. Basically, any mp3 tag editing resulted in Replay Gain being slapped on the track.

Luckily, Foobar2000 came to the rescue. When you right-click on a track in Foobar, there is a Replay Gain option in the menu. This gives you further options to display, edit or remove the Replay Gain settings.

Using this I was able to clean out the unwanted Replay Gain meta-data that had sneaked in. I also experimented with setting the Replay Gain to 0.0 or -0.l db to see if that stopped MediaMonkey from interfering, but it didn't. However I cleared or set the Replay Gain, MediaMonkey would re-set it to its own calculated value on every tag edit.

Thursday 15 May 2008

fathoming musical patterns

In Douglas Adams' 1987 book "Dirk Gently's Holistic Detective Agency", one of the characters is researching how natural patterns of numbers can be turned into music, and writes this article for "Fathom", a fictitous magazine:

    Mathematical analysis and computer modelling are revealing to us that the shapes and processes we encounter in nature - the way that plants grow, the way that mountains erode or rivers flow, the way that snowflakes or islands achieve their shapes, the way that light plays on a surface, the way the milk folds and spins into your coffee as you stir it, the way that laughter sweeps through a crowd of people - all these things in their seemingly magical complexity can be described by the interaction of mathematical processes that are, if anything, even more magical in their simplicity.
    Shapes that we think of as random are in fact the products of complex shifting webs of numbers obeying simple rules. The very word "natural" that we have often taken to mean "unstructured" in fact describes shapes and processes that appear so unfathomably complex that we cannot consciously perceive the simple natural laws at work.
    They can all be described by numbers.
    We know, however, that the mind is capable of understanding these matters in all their complexity and in all their simplicity. A ball flying through the air is responding to the force and direction with which it was thrown, the action of gravity, the friction of the air which it must expend its energy on overcoming, the turbulence of the air around its surface, and the rate and direction of the ball's spin.
    And yet, someone who might have difficulty consciously trying to work out what 3 x 4 x 5 comes to would have no trouble in doing differential calculus and a whole host of related calculations so astoundingly fast that they can actually catch a flying ball.

Read on ...
    People who call this "instinct" are merely giving the phenomenon a name, not explaining anything.
    I think that the closest that human beings come to expressing our understanding of these natural complexities is in music. It is the most abstract of the arts - it has no meaning or purpose other than to be itself.
    Every single aspect of a piece of music can be represented by numbers. From the organisation of movements in a whole symphony, down through the patterns of pitch and rhythm that make up the melodies and harmonies, the dynamics that shape the performance, all the way down to the timbres of the notes themselves, their harmonics, the way they change over time, in short, all the elements of a noise that distinguish between the sound of one person piping on a piccolo and another one thumping a drum - all of these things can be expressed by patterns and heirarchies of numbers.
    And in my experience the more internal relationships there are between the patterns of numbers at different levels of the heirarchy, however complex and subtle those relationships may be, the more satisfying and, well, whole, the music will seem to be.
    In fact the more subtle and complex those relationships, and the further they are beyond the grasp of the conscious mind, the more the instinctive part of your mind - by which I mean the part of your mind that can do differential calculus so astoundingly fast that it will put your hand in the right place to catch a flying ball - the more that part of your brain revels in it.
    Music of any complexity (and even "Three Blind Mice" is complex in its way by the time someone has actually performed it on an instrument with its own individual timbre and articulation) passes beyond your conscious mind into the arms of your own private mathematical genius who dwells in your unconscious responding to all the inner complexities and relationships and proportions that we think we know nothing about.
    Some people object to such a view of music, saying that if you reduce music to mathematics, where does the emotion come into it? I would say that it's never been out of it.
    The things by which our emotions can be moved - the shape of a flower or a Grecian urn, the way a baby grows, the way the wind brushes across your face, the way clouds move, their shapes, the way light dances on the water, or daffodils flutter in the breeze, the way in which the person you love moves their head, the way their hair follows that movement, the curve described by the dying fall of the last chord of a piece of music - all these things can be described by the complex flow of numbers.
    That's not a reduction of it, that's the beauty of it.
    Ask Newton.
    Ask Einstein.
    Ask the poet (Keats) who said that what the imagination seizes as beauty must be truth.
    He might also have said that what the hand seizes as a ball must be truth, but he didn't, because he was a poet and preferred loafing about under trees with a bottle of laudanum and a notebook to playing cricket, but it would have been equally true.
    Because that is at the heart of the relationship between on the one hand our "instinctive" understanding of shape, form, movement, light and on the other hand our emotional responses to them.