A metronome for the time signature pi over 4.
Actually produces two pulse trains, one of which fits 3.14159 beats into the the length of the other, and then resets.
It starts with a feedback integrator, which produces a rising signal. The purple wire carries a 0.01v signal up to the top corner which calculates a very small voltage 0.000045v. This is added repeatedly to itself in the integrator, which feedsback using the yellow wire.
The rising signal is reduced modulo pi (a constant fed through the pink wire, to form the bar sawtooth clock.
A further modulo reduction by 1 gives us the beat sawtooth clock.
Each clock is offset by a small negative voltage, and then a conditional operator produces a pulse while the clock is negative.
The Bar clock outputs through the green wire, and the beat clock through the red wire.
An improved version can be found at