Question [Q][Request]Flash Alert !

Hello! I'm looking for two days for an application that use led flash , to blink when i receive a call or sms , BUT i want to blink after music , something like that ! ) Not on every 50,150,500,1000ms like apps from Play Store !

An app like that can be made or it is already ? I'm guessing is not hard at all!