Skip to content

ChannelDoppler

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

ChannelDoppler BlitzLLVM

ChannelDoppler:Void channel:Int32, scale:Float32
Parameter Mode Type Default Description
channel In Int32 required A channel handle from EmitSound.
scale In Float32 required 1 (what a channel starts with) gets all of the shift of ListenerDoppler, 0 none. Below 0 is a runtime error.

Description

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

Scales the doppler shift of one channel, on top of the one of the listener. A radio that the player carries moves with them and should not shift at all. This is a BlitzLLVM extension.

Differences

Examples

radio = EmitSound(music, camera)
ChannelDoppler radio, 0

Related Commands

ChannelRadius BlitzLLVM, GetChannelDoppler BlitzLLVM, GetChannelFalloff BlitzLLVM, GetChannelRadius BlitzLLVM, GetListenerDoppler BlitzLLVM, ListenerDoppler BlitzLLVM, SetChannelFalloff BlitzLLVM

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally