wiki:UsersGuide/Audio

Version 3 (modified by Jakub Jermář, 8 years ago) ( diff )

Audio

Introduction

HelenOS supports audio devices. Getting basic audio output is very easy. We'll explain all the necessary steps here.

Audio on Hardware

HelenOS supports Intel High Definition Audio thus it should work with the on-board audio device of any not-too-ancient PC.

Audio in QEMU

In QEMU HelenOS can support audio via Intel High Definition Audio device. Just use ew.py and you will get it automatically. Alternatively, run QEMU with the options

-device intel-hda -device hda-duplex

Don't use the sb16 device - current versions of QEMU have broken sb16 support.

Say hello

To test sound type into the terminal:

# wavplay demo.wav

Amiga-style modules

The modplay command can play Amiga-style modules (.mod and .xm). Find one and get it onto your HelenOS system (e.g. on a USB stick or build it into the initrd). Play it using the command:

# modplay <my_module.mod>
Note: See TracWiki for help on using the wiki.