making noteplayer configurable.