Comments (5)
I found this file
/home/pi/tjbot/recipes/conversation/node_modules/watson-developer-cloud/speech-to-text/recognize_stream.js
and I changed the value of inactivity_timeout, and stay up longer.
Is this the right way to do it!?
from tjbot.
Hi @ghettokon
Exactly right! Thats the right way to do it!
You will need to add this flag to your tjbot config when you instantiate it .. listen.
var tjConfig = {
log: {
level: 'verbose'
},
listen: {
microphoneDeviceId: "plughw:1,0", // plugged-in USB card 1, device 0; see arecord -l for a list of recording devices
inactivityTimeout: -1, // -1 to never timeout or break the connection. Set this to a value in seconds e.g 120 to end connection after 120 seconds of silence
language: 'en-US' // see TJBot.prototype.languages.listen
}
};
Let me know if this helps!
from tjbot.
from tjbot.
Yes, this is the case.
You can read more on the limits here - https://www.ibm.com/watson/developercloud/doc/speech-to-text/index.html.
-V.
from tjbot.
@victordibia Would you have an idea why my TJBot isn't listening the right sentence??
I speak: Turn off the light, and he understands no sense words
from tjbot.
Related Issues (20)
- Find a new replacement for the Anker Mini Bluetooth Speaker, which has been discontinued HOT 2
- Write down the instructions for how to push out a new TJBot release
- Migrate instructions content to the GitHub wiki HOT 11
- Get started with Discussions
- Design new recipe that uses watsonx.ai to have TJBot tell a story
- Rename `conversation` recipe to `conversation-assistant` HOT 4
- Add new recipe for `conversation-watsonx` HOT 1
- Tag recipes based on which RPi hardware they support
- Update bootstrap with latest instructions for installing node.js on RPi
- Update `conversation_assistant` recipe to import ibm-cloud and use the assistant API directly HOT 2
- Figure out how to make `conversation_watsonx` work in javascript HOT 1
- Remove or rework `translator` recipe HOT 1
- Remove or rework `sentiment-analysis` recipe HOT 1
- Add python equivalents for existing recipes?
- Add temperature sensor support to speech_to_text
- Add temperature support to conversation_assistant
- Verify TJBot build, hardware tests, & recipes on RPi 5
- Clean out outdated recipes HOT 3
- Move API into Speech to Text recipe HOT 3
- Clean up filenames on 3D print pieces to make it clear what components are used on RPi 3/4/5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tjbot.