Developing an e-drum trigger algorithm with positional sensing