Midiplayer, using a DUART and a LCD

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
User avatar
siggi
Posts: 910
Joined: Thu May 08, 2008 9:30 am
Location: Dauernheim, Germany
Contact:

Midiplayer, using a DUART and a LCD

Post 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
My ZX81 web-server: online since 2007
http://zx81-siggi.endoftheinternet.org/index.html

Moggy
Posts: 1988
Joined: Wed Jun 18, 2008 2:00 pm

Re: Midiplayer, using a DUART and a LCD

Post by Moggy »

Excellent work Siggi, nice to see the MIDI flag still flying. :D

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. :lol:

Noch einmal, great work Siggi.
Attachments
midi.zip
(163.01 KiB) Downloaded 17 times

User avatar
siggi
Posts: 910
Joined: Thu May 08, 2008 9:30 am
Location: Dauernheim, Germany
Contact:

Re: Midiplayer, using a DUART and a LCD

Post by siggi »

Moggy wrote:
Sun Mar 22, 2020 11:08 pm
Excellent work Siggi, nice to see the MIDI flag still flying. :D
:D
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
My ZX81 web-server: online since 2007
http://zx81-siggi.endoftheinternet.org/index.html

User avatar
siggi
Posts: 910
Joined: Thu May 08, 2008 9:30 am
Location: Dauernheim, Germany
Contact:

Re: Midiplayer, using a DUART and a LCD

Post 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 ...
My ZX81 web-server: online since 2007
http://zx81-siggi.endoftheinternet.org/index.html

Moggy
Posts: 1988
Joined: Wed Jun 18, 2008 2:00 pm

Re: Midiplayer, using a DUART and a LCD

Post 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..
Attachments
suspiciousminds.mid.zip
(23.96 KiB) Downloaded 12 times

User avatar
siggi
Posts: 910
Joined: Thu May 08, 2008 9:30 am
Location: Dauernheim, Germany
Contact:

Re: Midiplayer, using a DUART and a LCD

Post by siggi »

Hi Moggy
I have downloaded a .KAR file (
Die Toten Hosen - Zehn Kleine Jagermeister.kar.txt
(73.24 KiB) Downloaded 21 times
, which seems to have MIDI format 0 and the midiplayer can play it and shows the text :mrgreen:

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
Helge Schneider - Katzenklo.kar.txt
(23.59 KiB) Downloaded 22 times
(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 ...
My ZX81 web-server: online since 2007
http://zx81-siggi.endoftheinternet.org/index.html

Moggy
Posts: 1988
Joined: Wed Jun 18, 2008 2:00 pm

Re: Midiplayer, using a DUART and a LCD

Post 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.
Attachments
MIDI.zip
(28.59 KiB) Downloaded 13 times

User avatar
XavSnap
Posts: 891
Joined: Sat May 10, 2008 4:23 pm

Re: Midiplayer, using a DUART and a LCD

Post by XavSnap »

Xavier

User avatar
siggi
Posts: 910
Joined: Thu May 08, 2008 9:30 am
Location: Dauernheim, Germany
Contact:

Re: Midiplayer, using a DUART and a LCD

Post by siggi »

XavSnap wrote:
Wed Mar 25, 2020 6:25 pm
:oops:
Will be better with ...
https://www.youtube.com/watch?v=aPxpnJl ... dio=1#t=65
Voilà: https://youtu.be/-Wh_89-mxX8 :mrgreen:

@Moggy: Thanks for the link. Works perfectly :mrgreen:

Siggi
My ZX81 web-server: online since 2007
http://zx81-siggi.endoftheinternet.org/index.html

User avatar
XavSnap
Posts: 891
Joined: Sat May 10, 2008 4:23 pm

Re: Midiplayer, using a DUART and a LCD

Post by XavSnap »

Just perfect…

Well done Siggi.
Xavier

Post Reply