Setup to implement an amplitude panning kernel
Implement the amplitude panning kernel