Skip to content

SoundPan

Narta Xaymar Dirks edited this page Oct 28, 2026 · 6 revisions

Blitz3DBlitzPlusBlitzBasic

SoundPan

SoundPan:Void sound:Int32, pan:Float32
Parameter Mode Type Default Description
sound In Int32 required A handle from LoadSound.
pan In Float32 required -1 is only left, 0 the middle and 1 only right.

Description

Sets the stereo position that channels of this sound start with. Channels that are already playing keep theirs: use ChannelPan for those.

Differences

  • A debug build (-d) stops the program when the sound is 0 (a sound that failed to load) or does not exist, other builds ignore the command, see Debug handle checks.

Related Commands

ChannelPan, FreeSound, Load3DSound, LoadSound, LoopSound, PlaySound, SoundPitch, SoundVolume

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally