Welcome Guest ( Log In | Register )

Mixing Mono Samples with Stereo Samples, Audio DSP using C#
post Apr 19 2012, 06:18
Post #1

Group: Members
Posts: 5
Joined: 19-April 12
Member No.: 98974


I've got two streams of audio sample that are stored in arrays, one mono and one stereo. I'd like to mix the mono into the stereo stream and output as stereo. Any known examples to accomplish?

Thanks in advance.........Mick
Go to the top of the page
+Quote Post
Start new topic
post Apr 20 2012, 00:34
Post #2

Group: Members
Posts: 2714
Joined: 24-August 07
From: Silicon Valley
Member No.: 46454

I am a .NET developer and I've got an algorithm that converts stereo stream into mono(for simplicity sake) and evaluates those samples with algo logic. It then creates a new stream(in this case) mono and now I've got to mix the two back together into a new stereo stream.
Good. That's pretty-much how most audio editing software works. Each channel from each file/source would be loaded into an array. Then everything gets mixed/processed and the result goes into new "output" or "result" arrays. (Some applications might use 2-dimensional or multi-dimensional arrays for stereo/multi-channel data.)

I assume real-time audio processing basically works the same way except with smaller arrays used as circular buffers.
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 26th December 2014 - 19:26