472,121 Members | 1,578 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,121 software developers and data experts.

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 5810

"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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.