Archive for September, 2007

BarCampBrighton: Geocaching

September 8th, 2007

This morning I gave another talk on Geocaching. The talk was simaler to my talk at BarCampSheffield so please feel free to check that blog entry for those interesting links. If you are around London on Monday evening and interested is getting in to Geocaching then you may be interested in the It’s Pay Back Time Folks event.

Soundcard clock accuracy

September 5th, 2007

Normally to link a radio station to a transmitter you would require a leased line or microwave link between the sites, but NE1fm could not afford this so we have used the Internet instead. It is my intention to blog our full experiences with this later on.

One problem we were having recently were short drop-outs every 90 minutes (approximately). This started after we had upgraded the streaming computer and installed a higher quality sound card.

The cause, and it took a while to figure this out, was that the clock speed on the new sound card was ever so slightly slow. This resulted in the remote sound card playing the audio faster than it was being recorded, and just running out of audio to play.

To confirm this theory I coded up a small application that uses the Windows multimedia API test the clock speed of the sound card. It compares this with the system clock to work out the error.

If you want to test your sound card then download, extract and run the Sound Speed application (165KB) and leave it running for a long time. Remember that we are talking very small errors here so you will need to leave the application running for a few hours at least, and keep your system clock accurately synchronised at the start and end of the test. I would be interested in the results of your sound card if you don’t mind sending them to me.

Finally, the solution we hope to adopt is to get two top quality sound cards with a very high quality clock on board when more funds are available. In the interim we are using a small bit of code to slow down the playback by 0.016%, and that appears to be working without any notable degradation in audio quality.

Bad news, I'm back

September 5th, 2007

If you know me then you may have realised I am a bit of a workaholic and have been known to overdo it at times. Unfortunately this time I really did overdo it and made myself a little unwell. After a week off work my body is slowly returning to normal I am getting myself back together again.

For me it has been an enlightening experience and one that I may well blog about in the future, but it is not an experience I want to repeat soon so will be taking it easy for a short while. As a result I will be taking life a little more easy for a while and may not be able to be as accommodating as normal. My apologies and I hope you understand.