implemented harmonic panning
now uses better implementation of amount