We developed an efficient, tailored optimization method for attopulse generation using a light-field-synthesizer [M. Hassan et al., Nature 530, 66 (2016)]. We adapted genetic optimization of single-cycle and sub-cycle waveforms to attosecond pulse generation and achieved significantly improved convergence to many target attosecond pulse shapes. Importantly, we show that the single-atom approach (based on strong field approximation) gives similar results to the more complex and numerically intensive 3D model of the attopulse generation process and that spectrally tunable attosecond pulses can be produced with a light-field synthesizer.