lisa-client-android's People
Forkers
tapindesneigeslisa-client-android's Issues
Connection as a service
The connection should be in a dedicated service to manage it easily :
- Connect / Disconnect button in the menu
- Ability to change parameters (host, port, etc ...) then reconnect
- Manage the switch of connection (3G <=> wifi)
- Reconnection ability
LOGIN command
On connection, the client need to send a LOGIN command :
{
"from": hostname,
"type": "command",
"body": "LOGIN",
"zone": zone_variable,
}
Then, it receive this json :
{
u'body': u'The client join the zone named zone_variable',
u'from': u'LISA Server',
u'clients_zone': [u'sender'],
u'bot_name': u'lisa',
u'command': u'LOGIN',
u'type': u'command'
}
The client should set the internal variable bot_name to 'lisa' and vocalize the sentence in 'body'
Client is not listening on the stream
When sending a text to the server, it listen for an answer.
The correct behavior is to always listen on the stream.
For example, by using the API to broadcast a message to all connected clients :
http://demo.lisa-project.net/api/v1/lisa/speak/?format=json
Send with POST :
message: test
clients_zone: all
It will broadcast the message on all connected clients (websocket etc), but we'll receive nothing in the android client
Keyword Spotting
The application should have a service (optional, can be enabled or disabled in the settings) : keyword spotting.
When the client connect and send a LOGIN command, it receives the bot_name.
The service should always listen (offline recognition) this bot name ("lisa" by default), then run a recognizer to record the next sentence.
If disabled, the service won't run and you will need to manually use the speak button to run the recognizer.
The gast-lib implement it : https://github.com/gast-lib/gast-lib
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.