I have a suggestion that isn't as exotic as MP3, TMCC, smartphone connections, etc.
How about creating a circuit that, when activated by a train entering an insulated rail section, causes two separate leads to be energized alternately, for a duration that would follow the other timing settings you've proposed above? The application I have in mind is causing the lights on an Lionel Postwar 154 Highway Signal to flash alternately.
If you can provide a device which eliminates the use of the wretched 154C contactor, and replaces it with a simple insulated rail trigger, I and a lot of other Postwar guys would beat a path to your door.
Thanks for listening.
Steven J. Serenska