[Tool] Speech Recognition Tool

A hub for everything related to NBA 2K12 modding. Releases, previews, requests, and other modding discussion belongs here.

Re: [Tool] Speech Recognition Tool v0.1

Postby jaelove on Mon Oct 01, 2012 10:31 am

the tool won't run for me and I have net framework installed
jaelove
 
Posts: 713
Joined: Tue Oct 12, 2010 3:50 am

Re: [Tool] Speech Recognition Tool v0.1

Postby Leftos on Mon Oct 01, 2012 10:38 am

Try reinstalling .NET Framework 4 then. Download it from the link in the first post, and click on Repair when it asks you.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Speech Recognition Tool v0.1

Postby jaelove on Mon Oct 01, 2012 10:50 am

I did and it still doesn't work is the tool for 32 bit and 64 bit systems because I have a 64 bit system
jaelove
 
Posts: 713
Joined: Tue Oct 12, 2010 3:50 am

Re: [Tool] Speech Recognition Tool v0.1

Postby Leftos on Mon Oct 01, 2012 10:54 am

I'm on Windows 7 64-bit as well. Any specific error you're getting? Or just "stopped responding"?

I'll implement some error reporting features tomorrow like the ones all my other tools have, maybe that'll help.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Speech Recognition Tool v0.1

Postby jaelove on Mon Oct 01, 2012 10:56 am

it just says NBA 2K speech recognition tool has stopped working
jaelove
 
Posts: 713
Joined: Tue Oct 12, 2010 3:50 am

Re: [Tool] Speech Recognition Tool v0.1

Postby Leftos on Mon Oct 01, 2012 11:06 am

Okay. Give me a few hours to sleep (it's 4AM here right now), and I'll be back with a version that has proper error reporting. We'll find the bug and squash it.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Speech Recognition Tool v0.1

Postby jaelove on Mon Oct 01, 2012 11:25 am

looking forward to it this tool looks so amazing
jaelove
 
Posts: 713
Joined: Tue Oct 12, 2010 3:50 am

Re: [Tool] Speech Recognition Tool v0.1

Postby Laker06 on Mon Oct 01, 2012 11:29 am

:applaud: I just finished a game using this tool and its awesome Leftos! (Y)
[img]http://solecollector.com/media/sneakers/images/nike-basketball-presents-count-on-kobe-header.jpg[/img ]
User avatar
Laker06
 
Posts: 98
Joined: Wed Jan 18, 2012 10:15 pm

Re: [Tool] Speech Recognition Tool v0.1

Postby ramuajith on Mon Oct 01, 2012 1:58 pm

Works like a charm. Thanks Leftos!!! :bowdown2: :bowdown2: :bowdown2:
User avatar
ramuajith
 
Posts: 18
Joined: Thu Aug 16, 2012 1:09 am
Location: India

Re: [Tool] Speech Recognition Tool v0.1

Postby houston832 on Mon Oct 01, 2012 3:35 pm

Wow man, that's awesome. Great work. :bowdown: :applaud: :bowdown2:
User avatar
houston832
 
Posts: 30
Joined: Tue Jul 03, 2012 3:11 pm

Re: [Tool] Speech Recognition Tool v0.1

Postby Darth_Jor-El on Mon Oct 01, 2012 9:11 pm

Wow you're really a genius man... never thought anyone would create this for PC.. nice job..
Darth_Jor-El
 
Posts: 74
Joined: Sat Mar 12, 2011 11:19 am

Re: [Tool] Speech Recognition Tool v0.1

Postby LROBA on Mon Oct 01, 2012 11:43 pm

when i see Leftos name on the work i know it will be 100%.. :bowdown2: bow down.
Image
Image
User avatar
LROBA
 
Posts: 79
Joined: Mon Oct 01, 2012 11:25 pm

Re: [Tool] Speech Recognition Tool v0.1

Postby Magic Tmac1 on Tue Oct 02, 2012 12:09 am

Hi Leftos, can you explain better where to put these files and if we have to do something to get this working (run the speech.exe for example) ? I read about "start listening", but when I say it nothing happens, and if I call a play or an iso o everything else nothing happens. Then another question: to make this work, do we only have to play with keyboard? Thanks!
From Italy, Romagna rulez!!!
User avatar
Magic Tmac1
 
Posts: 42
Joined: Tue Aug 02, 2011 7:23 pm
Location: Romagna, Italy

Re: [Tool] Speech Recognition Tool v0.1

Postby seanjohn2525 on Tue Oct 02, 2012 12:25 am

bro this is unbelievable :bowdown2: :bowdown2:
just planning to buy 360 next week for 2k13 but change my mind after knowing this... thanks for this man (Y) (Y)
i just saved 15K hahahaha
User avatar
seanjohn2525
 
Posts: 1410
Joined: Tue Oct 20, 2009 7:03 pm
Location: imus, cavite

Re: [Tool] Speech Recognition Tool v0.1

Postby seanjohn2525 on Tue Oct 02, 2012 12:27 am

by the way bro, can this tool run in 2k13??
User avatar
seanjohn2525
 
Posts: 1410
Joined: Tue Oct 20, 2009 7:03 pm
Location: imus, cavite

Re: [Tool] Speech Recognition Tool v0.1

Postby Leftos on Tue Oct 02, 2012 1:48 am

First of all, thanks for your nice comments everyone.

Now, to run this properly, you just need to extract anywhere, run the EXE, and read the Readme (duh). The Readme has the first-time setup that you should do in-game (you need to remap the keyboard controls; make sure to save the user profile assigned to the keyboard after you change the controls so that they don't reset every time you quit the game) and all the commands you can say.

To test the program out, say anything and see if it reports "Speech Detected". Try a command from the list in the Readme, and see if it recognizes it. If you say "Computer?", it should respond. :P In the game, after you set-up the keyboard controls, you can play with whatever controller you want, just make sure the keyboard is either not assigned to any team, or that it is assigned to your team if you're playing with the keyboard.

As for a tip, since the tool will need to take over control for the few moments that your command is being executed, make sure not to be using the controller when you're calling out a voice command, or to stop using it just as you finish speaking the command. When you practice the timing, you'll see that the tool can be really responsive, without taking control from you for too long.

So, if you say "Get Open", just as you finish the word "Open" stop doing anything on your controller, and once your teammate starts his movement and the command has been executed (or the Playcalling Message has been shown; I HIGHLY recommend you enable those for "User Plays Only" in the Coaching Settings), you can start using your controller to do whatever with your player. You can see the timing (and I still don't have it down perfectly) in the preview video. The circle becomes green when the tool takes over, and blue again when I do something with the controller to get back the control. Do NOT expect to be given the control back automatically (i.e. don't expect the circle to turn blue by itself); once your command starts playing out, use your controller to regain control yourself.

P.S. And yes, considering that I don't think the button combinations have changed much in 2K13, this tool should be compatible with it Day 1.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Speech Recognition Tool v0.1

Postby jaelove on Tue Oct 02, 2012 3:01 am

I don't know why it's not working for me
jaelove
 
Posts: 713
Joined: Tue Oct 12, 2010 3:50 am

Re: [Tool] Speech Recognition Tool v0.1

Postby Leftos on Tue Oct 02, 2012 3:04 am

jaelove, relax. I'm working on a BIG new version that will allow you to add custom commands and button combos, and it will include error reporting, which will help you help me find out what's going wrong for you so that we can fix it. If everything goes well, it should be up in a few hours.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Speech Recognition Tool v0.1

Postby jaelove on Tue Oct 02, 2012 3:10 am

lol I am relaxed
jaelove
 
Posts: 713
Joined: Tue Oct 12, 2010 3:50 am

Re: [Tool] Speech Recognition Tool v0.2

Postby Leftos on Tue Oct 02, 2012 6:32 am

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

Image
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Speech Recognition Tool v0.2

Postby jaelove on Tue Oct 02, 2012 8:10 am

this is the error I get

System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'NBA_2K_Speech_Recognition_Tool.MainWindow' that matches the specified binding constraints threw an exception. ---> System.InvalidOperationException: Cannot find the requested data item, such as a data key or value.
at System.Speech.Recognition.RecognizerBase.SetInputToDefaultAudioDevice()
at NBA_2K_Speech_Recognition_Tool.MainWindow..ctor() in e:\Development\Visual Studio 2010\Projects\NBA 2K Speech Recognition Tool\NBA 2K Speech Recognition Tool\MainWindow.xaml.cs:line 68
--- End of inner exception stack trace ---
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Cannot find the requested data item, such as a data key or value.
jaelove
 
Posts: 713
Joined: Tue Oct 12, 2010 3:50 am

Re: [Tool] Speech Recognition Tool v0.2

Postby Rangez on Tue Oct 02, 2012 8:12 am

hopefully you can make it in 2K13!
°°°°°Rangez°°°°°
I can accept failure, everyone fails at something. But I can't accept not trying.
Michael Jordan
NBA 2k Montage/Mix Account: http://www.youtube.com/user/Mr2KImpossible
NBA Real Life Mixes: http://www.youtube.com/user/TdotPrid3
Comment, Rate and Subscribe! :)
Rangez
 
Posts: 1245
Joined: Fri Dec 31, 2010 10:20 am

Re: [Tool] Speech Recognition Tool v0.2

Postby Leftos on Tue Oct 02, 2012 8:15 am

jaelove, seems like the tool can't access your microphone. Check your Sound options in Control Panel, and see if the default recording device is properly set to your microphone.

Rangez, as I've said, unless 2K13 has changed its control scheme for playcalling, tool is already compatible with it. You'll be able to use it as soon as you get the game.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Speech Recognition Tool v0.2

Postby Rangez on Tue Oct 02, 2012 8:17 am

Leftos wrote:jaelove, seems like the tool can't access your microphone. Check your Sound options in Control Panel, and see if the default recording device is properly set to your microphone.

Rangez, as I've said, unless 2K13 has changed its control scheme for playcalling, tool is already compatible with it. You'll be able to use it as soon as you get the game.

will you post it in the 2K13 thread if it works?
°°°°°Rangez°°°°°
I can accept failure, everyone fails at something. But I can't accept not trying.
Michael Jordan
NBA 2k Montage/Mix Account: http://www.youtube.com/user/Mr2KImpossible
NBA Real Life Mixes: http://www.youtube.com/user/TdotPrid3
Comment, Rate and Subscribe! :)
Rangez
 
Posts: 1245
Joined: Fri Dec 31, 2010 10:20 am

Re: [Tool] Speech Recognition Tool v0.2

Postby Leftos on Tue Oct 02, 2012 8:22 am

Rangez, I will, as soon as Andrew sets up the Releases subforum. I won't be able to test it myself, since the DD version is pushed back to 10/16, so I'll have the game 10/5 which is the international retail release, but I'm hoping you guys can do the testing for me until then.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

PreviousNext

Return to NBA 2K12 Modding

Who is online

Users browsing this forum: No registered users and 3 guests