Skip to content

ListenerDoppler

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

ListenerDoppler BlitzLLVM

ListenerDoppler:Void value:Float32, fade_ms:Int32=0
Parameter Mode Type Default Description
value In Float32 required 0 turns the shift off, 1 is the real one and 2 shifts twice as far. Below 0 is a runtime error.
fade_ms In Int32 0 How many milliseconds it takes to get to the new value. 0 (the default) changes it at once. Below 0 is a runtime error.

Description

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

Changes how strong the pitch shift of moving 3D sounds is, which CreateListener sets first. A game that leaves a planet for space can turn the shift down as the air goes, without a new listener. This is a BlitzLLVM extension.

Differences

Examples

; Leaving the atmosphere: no doppler shift after five seconds.
ListenerDoppler 0, 5000

Related Commands

ChannelDoppler BlitzLLVM, CreateListener Blitz3D, GetChannelDoppler BlitzLLVM, GetListenerDoppler BlitzLLVM, ListenerDistance BlitzLLVM, ListenerFalloff BlitzLLVM, ListenerRadius BlitzLLVM, ListenerRolloff BlitzLLVM

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally