loading
2
1Instructables2,758Views15Comments
Developer, Designer, Researcher

Achievements

  • TJBot - Use your voice to control a light with Watson

    Hi MauricioM82,You are correct, the issue is definitely related to the app having difficulty setting up audio. For arecord on command line, do you pass any parameters for your app to work correctly ? For example if your sound input might be listed with an unexpected hardware ID or might need several parameters to work. To find out your hardware device ID run arecord -L ,and then specify that as a parameter when you instantiate the mic in stt.js.In the sample apps we provide, we use the mic npm library (https://www.npmjs.com/package/mic) to record audio. You can provide hardware options when you instantiate your mic to record audio e.g var micInstance = mic({ 'rate': '44100', 'channels': '2', 'debug': false, 'exitOnSilence': 6, 'device': 'plughw:1,0' });A related issue (solved) on reco...see more »Hi MauricioM82,You are correct, the issue is definitely related to the app having difficulty setting up audio. For arecord on command line, do you pass any parameters for your app to work correctly ? For example if your sound input might be listed with an unexpected hardware ID or might need several parameters to work. To find out your hardware device ID run arecord -L ,and then specify that as a parameter when you instantiate the mic in stt.js.In the sample apps we provide, we use the mic npm library (https://www.npmjs.com/package/mic) to record audio. You can provide hardware options when you instantiate your mic to record audio e.g var micInstance = mic({ 'rate': '44100', 'channels': '2', 'debug': false, 'exitOnSilence': 6, 'device': 'plughw:1,0' });A related issue (solved) on recording from a bluetooth and usb mic can be found here https://github.com/ibmtjbot/tjbot/issues/12

    Great!We use the RGB Neopixel LED based on the ws2812 protocol.https://www.adafruit.com/products/1734Really look forward to seeing what you build! Pictures, videos ? You can share on twitter #tjbotV.

    View Instructable »
  • Build a talking robot with Watson Conversation

    HI CallistoB,This tends to occur when the pi needs some time to synchronize a datastream sent over hdmi in some cases. This time is usually fixed so you can add some initial text that plays first e.g (Hello there. Hello what can I do for you?). Another alternative is to use a 3.5mm audio output or usb audio.Please see the link below for additional information.www.instructables.com/id/Build-a-Talking-Robot-Wit...

    View Instructable »
  • Build a Waving Robot using Watson Services - TJBot Edition

    Hi ...The right way to install pigpio (and all other dependencies) would be to run npm install ... in your home directory. Have you been able to do this ?-V

    From your description, all appears to be ok!I just looked through the config.default.js file, and see there are some case difference (error on my part ... missed that in a recent change). Its possible that in our config file the variable name case might be slightly difference from whats used in wave.js. Specifically ... should be exports.STTPassword and not exports.STTpassword.... sorry about this ...Please give it a try and let me know ....Also feel free to reach out on tjbot@us.ibm.com or open an issue directly on the github repository ... https://github.com/victordibia/tjwave/issues/new . I look forward to seeing what you build .. post on twitter (#tjbot)exports.STTPassword = ''; // Speech to text passwordexports.STTUsername = ''; // Speech to text usernameexports.STTCustomization...see more »From your description, all appears to be ok!I just looked through the config.default.js file, and see there are some case difference (error on my part ... missed that in a recent change). Its possible that in our config file the variable name case might be slightly difference from whats used in wave.js. Specifically ... should be exports.STTPassword and not exports.STTpassword.... sorry about this ...Please give it a try and let me know ....Also feel free to reach out on tjbot@us.ibm.com or open an issue directly on the github repository ... https://github.com/victordibia/tjwave/issues/new . I look forward to seeing what you build .. post on twitter (#tjbot)exports.STTPassword = ''; // Speech to text passwordexports.STTUsername = ''; // Speech to text usernameexports.STTCustomizationid = '' // Speech to text Customization id (if you are using a customized language model)//Credentials for Watson Text to Speech serviceexports.TTSPassword = ''; // Text to speech passwordexports.TTSUsername = '';// Credentials for Watson Conversation serviceexports.ConPassword = ''; // conversation service passwordexports.ConUsername = ''; // conversation service usernameexports.ConWorkspace = ''; // Conversation workspace id// Credentials for Vision Apiexports.VisionKey = '';exports.VisionVersion = '2016-05-19';exports.version = 'v1';

    Hi,Glad you could get the arm and LED moving!The error you see suggests that your credentials have not been entered into config.js or you may have entered it into a config.js file in a different directory.Please ensure that your credentials are in the file exactly named config.js and not config.default.js or config.sample.js. Also ensure that you have config.js in the correct folder. This should work out well.best.-V

    View Instructable »
  • Build a talking robot with Watson Conversation

    Hi Pedro,Thanks for sharing the error above.From your screenshot, it appears you have only mentioned your keyword and have not said anything else. For example "Watson how are you doing" will send the text "how are you doing" to the conversation api. Saying only "Watson" will send an empty text to the conversation api, hence your error. Another good way to get quick help is to open an issue describing your problem on github (https://github.com/ibmtjbot/tjbot/issues/new)Best.V.

    View Instructable »
  • Build a talking robot with Watson Conversation

    Hi Xmrrobot,Its super cool that you are working on this! Sorry about the error, I'm happy to help you troubleshoot this. A few things1.) Verify you have the correct credentials in config.js (make sure its not empty also)2.) Verify that you have an active internet connection on your pi (pop open a browser window verify you are able to open google.com or any other webpage)3.) If the above doesnt work, send us a copy of your project files at (tjbot [@] us.ibm.com).Victor.

    View Instructable »
    • Build a Waving Robot using Watson Services - TJBot Edition
      1,075 views
      19 favorites
      2 comments
  • Build a talking robot with Watson Conversation

    Hi AlexanderT78,Can you paste your conversation.js code, just to verify you have the recent file?To be completely sure, try downloading the project again from github, adding you credentials and running again.Victor.

    View Instructable »
  • Build a talking robot with Watson Conversation

    Hi Alexander,Thanks for reporting this. There was a speech to text parameter (smart_formatting) that was incorrectly specified as string. This has now been corrected (conversation.js, line 91). Please pull the repo again to test.Victor

    View Instructable »
  • victordibia followed Makeblock Robotics2 months ago
      • How to Use Scratch or Arduino to Program a MBot
      • 3D Capture B by Makeblock
      •  How to do a cartoon project with Airblock and paper cups
  • Build a Waving Robot using Watson Services - TJBot Edition

    Hi,Thanks! More info on tjbot can be found here .. https://www.ibm.com/blogs/research/2016/11/calling-makers-meet-tj-bot/ .There are also some really nice instructables on it too https://www.instructables.com/howto/tjbot/

    View Instructable »
  • victordibia made the instructable Build TJ Bot out of Cardboard3 months ago
    Build TJ Bot out of Cardboard

    Awesome process piecing each part of the lasercut TJBot together!

    View Instructable »
  • Use your voice to control a light with Watson

    Hi MarkK236,Can you confirm you have set up your bluemix speech to text credentials correctly in config.js?Usually if your speech-to-text credentials are incorrect (or missing), you will get this error. Please see step 5 for how to add your Bluemix credentials to config.jshttps://www.instructables.com/id/Use-Your-Voice-to-...Please let me know if this helps!V.

    View Instructable »