Using to divide pulses

Thanks guys, I am not at the coding stage yet, I am a complete newb so at the moment I am just in awe that arduino could potentially allow some very cool things once I can get my head around it.

I have just bought the Make book "Getting started with Arduino" and a freeduino board, I have never had any experience with programming (well except for 1 very basic thing I did on a Psion3 many years ago)

I must admit I am finding it a little difficult to understand how things fit together, so far I understand the basic structure like setup and loop and the real basics like defining pins and the like.

The project is to take a pulse from an old drum machine and divide it to allow it to sync another machine, I think the drum machine spits out a 5v 2ms pulse 96 times per bar and I would like to convert it to 24 or 16 pulses initially.

But in the meantime thanks for those pointers, as soon as I have some (probably wonky) code I will post it.

Cheers

Adorkisme