AUD - Audio Formatting Lesson
Audio Formatting Lesson
Audio Formats for HTML 5
There are several audio formats that are available but not all browsers will support the numerous formats. Audio formatting programs can be used to convert the audio file to an acceptable format, however, when coding in HTML 5, it is a good practice to use one of the formats referenced below.
The MP3 format is currently supported by the major browser companies. Because the formatting option is categorized as proprietary, the web browser companies must pay a fee to decode the audio. Because of that fact, it may be more beneficial to use a royalty free formatting option since many browsers can support it. Standards sometimes change so it is important to stay abreast of updates. As a rising web designer, consider visiting the Web Hypertext Application Technology Working Group's website.
Creating Audio for the Web
When adding audio details to a HTML 5 document, the <audio> tag is used to define the sound. The <source> tag is used to identify the audio files for the browser to use. The src attribute should be used to reference the audio file you would like played. The location must be a valid URL which will help the web browser identify where to look for the audio file.
Audio Programs
There are a multitude of audio programs that can be used to create audio files. Some programs are free and some can be purchased.
Click here for a tutorial on HTML audio. Links to an external site.
IMAGES CREATED BY GAVS