Mastering the Media: Complete HTML Course
Sobre a Aula

Common Audio Formats

When exploring the universe of audio formats to incorporate into websites, it is vital to understand the characteristics of each available option.

Here are some of the most common formats and their peculiarities:

  • MP3 (MPEG):
    • Widely recognized as the best format for compressed recorded music.
    • It has become practically synonymous with digital music due to its popularity and quality.
  • MIDI (Musical Instrument Digital Interface):
    • Main format for electronic music devices such as synthesizers and PC sound cards.
    • Contains digital notes playable by electronic devices, not storing sound directly. It works well on all computers and music hardware, but does not play directly in browsers.
  • RealAudio:
    • Developed by Real Media for streaming audio over low bandwidth connections.
    • It is not directly supported by modern browsers.
  • WMA (Windows Media Audio):
    • Developed by Microsoft, it offers good playback on Windows computers, but may have limitations in browsers.
  • AAC (Advanced Audio Coding):
    • Apple’s default for iTunes provides efficient playback on Apple computers, but not directly in browsers.
  • WAV:
    • Developed by IBM and Microsoft, it offers good playback on Windows, Macintosh and Linux operating systems.
    • Natively supported by HTML.
  • Ogg:
    • Developed by the Xiph.Org Foundation, it is supported by HTML as an open source audio format.
  • MP4:
    • Although it is known as a video format, it can also be used for audio.
    • Supported by all browsers.

Understanding these formats is essential when choosing the best option for embedding audio on web pages, ensuring the desired quality and compatibility.

Only the MP3, WAV, and Ogg formats are directly supported by the HTML standard.

Entrar na conversa
Rolar para cima