HTML
Code for embedding sound on your page
=======================================================================================
18 February 2018
Since the writting of this page (1999) some of this code has become obsolete!
The "new" AUDIO tag replaces the BGSOUND tag!
So here's what works now:
[ Short version ]
Hear it in action here: http://www.mermeliz.com/fun/index.htm
-------------------------------------
[ full version ]
FROM HTML.COM: https://html.com/tags/audio/
-------------------------------------
Read more: https://html.com/tags/bgsound/#ixzz56egiMqHQ
-------------------------------------
Comment:
Some browsers today are gagging on the WAV and MIDI format (I think it is a conspiracy) LOL
What plays best is mp3 and ogg (or ogv). https://www.zamzar.com/convert/wav-to-ogg/
Prolly because of the 'hand helds' being used more and more these days!
Just don't get caught with that 'hand held" in your hands while driving!!!
=======================================================================================
The Below Material was written in 1999 when it all worked.
Notably the BGSOUND tag has been eliminated in the new HTML5 environment!
=======================================================================================
One may play either a wav or a midi sound on their page OR both!
The example shown below will start and play only one time through both a midi and a wav
at the same time, (if both codes are added to your page). The midi will also be accessable
through a control panel so that the vistor can turn it off or restart it if they chose.
---------------------------------------------------------------------------------------