Hi everybody,
this is my first post here.
I am new with BASS.net and Bass so I apologize if my question is too silly for you.
----------------------------------
My application will receive two network-streamed mp3 coming from two different network microphones positioned in the same room.
The first mp3 stream (let's say A) will receive some human voices AND background noise.
The second mp3 stream (let's say B) will receive ONLY the background noise (the SAME NOISE of stream A).
What I want to do is generate a new mp3 that is the 'subtraction'
stream A - stream B
that will contain (I hope) only voices.
----------------------------------
Let's suppose, for simplicity's sake, that both mp3 streams are synchronized and are with same sample rate and resolution (44100 and 32bit).
How can I create the 'clean' stream?
I think I have to:
- decode both mp3s to their PCM values
(I have seen this
http://www.un4seen.com/forum/?topic=10290.0;hl=pcm)
- make subtraction operation in corresponding PCM values
- re-encode the results in mp3
------------
Is it right?
Is there a more simple/more efficient way to do the subtraction of two audio signals?
Maybe DSP? How?
Thanks for any advice
Tomorrow I'll go on holiday so I will try your suggestions when I come back at work (August 27h) but I will read this forum anyway.
THANKS for any idea.