Help - Search - Members - Calendar
Full Version: Skype API audio stream?
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
DZH_
Hello!

I have a little problem with Skype. My microphone is glued to the monitor and speakers are standing near monitor and some of the sound, that goes out of the speakers are recorded by microphone.

This results in echo effect for the people I'm talking to, i.e. they hear themselves.

This can be cancelled quite easily (you just "substract" what you've played from the sound you've recorded), but in order to do it one needs to have access to audio streams.

So, being a programmer, I came here to Skype API 2.0 specs, but I didn't found anything related to altering/reading skype incoming/outgoing audiostreams.

So is there such API or not? I couldn't find any... sadsmile.png
inf_
There is currently no API that let you access the actual audio data :-(
And btw, first - skype does echo cancellation, and it is pretty good at it. Secont, coding a good echo cancellation isnt a trivial task, simple substruction wont work, it will only make things wose :-)

P.S: if anyone knows about some kind of new API extension that allows you to get to the audio, i still wanna make that DTMF control plugin i wrote to be able to monitor the mic. audio during the call.
DZH_
QUOTE(inf)
There is currently no API that let you access the actual audio data :-(
And btw, first - skype does echo cancellation, and it is pretty good at it. Secont, coding a good echo cancellation isnt a trivial task, simple substruction wont work, it will only make things wose :-)

P.S: if anyone knows about some kind of new API extension that allows you to get to the audio, i still wanna make that DTMF control plugin i wrote to be able to monitor the mic. audio during the call.


Skype does? Well is it automatically turned on, or ir is only actvated when "automatically adjust sound" option is turned on?

Well, I didn't planned it as "simple" - it will first count delays between speaker and mic (by sending a test signals etc.) and only then subtract.

It would probably be possible to manipulate audio data, if we wrote a ring 0 driver, that would integrate itself into windows sound system, but that is NOT easy wink.png
inf_
The echo cancellation is enabled by default, you can disable it by editing the config.xml file (its under %AppData%skypeyour_skype_username). Same goes about the AGC. The "automatically adjust sound" enables/disables the AGC, but i really dont think it disables echo cancellation.

About having problems with echo created by mic glued to the monitor, are you, by any chance, using the speakers built into that monitor ? If you do, consider another configuration, i really doubt any normal echo cancellation can deal with THAT.

And about writing ring 0 driver to get to the audio, sorry, thats would be way over my head. Don't get me wrong, i could probably learn how to write it, i just dont have nor the time nor the desire to do so. BTW, there is an existing driver that do something like that, called "virtual audio cable" or something very similar, tried this on my system, never got it working.
DZH_
QUOTE(inf)
The echo cancellation is enabled by default, you can disable it by editing the config.xml file (its under %AppData%skypeyour_skype_username). Same goes about the AGC. The "automatically adjust sound" enables/disables the AGC, but i really dont think it disables echo cancellation.

About having problems with echo created by mic glued to the monitor, are you, by any chance, using the speakers built into that monitor ? If you do, consider another configuration, i really doubt any normal echo cancellation can deal with THAT.  

And about writing ring 0 driver to get to the audio, sorry, thats would be way over my head. Don't get me wrong, i could probably learn how to write it, i just dont have nor the time nor the desire to do so. BTW, there is an existing driver that do something like that, called "virtual audio cable" or something very similar, tried this on my system, never got it working.


No, speakers are NEAR the monitor, not buit-in.

Well, this "virtual audio cable" looks promising - will try it:), thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.