Spectral analysis for categorical time series: Scaling and the spectral envelope | Synapse