Reimplement amplitude panning object to use array properties.

Includes the example, showing the technique.