Need 2 modifications in [login to view URL] below:
using System;
using [login to view URL];
public class Program
{
[DllImport("[login to view URL]", EntryPoint = "mciSendStringA", CharSet = [login to view URL], SetLastError = true, ExactSpelling = true)]
private static extern int mciSendString(string lpstrCommand, string lpstrReturnString, int uReturnLength, int hwndCallback);
static void Main(string[] args)
{
mciSendString("open new Type waveaudio Alias recsound", "", 0, 0);
mciSendString("record recsound", "", 0, 0);
[login to view URL]("recording, press Enter to stop and save ...");
[login to view URL]();
//CheckifFileExists("[login to view URL]");
mciSendString("save recsound c:\\foldername\\[login to view URL]", "", 0, 0);
mciSendString("close recsound ", "", 0, 0);
}
}
1. Firstly I need a tiny function written with usage as so:
CheckifFileExists("[login to view URL]")
Functionality as so: Repeatedly check if stated file exists,
in 1 second intervals - doing this check forever - or until
stated file is found, ie: until file exists.
Only terminate this function if file exists.
Then comment //[login to view URL](); and uncomment my call to
CheckifFileExists("[login to view URL]");
Doing this ensures recording from microphone continues until
such time as [login to view URL] is created, externally.
2. I need [login to view URL] further modified to record in stereo mode,
instead of its present mono mode. Googling: c# recording 44100
will quickly give a sense of how to modify the code for stereo.
Check out these links for a sense of how C# records in stereo.
https://www.google.ca/#q=c%23+recording+44100
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
I know modification #1 is trivial/easy to implement and mod #2
does not seem terribly complicated either. Suggesting bids of
$100.00 or less. Difficulty level of this project is not so great!
(5 star positive feedback posted after successful completion)
As you said quite easy to do.
The first part is quite simple, the second part took me some reading throu MSDN found a solution.
Looking forward hearing from you
$55 USD 2 gün içinde
5,0 (4 değerlendirme)
3,2
3,2
6 freelancer bu proje için ortalama $136 USD teklif veriyor
Dear Sir. I completed more then 8 projects in Freelancer and all completed projects have excellent Feedback and 5 star rating in all. In addition to Freelancer experience, I have more then 8 years of working experience in .NET technology. Please let me know in case of anything. Kind Regards Pankaj Garg
*** I CAN DO IT IN LESS THAN AN HOUR ***
Experienced C# / Delphi Programmer, I can complete this job and help you within hours.
Please to contact me for more information.