pianoterm [1] displays a piano in terminal, which plays MIDI file or accepts MIDI input port, basically, you can see it as a visual output.
I don't have any actual MIDI devices, so I just played a MIDI file [2] which I found online. The terminal width requires faire large since the full keyboard is displayed, I believe.
The graphics is a bit imperfect, you can see a bit leftover white when a white key is pressed/highlighted, it's still acceptable. I think it's drawn plain ASCII, but if with Unicode Block Elements, they might work better.
There is also a PIANOGUI (Qt) version [3].
$$$#
The actual sound was by TiMidity++.
$$$#
PIANOTERM
* Since 2014-10-10
* git-4192c2556fccecdbfe4113d752e78c2687c4a239 (2016-08-05)
* In C++11 with libRtMidi and Termbox
* By Samuel Da Mota
* License unspecified
MUSIC
* When It's Night-Time Down in Burgundy
* Music by Herman Paley
* Lyrics by Alfred Bryan
* Copyright 1914 (has been in public domain)
* Jerome Remick & Co.
MIDI [2]
* Public Domain
[1]: https://github.com/s-d-m/pianoterm
[2]: http://music.lovetoknow.com/music-dow...
[3]: https://github.com/s-d-m/pianogui
Смотрите видео PIANOTERM, piano display with MIDI file or input port онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Archived Yu-Jie Lin 06 Август 2016, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 946 раз и оно понравилось 13 людям.