Error: No voice recognition in Big Box

Issue #1724 resolved
Alex Dubois created an issue

Hi Jason,

Love your work and your livestreams! You've put the love of emulation (and gave me a reason to disappear from society for a few months while I rebuild my collection)

Anyways, here's the issue:

I wanted to try out the voice recognition feature, so I activated it through launchbox, exited out and loaded big box. I used the default microphone/displays setup with my PC out of fear of possible configuration issues were I to send it all through my mike/TV setup a bit farther away (and also because I was a bit excited).

I tried saying "Big box" and "Launch box", to which I received no feedback.

Big box went into attract mode, I figured I must have missed something somewhere so I hit escape to go and look over the options again.

Due to the wheel spinning at the time, it waited a few seconds before exiting into the main menu as expected. I then scrolled down to get to "Exit", where, after a few menu items flashing by, I was greeted with the below error message. Big box did not crash and was fully functional otherwise, I managed to exit properly. Figured I should let you know.

System.NullReferenceException: Object reference not set to an instance of an object. at (SoundEffect , Single ) at BigBox.Audio.SoundEffect.Play(Single volume) at BigBox.Audio.SoundManager.PlayMove(Boolean forceAttractModeVolume) at (MainViewModel ) at BigBox.ViewModels.MainViewModel.OnDownHeld() at (MainViewModel , KeyEventArgs ) at BigBox.ViewModels.MainViewModel.HandleKeyDown(KeyEventArgs e) at (MainView , Object , KeyEventArgs ) at BigBox.Views.MainView.MainView_OnPreviewKeyDown(Object sender, KeyEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey) at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled) at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers) at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Comments (4)

  1. Alex Dubois reporter

    Update: Upon loading launchbox again, it seems that the "Enablevoice recognition" boolean didn't get saved. I had to re-select it through the options menu.

    Update 2: Got it working fine now (no more errors), although there is something odd-

    If you switch from launchbox to big box by using voice recognition, you are then unable to switch back to launch box from big box by using voice commands due to "This command is only available when in bix box".

  2. Log in to comment