Text this: Spectroscopic and photometric periods of six ultracompact accreting binaries.