Updated colour sample with beat detection example