|
I doubt that there is no POWER of CPU, there must be something elese wron.
A-law U-law takes very minimal CPU.
|
|
|
|
|
I'm just saying...transmitting from mobile phone to regular PC over 3G at 8000, 8, 1, the audio is twitchy when you use either encoding method, but flawless when it's unencoded.
|
|
|
|
|
There must be done more debug, how much CPU normal not encoded eats, may be there some optimisation needed.
Also you run Relesase compiled code ?
|
|
|
|
|
I know I probably need to debug it some more, but I've ran transmitting the full buffer, half buffer and 1/4 buffer. I am running code in release configuration. You also should know that I'm running full duplex audio, so I have two wave buffers going. That may make quite a bit of difference. I've taken this code and turned it into an intercom system for my house and for our mobiles when out of the house. I'm also not complaining about the code. It's very good, but I can't get (and don't really need to with this implementation) the MuLaw or ALaw encoding to work for me.
|
|
|
|
|
The main diff about encoding is to reduce data traffic, while it can very expensive on GPRS/3G.
Also you may try: RTP version of that code(Rtp_Audio_demo):
http://www.lumisoft.ee/lswww/download/downloads/Examples/[^]
Also in general what methods won't work in CF, if few of them needed for you, may be i can code these to main lib, so you don't need alter code evry time.
|
|
|
|
|
I understand about the encoding vs. bandwidth, but my bandwidth is unlimited, so it doesn't really matter right now. I'll give the RTP stuff a try in a few days. I already extracted just the UDP, Wave, and NET classes for use on the phone and desktop. I had to rewrite a little of the UDPServer and Wave classes, along with some of the getstring() stuff in NET for the CF, but it all works very well.
I'll check back in with some feedback on the RTP when I get some more time to give it a try.
|
|
|
|
|
Ok, if not too hard, make notes on classes/method what must be changed.
In general it woulde be nice to run dll with CF without changes too.
Also you may write me directly: ivar@lumisoft.ee.
|
|
|
|
|
|
Nice ad, but it looks like a stand alone application. I need something, like a library, I can integrate with my code and package up for my customer who will then package it into his code.
|
|
|
|
|
Hello Ivar, I realize this is a long shot being that this post is so old but this looks like the best place to seek some help on this, it's been years since I've done any coding and I've forgotten most of it, I've been trying to get your program to work without a UI for the last couple days with no success.
I've been able to compile default ip addresses into local port and endport which works so that all my users have to do is click the 2 start buttons however I would like to get something working which doesnt require a user to actually do anything, what im trying to do is use either advanced wave or RTP Audio Demo or something similar without a user interface, I am trying to develop a program that I can startup on a remote system via TCP command prompt or some lower form of RDP, which will allow me to talk to my users while im troubleshooting their problems, most of my machines here have integrated mic's, so default values should work for most of the WaveIn and WaveOut classes.
Not sure how you'd select a new WaveIN/WaveOut device anyway with no GUI, unless there's a way to pull the current device being used out of a system property somewhere.
|
|
|
|
|
Hi,
I dont see what problems you have, no UI is required to wave stuff. Also lisitng devices works, but you must programtically choose opne to use(because on Ui user can choose one from combobox).
|
|
|
|
|
Can Anyone Provide me Audio Codec Code or DLL for C#. so that i can transfer the audio data with less size over the internet....
In this example u r using G711 which can reduce audio size almost half but i need something which can reduce the size of audio data more than half..... Please help me......
Regards
|
|
|
|
|
When i try to transfer the audio data to other party using internet on TCP and make buffer at other end. so that i can play the data smoothly. but when we play the data. there is break in the audio playing and also audio got corrupted but data remains same, i have check that......
plz help me out........ what algo should i follow to play the buffer data...........with ur code.
Thanks
|
|
|
|
|
TCP cant be used for audio transport, you should use UDP.
|
|
|
|
|
i am also using UDP but still there is prob with audio playing speed......
|
|
|
|
|
|
can u guide me how to play buffer audio data which play smoothly with your code(Advance wave)
|
|
|
|
|
Hi
this all works fine. can u please tell me why i can hear the voice which i speak. there is no prob in coding. but can u tell me
what is prob of echo........ please help me out
Regards
|
|
|
|
|
Hi,
You should use haedphones and mic.
Or otherwise you should use some echo cancelation algorythm.
|
|
|
|
|
can u help me further me in it for echo cancelation.
|
|
|
|
|
suppose i speak a word "Hello" at client A, i can hear "Hello" again after some same time at Client A...... can u please tell me ........
|
|
|
|
|
too less explanation.........if we had the ability to write the code on our own why would we look for it online...
|
|
|
|
|
Thank you. But what about license to use Lumisoft's libraries?
Can I use Lumisoft's libraries in my applications?
|
|
|
|
|
Hi,
(license blelow: the main purpose of it is to protect my work, while allow evry one to use it free)
General usage terms:
*) If you use/redistribute compiled binary, there are no restrictions.
You can use it in any project, commercial and no-commercial.
*) It's allowed to complile source code parts to your application,
but then you may not rename class names and namespaces.
*) Anything is possible, if special agreement between LumiSoft.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
|