GetAFreelancer.com
 
Find projectsSearch
Sign Up | Log in | Top Rated Users | Browse projects | Post Project | RSS feeds | Articles
 

Microphone Input Monitoring Delays Problem

  Featured  Click here to post similar project

Microphone Input Monitoring Delays Problem is project number 276131 posted at GetAFreelancer.com. Click here to post your own project.

Status: Closed (Selected Service Provider)
Selected Providers: selected service provider manikm
Budget: $250-750
Created: 06/18/2008 at 9:26 EDT
Bidding Ends: 06/21/2008 at 9:26 EDT
Project Creator: ejoewright View PM Post PM
Buyer Rating: 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(4 reviews)
Description: I am experiencing a problem with a project that monitors the microphone input. In this project the reaction time to the sound input is critical. The base for the code came from a project found on Code Project web site "Sound Activated Recorder with Spectrogram in C#" (http://www.codeproject.com/KB/audio-video/SoundCatcher.aspx). The original C# waveIn API wrapper was written by Ianier Munoz. "A full-duplex audio player in C# using the waveIn/waveOut APIs" (http://www.codeproject.com/KB/audio-video/cswavrec.aspx).

The problem with both the example project and my code is that "delays" are creeping into the application when systems experience demand overload. On faster computers this is not a problem and the delays do not appear, but for slower systems this is a problem.

If you look into the code, changing the num of buffers used does not seem to affect the delays once they are introduced. I am using a small buffer size to acheive a small delay time.

Public Const m_BUFFER_SIZE As Integer = 256
Public Const m_SAMPLING_RATE_HZ As Single = 44100 / 8

If the recorder is stopped and then started, the delays dissappear, but automating this is not an option for several reasons including the fact that there can not be any pauses in the monitoring of the signal.

This application needs to always read the most current data available from the sound card (i.e. If more than one frame exists to be processed, drop the older frame(s) and process the most recent).

This is a strange delay error. I have been trying to understand it for a while. The delays remain in the microphone input (waveIn) signal even if the system is stressed monentarily and then has time to recover. The test for delays I usually use an older computer, start the sound catcher program, then start a virus scan. If the system is stressed enough delays appear, and they do not disappear when the stress on the system is removed (i.e.scan is stopped). After the delays have been introduced you should be able to tap the microphone and observe the delayed response from the software.

The amount of delay typically experienced (around 900ms) can not be explained by the num of buffers used (3) and the length of each buffer (approx. 46 ms : 3*46 ms = 138 ms max data stored in buffers).

I am not sure where this extra delay data is being buffered or how to detect if the signal being monitored is delayed. This understanding is at the heart of this project. Again, starting and stopping a recorder (freeing buffers and re-allocating them) removes the delays until they are introduced again but I cannot even tell when the delays are present!

The deliverable will be a VS 2005 project with a VB.Net GUI (multiple projects in other languages in a single solution ok) that implements a version of the Sound Catcher program that handles system overload well and is immune to delays once the system is not stressed (recovers nicely). I understand that delays are unavoidable some times at peak stress levels but the deilvirable needs to always be delay free if the systen is not stressed. Display smoothness and minimum use of system resources are desired to accomplish the smooth handling of system overloads.

Before bidding on this project please download and run the code listed above and confirm that you have the necessary (slow) hardware to experience the problems described here. Make sure you are positive you have a solution as well. After accepting the project I am looking for someone who can finish it in one weeks time. Thanks for bidding!
Report violation
Job Type:
  • .NET
  • C/C++
  • Translation
  • Visual Basic
  • Windows
Database: (None)
Operating system: MS Windows
Bid count: 6
Average bid: $ 625

FREE Trial project for new buyers!

 

View Project Message Board     Post Message on Project Message Board
Messages Posted: 0

If you are the project creator or one of the bidders Log in as project creator or bidder for more options

Bid on This Project

Service Providers PMB Bid Delivery Within Time of Bid Provider Rating
mswiczar
View PM Post PM
$ 750 15 days 06-18-2008 21:48 EDT 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(11 reviews)
I will rewrite it to use directsound. no more dll, just directsound implementation. This is the best way to do it. The reason of my budget time is because i have too much work. so i could do it in 15 days
lexican
View PM Post PM
$ 500 0 days 06-18-2008 10:13 EDT 9.67/109.67/109.67/109.67/109.67/109.67/109.67/109.67/109.67/109.67/10
(3 reviews)
Combine this unsafe method (this is not directly access to memory, but unmanaged code technique for increasing speed of process) with multi-thread method (using Invoke or BeginInvoke method),so it will be quick process although on slower machine.
devcenter
View PM Post PM
$ 450 5 days 06-18-2008 13:47 EDT 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(2 reviews)
Hello, I have gone through your requirements and I am very much interested to working with you. I am sure about your project to be fulfilled keeping your desires satisfactorily and quickly. we are ready to start anytime. Waiting for your reply. Please see PMB. Thank you.
manikm
View PM Post PM
$ 650 6 days 06-19-2008 18:23 EDT 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(1 reviews)
please check out the PM.
semosoft123
View PM Post PM
$ 700 25 days 06-19-2008 04:07 EDT (No Feedback Yet)
We want to execute your assignment and assure you complete satisfaction. We have the required technical and managerial expertise to execute and deliver the work. Please check PMB.
santhoshoo2
View PM Post PM
$ 700 25 days 06-19-2008 11:00 EDT (No Feedback Yet)
We are team of experts in webtechnologies like PHP,.NET. All we have more than 3 years of experience in PHP and 5 years of experience in .NET. In our team two are ZEND certified PHP professional
Bid on This Project

 

[ Website Design ] [ GAF Top Users ] [ Join GAF Free ]

What is GetAFreelancer.com? ( Read about the company )

Web Development doesn't have to be expensive. Outsourcing will cut your expenses by more than 50%. Deposit money and don't purchase until your project is completed. Would you like to outsource your next project? Would you like to make money as a freelancer? Click Sign Up to start! It's easy, fun and very affordable to outsource your project with our site. Our mission is to find the best possible freelance workers at the best possible price.

Our site is global and we have freelancers from India, Romania, Russia, Ukraine, United States, UK and many other parts of the world. Buy services with help from our secure escrow system. Outsourcing is the process of subcontracting network operations and support to an organization outside your own company. Try it free today! Bookmark our homepage to make sure you don't forget about our website next time you need to develop an IT project for yourself or your company. A freelancer is an independent worker, not on salary, hired instead on a project basis. GetAFreelancer.com is one of the largest sites of its kind. We have earned a good reputation and you can trust us.

Find Webmaster Resources and Webmaster Forum. Take a look at Search Engine Submission.