Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
AnswerRe: Calling C++ Image API from C# [modified] Pin
econner13-Jan-11 6:11
econner13-Jan-11 6:11 
AnswerRe: Calling C++ Image API from C# Pin
Luc Pattyn13-Jan-11 6:22
sitebuilderLuc Pattyn13-Jan-11 6:22 
GeneralRe: Calling C++ Image API from C# Pin
econner13-Jan-11 6:49
econner13-Jan-11 6:49 
AnswerRe: Calling C++ Image API from C# Pin
Luc Pattyn13-Jan-11 6:56
sitebuilderLuc Pattyn13-Jan-11 6:56 
GeneralRe: Calling C++ Image API from C# Pin
econner13-Jan-11 7:00
econner13-Jan-11 7:00 
AnswerRe: Calling C++ Image API from C# Pin
jschell13-Jan-11 8:06
jschell13-Jan-11 8:06 
QuestionHow to record audio and modify the signal? Pin
softwarejaeger13-Jan-11 3:41
softwarejaeger13-Jan-11 3:41 
AnswerRe: How to record audio and modify the signal? Pin
Rob Philpott13-Jan-11 4:17
Rob Philpott13-Jan-11 4:17 
Hmm. Good luck!

Firstly, if you get and audio stream there are many different encodings it could come in. Probably the most common would be 44.1KHz 16 bit. So you'd be dealing with buffers of shorts.

Obviously, if you negate this signal and add this to the original, everything cancels out and you end up with silence, so I suspect what you want to do is use two input signals, a reference one, and a background one.

Now, because the mics will be in different positions, you'll likely get a phase shift and this will vary depending on the frequency composition of what you're recording. You could actually end up boosting a signal rather than cancelling it if you phase is shifted 180 degrees.

I would imagine an effective way to do this is firstly to translate the signal from the time domain to the frequency domain, then compare and adjust the amplitude of the frequency bands, and convert it back again. This involves heavy duty mathematics. Lower frequencies are easier to cancel than higher ones as you may have observed if you have some noise cancelling headphones.

Scary stuff, and with the best of respect unless you're well versed in the field of digital signal processing I'd consider doing something else.
Regards,
Rob Philpott.

AnswerRe: How to record audio and modify the signal? Pin
Luc Pattyn13-Jan-11 4:28
sitebuilderLuc Pattyn13-Jan-11 4:28 
AnswerRe: How to record audio and modify the signal? Pin
_Erik_13-Jan-11 4:35
_Erik_13-Jan-11 4:35 
AnswerRe: How to record audio and modify the signal? Pin
Dalek Dave13-Jan-11 4:39
professionalDalek Dave13-Jan-11 4:39 
GeneralRe: How to record audio and modify the signal? Pin
softwarejaeger13-Jan-11 20:16
softwarejaeger13-Jan-11 20:16 
AnswerRe: How to record audio and modify the signal? Pin
César de Souza13-Jan-11 11:16
professionalCésar de Souza13-Jan-11 11:16 
QuestionHow i can make my connection string dynmic with th current root ? Pin
Honeyboy_2013-Jan-11 2:32
Honeyboy_2013-Jan-11 2:32 
AnswerRe: How i can make my connection string dynmic with th current root ? Pin
RaviRanjanKr13-Jan-11 4:20
professionalRaviRanjanKr13-Jan-11 4:20 
GeneralRe: How i can make my connection string dynmic with th current root ? Pin
Honeyboy_2013-Jan-11 7:19
Honeyboy_2013-Jan-11 7:19 
AnswerRe: How i can make my connection string dynmic with th current root ? Pin
RaviRanjanKr13-Jan-11 18:01
professionalRaviRanjanKr13-Jan-11 18:01 
GeneralRe: How i can make my connection string dynmic with th current root ? Pin
Honeyboy_2015-Jan-11 9:41
Honeyboy_2015-Jan-11 9:41 
GeneralRe: How i can make my connection string dynmic with th current root ? Pin
RaviRanjanKr16-Jan-11 2:00
professionalRaviRanjanKr16-Jan-11 2:00 
GeneralRe: How i can make my connection string dynmic with th current root ? Pin
Honeyboy_2016-Jan-11 9:57
Honeyboy_2016-Jan-11 9:57 
AnswerRe: How i can make my connection string dynmic with th current root ? Pin
jschell13-Jan-11 8:09
jschell13-Jan-11 8:09 
Questionpicturebox or any other tool Pin
Erdinc2713-Jan-11 0:03
Erdinc2713-Jan-11 0:03 
AnswerRe: picturebox or any other tool PinPopular
OriginalGriff13-Jan-11 0:40
mveOriginalGriff13-Jan-11 0:40 
GeneralRe: picturebox or any other tool Pin
Erdinc2713-Jan-11 0:52
Erdinc2713-Jan-11 0:52 
GeneralRe: picturebox or any other tool Pin
OriginalGriff13-Jan-11 1:26
mveOriginalGriff13-Jan-11 1:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.