469,167 Members | 1,140 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,167 developers. It's quick & easy.

Comparing Wav files

Hiya - Quick question.

Can I VB to compare to the contents of two wave files.

[NB] What I am trying to do is create a program that will compare the
message played on a companies IVR with a prestored wav. file so if I call
the number the program will return either true or false depending on what is
heard

Thanks
Jul 17 '05 #1
3 5754

"Tefleon" <Pl***************@thanks.com> wrote in message
news:c8**********@hercules.btinternet.com...
Hiya - Quick question.

Can I VB to compare to the contents of two wave files.

[NB] What I am trying to do is create a program that will compare the
message played on a companies IVR with a prestored wav. file so if I call
the number the program will return either true or false depending on what is heard

Thanks


You can but here is the problem. Two wave files of an individual saying
"hello" may sound identical but binary-wise different. Unless the two files
are the *exact* same file, this type of comparison will not work.
Jul 17 '05 #2
They would be as I have the wav file of what should be played but don't know
where to start with this
"Raoul Watson" <Wa*****@IntelligenCIA.com> wrote in message
news:lr******************@nwrdny02.gnilink.net...

"Tefleon" <Pl***************@thanks.com> wrote in message
news:c8**********@hercules.btinternet.com...
Hiya - Quick question.

Can I VB to compare to the contents of two wave files.

[NB] What I am trying to do is create a program that will compare the
message played on a companies IVR with a prestored wav. file so if I call the number the program will return either true or false depending on
what is
heard

Thanks

You can but here is the problem. Two wave files of an individual saying
"hello" may sound identical but binary-wise different. Unless the two

files are the *exact* same file, this type of comparison will not work.

Jul 17 '05 #3
You'd really have to learn about how the .wav files are made & what the
values in them represent.

Here's some problems in general with sound recognition.
1) Even ONE millisecond of silence before 2 perfect recordings is enough to
knock detection off
2) Even the slightest variation in pitch or amplitude (volume) is enough to
know the detection off

Now... these might be simple to counter-act.... if you knew about .wav file
internals.
(which I dont)

Basically you'd have to write an application / control that would scan both
recordings, taking off anything below a certain volume from the start / end
(and any clicks in start/end)...

....then you'd have to basially recreate the wave-form and use fuzzy-logic to
identify if each and every sound on one recording is close enough to the
sound on the other recording and rate the match of the files with some sorta
algoritm that returns a percentage of how well the two files match...

....you've then got to determine what % you will accept as "proof" that the
same message was played.

Have fun ;)

"Tefleon" <Pl***************@thanks.com> wrote in message
news:c9**********@titan.btinternet.com...
They would be as I have the wav file of what should be played but don't know where to start with this
"Raoul Watson" <Wa*****@IntelligenCIA.com> wrote in message
news:lr******************@nwrdny02.gnilink.net...

"Tefleon" <Pl***************@thanks.com> wrote in message
news:c8**********@hercules.btinternet.com...
Hiya - Quick question.

Can I VB to compare to the contents of two wave files.

[NB] What I am trying to do is create a program that will compare the
message played on a companies IVR with a prestored wav. file so if I call the number the program will return either true or false depending on

what
is
heard

Thanks


You can but here is the problem. Two wave files of an individual saying
"hello" may sound identical but binary-wise different. Unless the two

files
are the *exact* same file, this type of comparison will not work.


Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by Dan Stromberg | last post: by
5 posts views Thread by Peteroid | last post: by
3 posts views Thread by s99999999s2003 | last post: by
3 posts views Thread by system55 | last post: by
reply views Thread by Gabriel Genellina | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.