naudio / NAudio

Audio and MIDI library for .NET
MIT License
5.38k stars 1.09k forks source link

How to convert multi-channel wave merge to single-channel wave use NAudio run with linux? #1093

Closed 18065013 closed 7 months ago

18065013 commented 7 months ago

Hi,

How to resolve this question like title, please give out suggestion or code sample? THX:)
Multi-channel wave convert to Single-channel wave

18065013 commented 7 months ago

Here is my solution, best?

a846aa8e9d49eb5f2d90c4df3ab1746 072d08bc6ea2432dd3d622087e93057
markheath commented 7 months ago

Yes, I was going to suggest the MultiplexingSampleProvider, and it looks like you have a similar solution