Theta functions are members of a broad family of exponential type sums which play a key role in relating number theory to geometry. A theta function can be integrated against a function whose zero locus corresponds to a particular musical scale, in order to covert the arithmetic musical spectrum to a geometric musical spectrum. The geometric spectral counterpart contains crucial information regarding the distribution of prime notes, but is still poorly understood.
Theta
Scales