Piano event? (Current notes played = hidden door opens)

If anyone has played Final Fantasy 7, you know when you play on Tifas piano correctly to unlock her final limit -
is there a way to program an event similar to it?

I'm adding an easter egg with a piano via the victory song where if played correctly, a hidden door will appear.
checking a sequence of notes/key presses is the same as checking a sequence of events touched or items collected or any other puzzle mechanik - it's eventing with variables to check the correct step, so very possible.

the bigger problem is to check for the key presses themselves, because the default input is for gamepad buttons (only assigned to limited keyboard keys).
so you'll either have to map your notes to the available default keys, or install a plugin for full keyboard checks.
But also doable.
Found a script plugin and set it up as a combination with three different "keynote" events making up said combination and boom. hidden door opens. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/piano-event-current-notes-played-hidden-door-opens.129450/