Skip to main content
Corvus Connection

Audio: Set Channel Volume

Audio
audio.setChannelVolumeSets a channel's volume (0–1), applied live to in-flight playback. Wire the level into 'volume'.Sets the chosen channel's volume from a 0–1 number.

Inputs

Name
Kind
Type
Flags
inExecexecmultiplexed
volumeDataSystem.SingleNone

Outputs

Name
Kind
Type
Flags
outExecexecNone

Parameters

Name
Type
Required
Default
Choices
channelSystem.Stringno"Sfx"Text-to-speech, Sound effects, Media

Lowers to C#

await ctx.Audio.SetChannelVolumeAsync(AudioChannel.Sfx, volume);