NBA 2K (Kinect-like) Speech Recognition Tool

Collapse

Recommended Videos

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Leftos
    NBA 2K AI Software Engineer
    • Oct 2010
    • 1255

    #1

    NBA 2K (Kinect-like) Speech Recognition Tool

    NBA 2K Speech Recognition Tool

    <iframe src="http://www.youtube.com/embed/z9mTPS_E8po?rel=0" allowfullscreen="" frameborder="0" height="315" width="560"></iframe>

    Inspired by the Kinect functionality of NBA 2K13, I decided to try and make a tool that will allow PC users to get as much of the same functionality as possible, with any PC microphone. Here's a preview of what I've got so far.

    We can only create shortcuts based on keypresses, so nothing too fancy. I'm starting with what's on the D-pad (Right and Left), and then maybe some position specific shortcuts based on Left Bumper + Player Icon, like "5 set a screen" to get your center to set a screen for you. Ideas? Suggestions?

    Download
    http://forums.nba-live.com/downloads.php?view=detail&df_id=3609

    Requires .NET Framework 4.
    Last edited by Leftos; 10-05-2012, 12:56 PM.
    Eleftherios "Leftos" Aslanoglou
    NBA 2K AI Software Engineer
    Visual Concepts Entertainment / 2K Sports
    Novato, CA, USA
  • Leftos
    NBA 2K AI Software Engineer
    • Oct 2010
    • 1255

    #2
    Re: NBA 2K Speech Recognition Tool

    Here's the keyboard mapping you'll need to do for this version. Make sure that a User Profile is assigned to the Keyboard as a controller and that you save that user profile after changing the controls.

    Eleftherios "Leftos" Aslanoglou
    NBA 2K AI Software Engineer
    Visual Concepts Entertainment / 2K Sports
    Novato, CA, USA

    Comment

    • myownsun
      MVP
      • Aug 2002
      • 3238

      #3
      Re: NBA 2K Speech Recognition Tool

      Leftos my good MAN, when I grow up I want to be like you!

      Fantastic work!

      Comment

      • Prometheus1138
        Rookie
        • Oct 2010
        • 43

        #4
        Re: NBA 2K Speech Recognition Tool

        Awesome! Should be fun to try out. But am I understanding correctly that you need to use keyboard controls with this, or can you use a gamepad as well?

        Comment

        • Leftos
          NBA 2K AI Software Engineer
          • Oct 2010
          • 1255

          #5
          Re: NBA 2K Speech Recognition Tool

          No, no, I'm using my gamepad. It's just that you remap the keyboard controls, because the tool sends key presses to actually do the commands you tell it to. That's why the circle changes from blue to green in the video, that's when the tool takes over and sends some key presses. Once I do anything with the gamepad again, I have full control.

          Keep in mind that when the tool tries to take over, if you're doing anything with the gamepad, the command may not work. So call plays when you have a second, not when you're too busy to give up command even for half a second or so.
          Eleftherios "Leftos" Aslanoglou
          NBA 2K AI Software Engineer
          Visual Concepts Entertainment / 2K Sports
          Novato, CA, USA

          Comment

          • Buccaneer
            Rookie
            • Oct 2011
            • 6

            #6
            Re: NBA 2K Speech Recognition Tool

            Very cool project. The software keeps crashing on me (Win 7), though. No specific error message.

            Comment

            • Leftos
              NBA 2K AI Software Engineer
              • Oct 2010
              • 1255

              #7
              Re: NBA 2K Speech Recognition Tool

              Try reinstalling/repairing .NET Framework 4. It's a rough preview, this version, but it'll soon have all the goodies all my tools have, such as detailed error reporting so that I know what's going wrong.
              Eleftherios "Leftos" Aslanoglou
              NBA 2K AI Software Engineer
              Visual Concepts Entertainment / 2K Sports
              Novato, CA, USA

              Comment

              • slimm44
                MVP
                • Sep 2005
                • 3253

                #8
                Re: NBA 2K Speech Recognition Tool

                Leftos, another great tool to enhance our gaming experience. Thanks for the work you have put into this program.
                Acts 2:38. Let the truth be told.
                John 4:23. He is seeking a seeker.
                John 3:20. Say no to normal.

                Comment

                • Leftos
                  NBA 2K AI Software Engineer
                  • Oct 2010
                  • 1255

                  #9
                  Re: NBA 2K Speech Recognition Tool

                  v0.2 released!
                  - Users can now add and edit commands.
                  - Tool will now report errors.

                  Eleftherios "Leftos" Aslanoglou
                  NBA 2K AI Software Engineer
                  Visual Concepts Entertainment / 2K Sports
                  Novato, CA, USA

                  Comment

                  • siraulo23
                    Banned
                    • Oct 2008
                    • 224

                    #10
                    Re: NBA 2K Speech Recognition Tool

                    Wow this is crazy, this thread deserves more attention, I think it's the thread title lol

                    Great work man, I'll be tryin this out

                    Comment

                    • Leftos
                      NBA 2K AI Software Engineer
                      • Oct 2010
                      • 1255

                      #11
                      Re: NBA 2K Speech Recognition Tool

                      What should the thread title be then? :P

                      Thanks for the kind words.
                      Eleftherios "Leftos" Aslanoglou
                      NBA 2K AI Software Engineer
                      Visual Concepts Entertainment / 2K Sports
                      Novato, CA, USA

                      Comment

                      • siraulo23
                        Banned
                        • Oct 2008
                        • 224

                        #12
                        Re: NBA 2K Speech Recognition Tool

                        Add "Inspired by 2k13 kinect feature" lol

                        Comment

                        • Leftos
                          NBA 2K AI Software Engineer
                          • Oct 2010
                          • 1255

                          #13
                          Re: NBA 2K Speech Recognition Tool

                          Can't change the title, only moderators can! :P

                          But if you feel the thread isn't getting enough traction, why not link to it in social media, tell your friends about it, etc?
                          Eleftherios "Leftos" Aslanoglou
                          NBA 2K AI Software Engineer
                          Visual Concepts Entertainment / 2K Sports
                          Novato, CA, USA

                          Comment

                          • lockjaw333
                            Rookie
                            • Oct 2006
                            • 143

                            #14
                            Re: NBA 2K Speech Recognition Tool

                            Leftos, this is awesome if it works. It just works with a headset?

                            Playing the demo on Xbox 360, I found some of the kinect controls so useful. Particularly the "cut to the basket" command.

                            If you are able to get this working, that would be totally awesome. Should snatch you some serious recognition too

                            Comment

                            • Leftos
                              NBA 2K AI Software Engineer
                              • Oct 2010
                              • 1255

                              #15
                              Re: NBA 2K Speech Recognition Tool

                              "If I am able to get this working?"

                              This is ALREADY working! Just download it and have fun! And it works with ANY microphone or headset. ANY microphone whatsoever. No need for expensive equipment or Kinect. A $5 microphone will do the trick just fine.

                              I'll have a new version up today that adds the "Back" button in the possible buttons for combos, and preset "Timeout" and "Intentional Foul" profiles using the Back button.
                              Eleftherios "Leftos" Aslanoglou
                              NBA 2K AI Software Engineer
                              Visual Concepts Entertainment / 2K Sports
                              Novato, CA, USA

                              Comment

                              Working...