Optimize notePlayer code