Skip to content

CreateAudioScene

Narta Xaymar Dirks edited this page Nov 27, 2026 · 1 revision

CreateAudioScene BlitzLLVM

CreateAudioScene:Int32

Returns: The handle of the scene. It holds nothing until values are set in it.

Description

BlitzLLVM This command does not exist in the original Blitz products. BlitzLLVM adds it.

Makes an empty audio scene: a set of bus volumes and listener settings that ApplyAudioScene sets all at once, with a fade. A game makes its scenes while loading and applies one when the place or the menu changes. See Audio scenes. This is a BlitzLLVM extension.

Examples

Include "<audio.bb>"
world = CreateAudioBus()
space = CreateAudioScene()
AudioSceneListener space, BB_LISTENER_DOPPLER, 0
AudioSceneVolume space, world, 0.3
ApplyAudioScene space, 3000

Related Commands

ApplyAudioScene BlitzLLVM, AudioSceneListener BlitzLLVM, BlendAudioScene BlitzLLVM, CaptureAudioScene BlitzLLVM, ClearAudioScene BlitzLLVM, CopyAudioScene BlitzLLVM, CreateAudioBus BlitzLLVM, FreeAudioScene BlitzLLVM

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally