Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Speaker verification

Speaker verification

Scheduled Pinned Locked Moved C#
csharpjsonquestion
14 Posts 6 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Xelalem

    I need to create a speaker verification software in c#.Is there any API like SAPI to do this? i googled for a while and i only get licenced DLL(800$). is there any article written about speaker verification in .net

    P Offline
    P Offline
    PIEBALDconsult
    wrote on last edited by
    #2

    Play a WAVE file that says, "if you can hear this, press RETURN". :-D

    X 1 Reply Last reply
    0
    • P PIEBALDconsult

      Play a WAVE file that says, "if you can hear this, press RETURN". :-D

      X Offline
      X Offline
      Xelalem
      wrote on last edited by
      #3

      is zat suppose 2 be a jok or wat? if u dont know wat 2 say plz dont say nothin at all :sigh:

      P realJSOPR 2 Replies Last reply
      0
      • X Xelalem

        is zat suppose 2 be a jok or wat? if u dont know wat 2 say plz dont say nothin at all :sigh:

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #4

        Yes. Note the joke icon.

        realJSOPR 1 Reply Last reply
        0
        • X Xelalem

          I need to create a speaker verification software in c#.Is there any API like SAPI to do this? i googled for a while and i only get licenced DLL(800$). is there any article written about speaker verification in .net

          A Offline
          A Offline
          Alan Balkany
          wrote on last edited by
          #5

          Here's one approach: 1. Collect several samples of a spoken sentence from a good-sized group of people. The sentence should have many vowel sounds. 2. Apply a fast Forrier transform to the wave samples to get amplitudes at n different frequencies. 3. Consider each set of n samples to be a vector in an n-dimensional space. Compute the average vector for each person. 4. Compute the Euclidean distance among the average vectors for all the people, and take the smallest distance, d. 5. To verify a speaker, get the vector for the sample sentence from the speaker, and see if it's within d/2 of the average vector for the person you're trying to verify. If it is, assume it's the same speaker.

          P 1 Reply Last reply
          0
          • X Xelalem

            I need to create a speaker verification software in c#.Is there any API like SAPI to do this? i googled for a while and i only get licenced DLL(800$). is there any article written about speaker verification in .net

            T Offline
            T Offline
            T M Gray
            wrote on last edited by
            #6

            You have to be more specific about what you mean. I have seen "speaker verification" that means they use voice recognition to verify who the user is who is speaking. But if you mean that you want to verify that there are devices attached to output sound that is a different matter (and probably impossible unless you mean the internal PC speak er used for POST beeps).

            X 1 Reply Last reply
            0
            • A Alan Balkany

              Here's one approach: 1. Collect several samples of a spoken sentence from a good-sized group of people. The sentence should have many vowel sounds. 2. Apply a fast Forrier transform to the wave samples to get amplitudes at n different frequencies. 3. Consider each set of n samples to be a vector in an n-dimensional space. Compute the average vector for each person. 4. Compute the Euclidean distance among the average vectors for all the people, and take the smallest distance, d. 5. To verify a speaker, get the vector for the sample sentence from the speaker, and see if it's within d/2 of the average vector for the person you're trying to verify. If it is, assume it's the same speaker.

              P Offline
              P Offline
              PIEBALDconsult
              wrote on last edited by
              #7

              That might be good for microphone verification.

              1 Reply Last reply
              0
              • X Xelalem

                is zat suppose 2 be a jok or wat? if u dont know wat 2 say plz dont say nothin at all :sigh:

                realJSOPR Offline
                realJSOPR Offline
                realJSOP
                wrote on last edited by
                #8

                Are you supposed to be a programmer, or what? If you don't have the maturity to recognize an answer as being viable, don't respond to it. There's no way to programatically detect whether or not a speaker is plugged in, nevermind trying to detect if they're turned on. If you had any coding skills, you MIGHT be able to do it on USB speakers, but definitely NOT when something is plugged into a RCA jack on a sound card.

                .45 ACP - because shooting twice is just silly
                -----
                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                X 2 Replies Last reply
                0
                • P PIEBALDconsult

                  Yes. Note the joke icon.

                  realJSOPR Offline
                  realJSOPR Offline
                  realJSOP
                  wrote on last edited by
                  #9

                  I thought it was a good answer, and thought his response was crap. Maybe my tolerance is kinda low after having seen some of the Quick Answer questions this morning.

                  .45 ACP - because shooting twice is just silly
                  -----
                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                  -----
                  "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                  1 Reply Last reply
                  0
                  • realJSOPR realJSOP

                    Are you supposed to be a programmer, or what? If you don't have the maturity to recognize an answer as being viable, don't respond to it. There's no way to programatically detect whether or not a speaker is plugged in, nevermind trying to detect if they're turned on. If you had any coding skills, you MIGHT be able to do it on USB speakers, but definitely NOT when something is plugged into a RCA jack on a sound card.

                    .45 ACP - because shooting twice is just silly
                    -----
                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                    -----
                    "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                    X Offline
                    X Offline
                    Xelalem
                    wrote on last edited by
                    #10

                    OK PROGRAMMER.....Speaker verification means voice recognition... :-D if u don't understand voice recognition means recognizing who is speaking by analyzing his voice... if u still don't get it GOOGLE on "Speaker verification" :laugh:

                    realJSOPR 1 Reply Last reply
                    0
                    • T T M Gray

                      You have to be more specific about what you mean. I have seen "speaker verification" that means they use voice recognition to verify who the user is who is speaking. But if you mean that you want to verify that there are devices attached to output sound that is a different matter (and probably impossible unless you mean the internal PC speak er used for POST beeps).

                      X Offline
                      X Offline
                      Xelalem
                      wrote on last edited by
                      #11

                      I mean voice recognition

                      1 Reply Last reply
                      0
                      • realJSOPR realJSOP

                        Are you supposed to be a programmer, or what? If you don't have the maturity to recognize an answer as being viable, don't respond to it. There's no way to programatically detect whether or not a speaker is plugged in, nevermind trying to detect if they're turned on. If you had any coding skills, you MIGHT be able to do it on USB speakers, but definitely NOT when something is plugged into a RCA jack on a sound card.

                        .45 ACP - because shooting twice is just silly
                        -----
                        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                        -----
                        "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                        X Offline
                        X Offline
                        Xelalem
                        wrote on last edited by
                        #12

                        that wasn't wat i asked for. But for ur information u can detect weather a speaker is plugged in or not.... have u ever used Windows 7 or vista?

                        1 Reply Last reply
                        0
                        • X Xelalem

                          OK PROGRAMMER.....Speaker verification means voice recognition... :-D if u don't understand voice recognition means recognizing who is speaking by analyzing his voice... if u still don't get it GOOGLE on "Speaker verification" :laugh:

                          realJSOPR Offline
                          realJSOPR Offline
                          realJSOP
                          wrote on last edited by
                          #13

                          If you meant "voice recognition", you should have said "voice recognition". Dipshit...

                          .45 ACP - because shooting twice is just silly
                          -----
                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                          -----
                          "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                          1 Reply Last reply
                          0
                          • X Xelalem

                            I need to create a speaker verification software in c#.Is there any API like SAPI to do this? i googled for a while and i only get licenced DLL(800$). is there any article written about speaker verification in .net

                            R Offline
                            R Offline
                            RaviRanjanKr
                            wrote on last edited by
                            #14

                            The System.Speech.Recognition engine is used to recognize a user's voice and convert it into text. The SAPI 5.3 recognition engine supports the W3C standard -- Speech Recognition Grammar Specification (SRGS), a markup language that defines how and what words are recognized, and also added support for Semantic Interpretation. take a look at this[^] article for more details.

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups