Rather than trying to port a game (idk what copyright issues you're gonna run into and what ToS you're breaking but seems problematic unless you like do a patch or something but then its required the gamer has the legally obtained ROM) you should just make something from scratch.
Also you could try and look at a mobile game called "tunes piano" where you can download an MIDI file and it turns it into a beat game it sparked my interest and I've been wanting to make a game like that but haven't had the time to look into it and whatever algorithm they used
Anyway best of luck to you, I currently don't have the time to work on such a project maybe someone else will take interest...