Qt Audio Engine QML Types

Qt Audio Engine is part of the Qt Multimedia module. Qt Audio Engine provides types for 3D positional audio playback and content management.

The QML types can be imported into your application using the following import statement in your .qml file:

import QtAudioEngine 1.1

Qt Audio Engine Features

Qt Audio Engine enables developers to organize wave files into discrete Sound with different play variations, group sound controls by AudioCategory categories and define attenuation models and various 3D audio settings all in one place. Playback of sound instances can be conveniently activated by in-app events and managed by QtAudioEngine or controlled by explicitly defining SoundInstance for easier QML bindings.

Examples

QML types

AttenuationModelInverse

Defines a non-linear attenuation curve for a Sound

AttenuationModelLinear

Defines a linear attenuation curve for a Sound

AudioCategory

Control all active sound instances by group

AudioEngine

Organize all your 3d audio content in one place

AudioListener

Control global listener parameters

AudioSample

Load audio samples, mostly .wav

PlayVariation

Define a playback variation for sounds. So each time the playback of the same sound can be a slightly different even with the same AudioSample

Sound

Define a variety of samples and parameters to be used for SoundInstance

SoundInstance

Play 3d audio content

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.