Made note-on/note-off handled via note id

Now we can play multiple notes at the same pitch and it works fine.