Extra logic added to the original circuit now gives half a cosine on each trigger pulse, with alternating polarities, generating a square wave with smoothed edges
Figure 1. Extra logic added to the original circuit now gives half a cosine on each trigger pulse, with alternating polarities, generating a square wave with smoothed edges