Mixing Mono Samples with Stereo Samples, Audio DSP using C# |
Mixing Mono Samples with Stereo Samples, Audio DSP using C# |
Apr 19 2012, 06:18
Post
#1
|
|
|
Group: Members Posts: 5 Joined: 19-April 12 Member No.: 98974 |
Hello,
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 |
|
|
|
![]() |
Apr 20 2012, 00:34
Post
#2
|
|
|
Group: Members Posts: 2115 Joined: 24-August 07 From: Silicon Valley Member No.: 46454 |
QUOTE 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. |
|
|
|
AltAudio Mixing Mono Samples with Stereo Samples Apr 19 2012, 06:18
pdq How about converting the mono to stereo (two ident... Apr 19 2012, 12:49
Speedskater Is this anything like M-S Stereo System? That... Apr 19 2012, 13:40
AltAudio How about converting the mono to stereo (two ident... Apr 19 2012, 15:32
db1989 It’s one of the simplest operations that can... Apr 19 2012, 16:08
AltAudio QUOTE (db1989 @ Apr 19 2012, 10:08) It’s ... Apr 19 2012, 16:41
db1989 QUOTE (AltAudio @ Apr 19 2012, 16:41) Ok,... Apr 19 2012, 17:35
AltAudio QUOTE (db1989 @ Apr 19 2012, 11:35) QUOTE... Apr 19 2012, 18:11
pdq Don't the stereo streams just contain alternat... Apr 19 2012, 17:25
pdq To create mono from stereo you would take pairs of... Apr 19 2012, 18:27
[JAZ] Could I ask which is your background? I don't ... Apr 19 2012, 19:26
DVDdoug Mick,
Typically, a stereo mixer (hardware or soft... Apr 19 2012, 19:43
AltAudio Ok thanks for the input. I am a .NET developer and... Apr 19 2012, 22:00![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 05:47 |