Hi Dennis, So much for it being late here. I just had to look over your code before I go to bed. Excellent stuff, just what was needed : ) Can I ask are you writing a python music app? Just curious, as there doesn't seem to be many around. Malcolm