|
Can somebody help me with something related to voice print recognition or at least some tips on recording the singnal from the microfon and save it to a .wav file, in order to apply after that a Fast Fourier Transform on the .wav file to try to extract some patterns that could help for the voice print recognition.
I hope I was clear enough in my request.
Thank you.
|
|
|
|
|
Ambitious...
Good luck! Keep in mind that the "print" you extract can vary from the same person. If the person registers with a normal voice, then tries to unlock while having a cold or some other voice altering circumstance, the person is going to sound different. You have to account for that variance with a threshold in your spectrogram analysis.
But! Accounting for the variance will also prevent you from uniquely identifying that person out of a group of people, so it cannot be used as the "user ID" of a system.
It's OK to use as a password for low security situations, but is too easily defeated in high-security.
You can get an example and/or library for audio handling here[^].
|
|
|
|
|
Hi,
I have to develop an exe module to generates a script text file for all the databases exist on a server(in my case SQL Server2008) with all its objects, data, triggers,etc..
I know this can be achieved by Generate Scrip for Task menu in SQL Server2008 but this is manual & needed to work for each database with explicitly defining its properties selection, thus making it long hours task.
Any sample project would be appreciated
Regards
Ashish
|
|
|
|
|
|
|
I have a form containing the CrystalReportViewer to display the data, I want to catch ctrl + p events for form, this one I do, but my problem is when I display the form press ctrl + p is not, to then click on the CrystalReportViewer ctrl + p command to take effect, so I do How to run up the focus CrystalReportViewer have available, you can then use the focus to the CrystalReportViewer but not, thanks to you who know help with.
|
|
|
|
|
I have GPS device which give me longitude and latitude and i want to get the Location from this info in c sharp . please, anyone guide me.....
|
|
|
|
|
|
I have a form with multiple textboxes displaying data from a bindingsource. The data comes from one table called Contacts. Within the Contacts data, there is a foreign key(CompanyId) to link the data to the Companies table. Each Contact belongs to one Company. Now when scrolling through the Contact data, I want a combobox to display the name of the company instead of the ID. I know I can create a join in my DataAdapter selectcommand, but then I get an error when I try to run the DataAdapter update. My ultimate goal is to have the company names displayed and when I choose to edit the contact, the company combobox will contain all available companies. This seems like it would be a pretty common practice, but I cannot find anything on how to pull this off. Can anyone point me in the right direction?
|
|
|
|
|
Instead of joining in the table adapter, write a stored proc that will return the joined data.
Set up your adapter using that stored proc and then bind to the column returned by the adapter.
|
|
|
|
|
I would like to know if possible if there is a way of looking for a wcf host on the local network ?
Chona1171
Web Developer (C#), Silverlight
|
|
|
|
|
Message Removed
modified 28-Mar-12 12:06pm.
|
|
|
|
|
ya i probably could've , but i am so sick of translating VB at this point and even though the question is relating wcf the solution could have more to do with the other aspect of the C# language.
Chona1171
Web Developer (C#), Silverlight
|
|
|
|
|
Where did you see it last?
|
|
|
|
|
Lol. Not usually a fan of the smart ass responses, but this one is good .
|
|
|
|
|
I try to hold off such responses until there's at least one serious response.
|
|
|
|
|
Not normally a fan of getting wise ass responses but good 1.
Chona1171
Web Developer (C#), Silverlight
|
|
|
|
|
In general no. There isn't any reasonable way to identify protocol, type, etc generically. Nor much point since you must already know something about it to use it.
However you can write a UDP protocol service that does the following.
1. Each host starts a UDP port
2. Requests to the port are responded to with enough information that identifies what kind of host is available.
3. On start up a client sends a UDP request and processes response(s).
You could also do a ldap registration I suppose.
|
|
|
|
|
Finally a useful response.
You see you still have to configure the endpoint address the client has to look for, and as I have a pretty general piece of software here, i want end users to be able to install it on their business network without having to answer millions of support calls.
thx for the advice!
Chona1171
Web Developer (C#), Silverlight
|
|
|
|
|
Chona1171 wrote: You see you still have to configure the endpoint address the client has to look
for, and as I have a pretty general piece of software here, i want end users to
be able to install it on their business network without having to answer
millions of support calls.
Presumably by "configure" you are referring to things like 'closeTimeou', etc.
There are two possibilities
1. You are creating a library
2. You are creating an application.
For 2 most configuration values should not be configurable per install because most of them are related specifically to the business functionality. There might be some values, like 'listenBacklog' that you might hypothetically consider relevant how the solution for that is easy. Provide a default and provide a way to override it if it should come up. Via that methodology then the UDP server posts the modifications.
There is of course nothing that says the UDP can't post the entire config although there is two problems with that.
1. An application that presumes that all values are configurable is probably just ignoring what the application does.
2. The client config isn't the same as the server config anyways.
If a library then the the target customers are not business users, instead it is developers.
|
|
|
|
|
Hi,
I have an ActivX chart control with a method AddPoints(). The IDL looks like this...
[id(40)] VARIANT_BOOL AddPoints(BSTR strPlotName, ULONG nVals, DOUBLE* pdXVals, DOUBLE* pdYVals);
In the C# wrapper generated by DevStudio it looks like this...
public virtual bool AddPoints(string strPlotName, uint nVals, ref double pdXVals, ref double pdYVals);
Question is; how do I pass the double arrays to this method from C#?
Thanks.
“If I had asked people what they wanted, they would have said faster horses.”
― Henry Ford
|
|
|
|
|
Oh this old chestnut. I did a certain amount of searching around this issue and I couldn't find a way to make the auto generated wrapper convert X* to X[] instead of ref X. You might have to manually tweak the wrapper.
|
|
|
|
|
I Suspect BobJanova is correct, but I just did some messing around with unsafe code and there is a possability that even though the wrapper is taking a double ref, it may be treating it as a pointer. Check this code out
static void Main(string[] args)
{
double[] testArr = new double[] { 1.0, 2.0, 3.0 };
for (int i = 0; i < 3; i++)
Console.WriteLine(testArr[i]);
test(ref testArr[0]);
for (int i = 0; i < 3; i++)
Console.WriteLine(testArr[i]);
}
public static unsafe void test(ref double x)
{
fixed (double* ptr = &x)
{
ptr[1] = 2.5;
}
}
this produces the following instead of an error.
1
2
3
1
2.5
3
so there is a chance that simply passing a reference to the 0th index in the array might get what you want done. I don't have the wrapper setup to test it out myself.
|
|
|
|
|
I had the same thought but I'm sure I tried passing a reference to the first element and it wouldn't compile. I wonder what I was doing wrong.
|
|
|
|
|
Thanks for the replies,
Passing a ref to the first element compiles ok but i seem to be getting garbage values at the other end (in the ActiveX control). But i have not given up yet.
“If I had asked people what they wanted, they would have said faster horses.”
― Henry Ford
|
|
|
|