The Spectral Rotation Concept
Spectral rotation is an experiment rather than a finished effect. Take a short-time Fourier transform (STFT) of a sound, shift every frame's spectrum up by n bins so that anything pushed past the Nyquist frequency wraps around to the bottom, resynthesise, run the result through an ordinary effect, and then do the same shift in reverse to put the spectrum back where it was.
Shifting by n bins moves every partial by the same number of hertz, n times the bin spacing. With a 2048-point FFT at 48 kHz the bin spacing is about 23.4 Hz, so a shift of 40 bins moves everything up by about 940 Hz. This is frequency shifting, not pitch shifting: the ratios between harmonics are broken, and whatever wraps around comes back as inharmonic low partials. For a real signal you rotate only the bins from 0 to N/2 and rebuild the mirrored negative-frequency half, otherwise the inverse FFT doesn't give a real signal.
The rotated sound on its own
Heard by itself, the rotated sound is mostly unpleasant. A voice turns metallic, a violin loses the sound of wood and string, and a piano becomes a set of awkward overtones. It's interesting for a few seconds. I don't think it's the point, though; it's just the place where the processing happens.
Process, then rotate back
Between the two rotations you can put any effect: distortion, compression, filtering, saturation. When you rotate back, the original sound mostly returns, but the processing doesn't undo itself. What it leaves depends on the kind of effect:
- Filters and EQ are linear, so after rotating back you get the same filter with its response moved, and possibly wrapped, along the frequency axis. Useful, but predictable.
- Distortion and saturation add harmonics and intermodulation products of the rotated partials. Rotating back shifts these by the same amount as everything else, so they no longer sit on the harmonics of the original.
- Compression reacts to the envelope of the rotated signal, which isn't the envelope of the original, so the gain changes land in unexpected places.
The nonlinear effects are the interesting ones, because they act on relationships between partials that don't exist in the original sound. A practical problem is phase: shifting by n bins in each frame independently doesn't line up from one frame to the next unless you also advance the phase by 2πnH/N per hop, where H is the hop size. Without that correction you get roughness at the frame rate on top of whatever the effect does.
I like ideas like this partly because they're hard to justify. There's no historical reason to do it, no correct application, it's computationally wasteful, and most of the time the result sounds bad. Occasionally, though, it produces something that doesn't quite sound like filtering, distortion or compression any more, because the effect was applied to a rearranged version of the sound.
The figure below shows a stronger form of the idea: rotating the whole time-frequency plane by 90°, which is what the Fourier transform does. Under that rotation a click, which is one instant at all frequencies, becomes a steady tone, which is one frequency at all times. The fractional Fourier transform generalises this to any angle. The bin shift described above is much milder: it only slides the spectrum along the frequency axis.
There's an experimental browser version of the effect here: