Comments (3)
Hi @zx-stark,
- Which interface in AIP we can load when WWE trigger the AIP to enter the listening state? is it AbstractKeywordDetector::notifyKeyWordObservers?
If you would like to utilize a KWD with AIP, you will need to implement KeyWordObserverInterface
, register your implementation as an observer of your KWD, and in your implementation of KeyWordObserverInterface::onKeyWordDetected()
, call AudioInputProvider::recognize()
. There is an example of this in AudioInputProcessorIntegrationTest.cpp
- see the wakeWordTrigger
class.
- Which interface we can load to tell the avs about system event? such as wifi state.
That is part of the UX Guidelines - specifically the "System Error" state. The current release of the SDK does not address UX Guidelines, but will add this in a future release.
- Has the red circle part in the picture (read data from SDS to AIP )been realized in AVS SDK?
Yes. When you call AudioInputProcessor::recognize()
, you pass an AudioProvider
as one of the parameters. The AudioProvider
contains a std::shared_ptr
to an AudioInputStream
, which in turn is an alias for a SharedDataStream
. AudioInputProvider
creates a reader from that stream, and passes it to a MessageSenderInterface
(typically an AVSConnectionManager
), which proceeds to stream audio data from the reader to AVS.
Ken
from avs-device-sdk.
@zx-stark, to add some more clarify on 2, currently things like WiFi or network connection status will not directly be used in the SDK (no listeners for those events). Instead, you will inform different libraries of the state. For instance, you can inform ACL that the network connection is up and to connect by using the AVSConnectionManager::enable()
function, and when the network connection goes down, AVSConnectionManager::disable()
. You can also trigger an immediate connection retry using AVSConnectionManager::reconnect()
.
from avs-device-sdk.
Closing for now. Please reopen if you have further questions on this topic.
from avs-device-sdk.
Related Issues (20)
- gtest error during sampleapp build HOT 1
- Another "Failed to create SampleApplication" HOT 1
- Skill cant run on uncertified device HOT 1
- Saved configuration file after that it not loading configuration built complete i tried the ls command and there is no sampleapp.sh file
- Is there is any support for avs sdk integration for free RTOS ?
- Issue with Installation - Stuck at Building DefaultClient and DefaultClientBuilder HOT 2
- Failed to create SampleApplication - Alexa install Raspberry HOT 1
- Music Fails to Play - `dialogRequestId` mismatch when using voice command from phone to SampleApp
- The process of getting wakeword library PryonLite v2.18.0
- Alexa App latest update for FireHD 10 Tablets - BUGS HOT 8
- How to install alexa in raspberry pi zero w. I am unable to install pls help me on this
- Torie2
- MAZONLITE_KEY_WORD_DETECTOR or AMAZON_KEY_WORD_DETECTOR.
- Auth state does not update in expired state
- SampleApp compilation errors HOT 1
- I didnt get it, Internet is not reachable
- Error When Building SDK. "[21%] Linking CXX executable AlertSchedulerTest" HOT 1
- Raspberry Pi3 B+ avs Build Fail 93%
- Raspberry Pi3 B+ avs Build Fail 93%
- 14%] Linking CXX executable InMemoryCommunicationInvokeHandlerTest HOT 1
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 avs-device-sdk.