Audio class
![SEGGER emUSB-Host SEGGER emUSB-Host](https://c.a.segger.com/fileadmin/_processed_/6/b/csm_Produkt-Icon_emUSB-Host_03a582a593.png)
Overview
The USB class protocol for AUDIO was defined for devices or functions embedded in composite devices that are used to manipulate audio, voice, and sound-related functionality. This includes both audio data and the functionality that is used to directly control the audio environment, such as Volume and Tone Control.
Key features
- Compatibility with USB Audio V1.0 devices.
- Transfer sound to audio output devices (e.g. speakers).
- Receive data from audio input devices (e.g. microphones).
- Control the audio environment, such as Volume and Tone Control.
- Notifications about insertion and removal of audio devices.
- All common sample rates supported (8, 16, 22.05, 44.1, 48, 96, 192 kHz, etc.)
- All sample resolutions supported (8, 16, 24, 32 bit per sample)
- Any number of channels supported
- Small footprint
Application Examples for emUSB-Host AUDIO
![Microphone](https://c.a.segger.com/fileadmin/_processed_/2/7/csm_Microphone_47eccf3a86.png)
Microphone
![USB Speaking](https://c.a.segger.com/fileadmin/_processed_/8/4/csm_USB-Speaker_fa75bb2c69.png)
Speakers
![Bluetooth Speaker](https://c.a.segger.com/fileadmin/_processed_/e/c/csm_bluetooth_speaker_be2e50c397.png)
Sound bar
![emUSB device audio headset headphones](https://c.a.segger.com/fileadmin/_processed_/b/9/csm_emUSB-Device-audio-headset-500x_e99df93d57.png)
Headset
![USB Soundcard](https://c.a.segger.com/fileadmin/_processed_/d/7/csm_USB-Soundcard-aux_354212d600.png)
USB sound card
Sample Applications Available
SEGGER provides multiple examples with the Audio class for emUSB-Host. One of the examples plays a voice to a connected USB speaker. If additionally an USB memory stick with a ".wav" file is connected, the audio file is played.
Another example reads audio data from an input device (like a microphone) and outputs the volume level.
Requirements
Components required to use emUSB-Host AUDIO:
- emUSB-Host AUDIO
- emUSB-Host core
- emUSB-Host target driver
- Real-time operating system (embOS or other)