Spectrotemporal shaping of attosecond x-ray pulses with a fresh-slice free-electron laser | Synapse