An Algorithm for Harmonic Analysis | Synapse