Generate a 2-pop video synch beep sound

Hi there, there is a tradition in Video to place a 1Khz sine wave exactly 2 seconds before the start of the video.
This sine 1Khz sine wave needs to have the length of exactly a frame.
This leads to several questions.
How can I set Quantisation to a defined multitude of video “frames”.
How ca I write a Macro that helps me inserting 2 different kinds of markers. One type in musical mode, on in timecode mode.
I know there is a possibility to set markers on different Ruler Tracks…but… there is no macro for “Switch to 1st musical Ruler track” and “Switch to 1st timecode Ruler track”.

Regards oldmcailli