-
Notifications
You must be signed in to change notification settings - Fork 4
Audio Channel Layout
Hossein HassanNejad edited this page Sep 10, 2026
·
1 revision
A channel layout defines how many audio channels are used in the output and how the audio is distributed between them.
Nyx Converter currently supports Stereo and Mono.
await NyxConverter.convertTo(
inputPath,
outputDirectory,
channelLayout: NyxChannelLayout.stereo,
);| Layout | Channels | Description |
|---|---|---|
| Stereo | 2 | Uses separate left and right audio channels. |
| Mono | 1 | Combines audio into a single channel. |
Stereo audio uses two channels:
- Left
- Right
This allows sounds to be positioned between the left and right sides, creating a wider listening experience.
channelLayout: NyxChannelLayout.stereo,Recommended for:
- Music
- Movies and videos
- General-purpose audio
- Most modern media
Mono audio uses a single audio channel.
channelLayout: NyxChannelLayout.mono,Recommended for:
- Voice recordings
- Phone calls
- Voice messages
- Speech
- Smaller audio files
- Stereo produces 2 audio channels.
- Mono produces 1 audio channel.
- Channel conversion can reduce the size of an audio stream when converting stereo to mono.
-
channelLayoutapplies to audio streams. - The actual result also depends on the source media and FFmpeg configuration.