BASIC/Visual Basic >> Anyone familiar with...
Posted by ophline on 12:58:00 12-06-2002
Comparing sound files? Anyone that would like to help with a sort of voice verification program, please post.
Posted by dxprog on 00:09:00 12-07-2002
I was actually thinking of writing a program like this recently so I'm interested
_________________
When I got VB, i could have flown without thrusters and shot down TIE Interceptors just by spitting at them.

[ This Message was edited by: dxprog on 2002-12-07 00:10 ]
Posted by ophline on 12:46:00 12-07-2002
Cool, post your ideas and I will compare with mine. I will post mine too.Here are a few:

01] It would take input from microphone (duh).
02] The file would then be saved to a temp file.
03] After the file was saved, it would be compared to a previously saved file.

** This is where the trouble comes in. Being able to make it give a little slack, because you don't talk the same tone every time. **

04] If maybe the file similarity was 95% or higher, it could be considered a match.

Post your ideas.
Posted by dxprog on 23:07:00 12-07-2002
Your ideas mirror mine almost exactly!! I guess great minds do think alike. I've been trying to figure out an algorithm that would detect a little change in the voice, that's waht's going to prove the largest challenge. Well, in an 8-bit wave file each data piece is byte sized so I guess you could say if the byte was 10 off it might still work. That's my theory, if you have a better one please post it. [addsig]
Posted by ophline on 03:32:00 12-08-2002
No, that is better than what I had.. NOTHING. I will search around for some code that has to do with "disecting" wav/sound files.
Posted by dxprog on 05:25:00 12-08-2002
I already know how to do that, and I have successfully done it too so we can get right down to the heart of it [addsig]
Posted by ophline on 12:42:00 12-08-2002
Oh, good. Well, e-mail me the code that you have so far, and we will go from there.

ophline@msn.com ophline@msn.com
Posted by dxprog on 23:53:00 12-08-2002
Geez, I hope I kept the code Will do [addsig]
Posted by ophline on 13:29:00 12-09-2002
When I got VB, i could have flown without thrusters and shot down TIE Interceptors just by spitting at them.

^^^ what is that????? i think you need something new and innovative ^^^
Posted by dxprog on 01:00:00 12-10-2002
It was something Wedge said in some Star Wars book that I thought was funny, so I altered it and made it my signature. It's really supposed to say "When I got Crescent, I could have flown without thrusters and shot down TIE Interceptors just by spitting at them." And getting back to the topic, I found my wave hacking program. I refined it and will send it to you soon. [addsig]
Posted by ophline on 10:28:00 12-10-2002
Oh, gotcha. I will be waiting for it.
Posted by dxprog on 00:46:00 12-11-2002
Don't expect it till the weekend. Since my computer lacks a disk drive, I have to drag it out and do a direct cable network to copy stuff to this one, and I hate doing that. [addsig]
Posted by ophline on 13:00:00 12-11-2002
Direct cable network? Do you know what you are talking about? Perhaps you mean direct serial connection... or just a straight-thru connecting two computers.. anyways, just get it to me as soon as you can.
Posted by dxprog on 00:04:00 12-12-2002
It really is a network, but it's officially called direct cable connection. I use parallel to do it. [addsig]
Posted by ophline on 10:39:00 12-14-2002
It is Friday night, so I am assuming you will get it to me tomorrow... righT?
Posted by dxprog on 23:16:00 12-14-2002
I'll get it to you today. Probably tonight. Be looking for it. [addsig]
Posted by ophline on 12:00:00 12-15-2002
Waiting... it is 10pm your time.. where is it?
Posted by dxprog on 01:06:00 12-16-2002
Sorry, I forgot (looooooonnngggg day). I WILL GET IT TO YOU TODAY. That's a promise. [addsig]
Posted by ophline on 03:31:00 12-16-2002
Okay... you better. It is 1.31 there and I am waiting..............................
Posted by ophline on 06:51:00 12-16-2002
Tick tock tick tock... 4.51 your time.........
Posted by ophline on 10:10:00 12-18-2002
dxProg: Do you have any ideas at all on how to do this? The reason I posted the '?' is because I don't, so if you don't I will just give it up.
Posted by dxprog on 10:22:00 12-18-2002
I thought I said about how to do that in my e-mail. Something like this:

Dim bytOriginal(), bytCompare()

You load the two waves into these arrays, after redimming them of course. Then you filter out all the blank values, values between 0 and 5. This will leave you with the actual voice. You redim both arrays to whichever is smallest so there won't be an error when running the loop. The you run an if statement like:

If bytCompare(i) =--> bytOriginal(i) - 5 Or bytCompare(i) [addsig]
Posted by ophline on 14:03:00 01-07-2003
Whatever dude, whatever.