Add a SignalEmitter( a marker ) to timeline via script ?

Hello,
Im making an editor window where i can press a key and it will add a signal emitter (dupplicate from one i’ll have to specify beforehand ) to timeline at the current time. This way i can add signal emitter while timeline is playing, at the time i want, without pause and click a signal emitter then click Ctrl+D.
This will be handy for repetitive signals.
So how to add a SignalEmitter( a marker ) to timeline via script ?
Thanks in advance!

Appologies for the cross posting but I was wondering this too Dynamically populating PlayableDirector - Unity Engine - Unity Discussions