Optimal synthesis in the time-domain