Use this:
Piano Glide is a Mac app for learning and practicing piano with MIDI. Import your own MIDI files or start with the built-in library, then practice with falling notes, sheet music, playback controls, and left/right-hand modes. Connect a MIDI keyboard and calibrate its range, or play with your computer keyboard. You can also record and save your own MIDI compositions.