Skip to main content
Corvus Connection

Audio: Set Channel Volume

Audio
Action
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.
Media

Inputs

Name
Kind
Type
Flags
in
Exec
exec
multiplexed
volume
Data
System.Single
None
  • Name
    in
    Kind
    Exec
    Type
    exec
    Flags
    multiplexed
  • Name
    volume
    Kind
    Data
    Type
    System.Single
    Flags
    None

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None

Parameters

Name
Type
Required
Default
Choices
channel
System.String
no
"Sfx"
Text-to-speech, Sound effects, Media
  • Name
    channel
    Type
    System.String
    Required
    no
    Default
    "Sfx"
    Choices
    Text-to-speech, Sound effects, Media

Lowers to C#

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