Mono audio mapped to center channel instead of L/R on multichannel audio interfaces
Describe When playing mono audio files, Cog maps the audio to the center channel (C) instead of duplicating it to the left and right stereo channels.
On my RME Babyface Pro FS, this results in audio being sent to channel 3 (PH 3/4) instead of channels 1/2 (AN 1/2), making it audible only in the left headphone channel.
Stereo files play correctly.
To Reproduce (delete if not applicable) Steps to reproduce the behavior:
- Connect an multi-channel audio interface (RME Babyface Pro FS in my case) to a Mac.
- Configure the device for stereo output (Analog 1 = Left, Analog 2 = Right).
- Open Cog and select the RME interface as the output device.
- Play a mono MP3 file.
- Observe the output in RME TotalMix FX and Cog's Signal Inspector.
Expected behavior Mono audio should be duplicated to both left and right stereo channels (1/2), rather than routed exclusively to the center channel.
Screenshots
Version information:*
- macOS version: 27.0.1
- Cog version: 3877-g0fb3d97d6
Additional context The Signal Inspector shows:
Decoder: MP3 (lossy), Float32, 44.1 kHz, Mono Resampler: 44.1 kHz → 48 kHz Channel mapping: Channels remapped to 8 ch Cog output: Float32, 48 kHz, 8 ch Core Audio: Float32, 48 kHz, 14 ch Active channel: C (Center)
Posting my plan/idea here for future reference, so we don't forget it:
- Add option "Send mono to center output", disabled by default, otherwise upmixing mono to duplicate to front left/right.
- Disregard above option for HRTF processing, it will only be used for speaker mixing. Pretty much already guaranteed to work this way if we do the above, since HRTF is processed before the up/downmix filter, so it would always be a stereo signal for that.
Above assumes we won't yet implement a full channel mixer configuration somehow, which would also be a less friendly setup anyway, since more configuration comes at the cost of more complication.