Page 1 of 3
Midiplayer, using a DUART and a LCD
Posted: Sun Mar 22, 2020 6:53 pm
by siggi
Midiplayer V1.04, using channel A of a dual UART board for sending MIDI data to a MIDI-Keyboard, and channel B to display the text inside the MIDI file on a LCD display:
https://youtu.be/nQHWS30HsvM
Have fun
Siggi
Re: Midiplayer, using a DUART and a LCD
Posted: Sun Mar 22, 2020 11:08 pm
by Moggy
Excellent work Siggi, nice to see the MIDI flag still flying.
I did notice the drums were a fraction out of time when the track got busy maybe the graphic display throws it off slightly from a timing point of view by asking too much of the zeddy.
I applaud your use of a PSR keyboard as I'm a dedicated Yamaha fan and have attached some MIDI files which sound nice using the PSR sound table.
Tubular bells side 1 and 2 so you can have nearly an hours music without being disturbed and also a Yamaha demo song from another PSR keyboard which again makes good use of the PSR sound table.
Oh and lastly because of my weakness for jazz, a trio in the style of Bill Evans.
Noch einmal, great work Siggi.
Re: Midiplayer, using a DUART and a LCD
Posted: Mon Mar 23, 2020 3:59 pm
by siggi
Moggy wrote: ↑Sun Mar 22, 2020 11:08 pm
Excellent work Siggi, nice to see the MIDI flag still flying.
I did notice the drums were a fraction out of time when the track got busy maybe the graphic display throws it off slightly from a timing point of view by asking too much of the zeddy.
The graphic display of the text to LCD does not consume much additional time (some LD and OUTs only). Reading the text from USB stick is much more time consuming and this must be done in any case, even if TEXT output is disabled (it must be read from file to get the next MIDI event ...)
Noch einmal, great work Siggi.
Danke
Siggi
Re: Midiplayer, using a DUART and a LCD
Posted: Tue Mar 24, 2020 10:08 pm
by siggi
Moggy wrote: ↑Sun Mar 22, 2020 11:08 pm
Tubular bells side 1 and 2 so you can have nearly an hours music without being disturbed and also a Yamaha demo song from another PSR keyboard which again makes good use of the PSR sound table.
Yes, a lot of sound, but no text on LCD display ...
Re: Midiplayer, using a DUART and a LCD
Posted: Tue Mar 24, 2020 10:39 pm
by Moggy
siggi wrote: ↑Tue Mar 24, 2020 10:08 pm
Moggy wrote: ↑Sun Mar 22, 2020 11:08 pm
Tubular bells side 1 and 2 so you can have nearly an hours music without being disturbed and also a Yamaha demo song from another PSR keyboard which again makes good use of the PSR sound table.
Yes, a lot of sound, but no text on LCD display ...
In which case look for MIDI files that use the "KAR" extension, (these are just MIDI files with the lyrics contained within for use with software karaoke players) and rename the extension "MID" and you might have yourself a karaoke player.
Try this one..
Re: Midiplayer, using a DUART and a LCD
Posted: Wed Mar 25, 2020 10:30 am
by siggi
Hi Moggy
I have downloaded a .KAR file (
, which seems to have MIDI format 0 and the midiplayer can play it and shows the text
But other KAR files I found, seem to have format 1 (cannot be played by my player). I am not able to convert it into format 0 using MIDI FORMATTER (error when writing new file). One example is
(I have added the extension .txt, otherwise the forum software would reject the original file).
Do I need other (commercial?) programs to convert this files?
Siggi
PS: I have renamed both files from extension KAR to MID, but none of them is played by the windows media player ...
Re: Midiplayer, using a DUART and a LCD
Posted: Wed Mar 25, 2020 3:41 pm
by Moggy
Hi Siggi.
Not sure why the renaming would not allow media player to play the files I can only assume they were created in some non standard manner. Most MIDI based karaoke files are just MIDI files with text embedded then a change of extension and I have never had a problem after renaming but no matter as there is a very simple solution.
Download this.......
https://www.anvilstudio.com/indexm.htm
Anvil studio will load/play files with the *.KAR extension and in the files tab just export as type 0 MID.
The file will be saved with the text intact.
I converted both files just to confirm the process works and in the second one there are no lyrics.
I find zipping them to be easier than adding different extensions.
Moggy.
Re: Midiplayer, using a DUART and a LCD
Posted: Wed Mar 25, 2020 6:25 pm
by XavSnap
Re: Midiplayer, using a DUART and a LCD
Posted: Wed Mar 25, 2020 7:29 pm
by siggi
Voilà:
https://youtu.be/-Wh_89-mxX8
@Moggy: Thanks for the link. Works perfectly
Siggi
Re: Midiplayer, using a DUART and a LCD
Posted: Wed Mar 25, 2020 10:34 pm
by XavSnap
Just perfect…
Well done Siggi.