Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

dos-midi-player-for-speaker

DOS MIDI player for speaker (type 0)

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

dos-midi-player-for-speaker

DOS MIDI player for speaker (type 0)

There's a video on its workings: https://www.youtube.com/watch?v=GJ3FRaC9-H0

I made this many years ago (now 20, and god, it keeps counting...) to be able to play classical MIDI piano files on my very basic laptop which only had a speaker for sound output. It's funny to see the source code having mixed language variable names.

Here is a translation for the output while the song is being played:

TRANSLATION:

Hungarian meaning
A file neve filename
Sávok száma number of tracks
Időegység time unit - the number shows a fraction of a quart, i dont know exactly now, what it is.
Esemény Event
Eltelendő időegység Time units to be gone
Eltelt idő Time elapsed (in sec)
Ütemelőjegyzés Metrum
A metronóm beosztása MIDI-órában metronome unit in MIDI-hours (no idea now, what it is)
A zenei negyedet X harminckettedre lehet osztani a quart can be split to X 1/32 note
Előjegyzés major or minor
dúr major
moll minor
Tempóváltoztatás tempo change
negyed quart
Ismeretlen típusú metaüzenet unknown meta code
száma: number
Note on currently played note
billentyű key (on keyboard)
ütéserősség keypress intensity