a simple loop-based sample player that supports keyboard triggering