def time_signature_event(self, meter=(4, 4)):
        """Return a time signature event for meter."""
        numer = a2b_hex('%02x' % meter[0])
        denom = a2b_hex('%02x' % int(log(meter[1], 2)))
        return self.delta_time + META_EVENT + TIME_SIGNATURE + '\x04' + numer\
             + denom + '\x18\x08'
Return a time signature event for meter.