User:CompactStar/Super-pitch
Super-pitch is a quantity that is equal to the super-logarithm (inverse tetration) of frequency, just as pitch is the logarithm of frequency.
Tetration and super-logarithm
Tetration (most commonly represented with ↑↑) is an operator that is iterated exponentiation, like how exponentiation is iterated multiplication. Tetration can be defined recursively as:
a↑↑0 = 1
a↑↑x = aa↑↑(x-1) if x > 0
For example, a↑↑1 = a, a↑↑2 = aa, a↑↑3 = aaa, a↑↑4 = aaaa, and son.
The super-logarithm is an inverse function of tetration, defined as:
slogb(1) = 0
slogb(x) = slogb(logb(x)) + 1 if x > 1
So slogb(b) = 1, slogb(bb) = 2, slogb(bbb) = 3, slogb(bbbb) = 4, and so on. Tetration is only defined for integer inputs, while super-logarithm is only defined for integer outputs. However, there are various extensions of tetration, the most common of which is the linear approximation:
a↑↑0 = x + 1 if -1 ≤ x ≤ 0
a↑↑x = aa↑↑(x-1) if x > 0
For example, a↑↑0.5 = √a, a↑↑1.5 = a√a, and a↑↑2.5 = aa√a. The corresponding extension of the super-logarithm is:
slogb(x) = x - 1 if 0 ≤ x ≤ 1
slogb(x) = slogb(logb(x)) + 1 if 0 ≤ x ≤ 1