Text this: Electromagnetic radiation of granite under dynamic compression