Fix for deprecated noteOff