# Tuning

Given a periodic external angle pair (.a¯,.b¯)(.\overline{a}, .\overline{b}), tuning of an external angle .c.c proceeds by replacing every 00 in cc by aa and every 11 by bb. Here aa, bb, cc are blocks of binary digits (with cc possibly aperiodic and infinite in extent).

# 1 Haskell Code

type ExternalAngle = ([Bool], [Bool])

tuning
  :: (ExternalAngle, ExternalAngle)
  -> ExternalAngle
  -> ExternalAngle
tuning (([], per0), ([], per1)) (pre, per)
  = (concatMap t pre, concatMap t per)
  where
    t False = per0
    t True  = per1

# 2 Examples

The external angle pair of the period 33 island is: (.011¯,.100¯)\left(.\overline{011}, .\overline{100}\right)

The lower angle of the period 22 bulb is .01¯.\overline{01}, tuned by the period 33 island becomes .011100¯.\overline{011100} which is the lower angle of the period 66 bulb attached to the period 33 cardioid at internal angle 12\frac{1}{2}.

The external angle of the tip of the antenna is .1=.01¯=.10¯.1 = .0\overline{1} = .1\overline{0}, tuned by the period 33 island becomes respectively .011100¯.011\overline{100} and .100011¯.100\overline{011}, which are the external angles of the tip of the antenna of the period 33 island.