Enhance example with pressedNotes
Adapted example