As far as I know, the AY chip creates sound based on a base frequency. On the CPC, that frequency is 1mhz, on the Spectrum is 1.77Mhz and 2mhz on th ST, so the same value on the AY register will create a higher pitched sound on a Spectrum and on a ST.