Class ChannelOrderAudioEffect
- Namespace
- VisioForge.Core.Types.X.AudioEffects
- Assembly
- VisioForge.Core.dll
Remaps audio channels to different output positions for custom channel routing. Allows complete control over which input channel feeds which output channel. Essential for fixing incorrectly mapped audio or creating custom channel configurations. Implements the VisioForge.Core.Types.X.AudioEffects.BaseAudioEffect.
public class ChannelOrderAudioEffect : BaseAudioEffect, ISharedAudioEffectXInheritance
Implements
Inherited Members
Remarks
Orders array format: Each pair maps [target_channel, source_channel].
Example: Swap left/right channels, route mono to specific channel, duplicate channels.
Useful for fixing reversed stereo, creating custom surround configurations, or channel duplication.
Constructors
ChannelOrderAudioEffect(byte[,])
Initializes a new instance of the VisioForge.Core.Types.X.AudioEffects.ChannelOrderAudioEffect class.
public ChannelOrderAudioEffect(byte[,] orders)Parameters
ordersbyte[,]-
Channel routing map. 2xn array where each pair is [target_channel, source_channel]. Example: [[0,1],[1,0]] swaps left and right.
Properties
Orders
Gets or sets the channel routing configuration as a 2D array.
public byte[,] Orders { get; set; }Property Value
- byte[,]