none
Audio Interleaving C# RRS feed

  • Question

  • Hello guys!

    I have a question about Audio Interleaving. I don't find something usefull then I write this.

    I have two audio files that is mono and I want to Interleaving those mono to stereo. Is any library that can help me with that? Or you have any idea how can I do that?
    Monday, March 9, 2020 12:34 PM

All replies

  • Are these wave files with PCM data?  It's pretty to parse a wave file and mix the two streams.  You'd just need to adjust the header to note that there are 2 channels instead of 1.

    But if this is just a one-time need, then forget about writing code for it, and use a tool like Audacity.


    Tim Roberts | Driver MVP Emeritus | Providenza & Boekelheide, Inc.

    Monday, March 9, 2020 5:19 PM
  • No it's not for one time.
    We want it as service because we recording voice from telephone and that program that record these sounds make two files .wav and in 16bit PCM.

    And we want to merge those two.

    Monday, March 9, 2020 8:00 PM
  • Hi DimitrisV12,

    Thank you for posting here.

    NAudio has this feature, you can also take a look at the information in the link below.

    Combining two audio files in C#

    Best Regards,

    Timon


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, March 10, 2020 3:58 AM
  • Hi,

    Has your issue been resolved?

    If so, please click "Mark as answer" to the appropriate answer, so that it will help other members to find the solution quickly if they face a similar issue.

    Best Regards,

    Timon


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, March 19, 2020 7:58 AM