Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MIDI support for HTML5 audio tag?

Tags:

html

midi

audio

Can we play a MIDI using HTML5 audio tag?

I see a lot of javascript midi player/editors etc. but I haven't found a very basic player (play, stop, pause...) that supports easily a midi player.

Any thoughts?

like image 212
Ulrira Avatar asked Oct 30 '22 21:10

Ulrira


2 Answers

Currently, there are 3 supported file formats for the element: MP3, Wav, and Ogg

More about that here

like image 79
SebastianB Avatar answered Nov 15 '22 05:11

SebastianB


see example of MIDI-player here https://surikov.github.io/webaudiofont/examples/midiplayer.html

Click 'source' to open GitHub project

like image 31
user1024 Avatar answered Nov 15 '22 05:11

user1024