raj10071997 / alexa-voice-service Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi @raj10071997 I want to listen the music but it says "Sorry music and radio playback are not supported in this device"
Can you assist me how can I play music?
hey,glad to be here to study your project about alexa,when i play a music,how to control it,eg:pause,resume,stop,the avs document give a complex status and we should send a seris of event to alexa,can you give me some advice
if i just click the button to begin senting Audio to Amazon,what time should i stop listenning,which paramerer should i set
in your project,we send directives interface to amazon serve evert seconds,when we catch IOException,we send the serve request immediately in Downchannel.java
We got the PRODCUT_ID and API_KEY from the amazon developer product page. Then we used that into your project, but its not supported.
What we have added as a skills and endpoint, its not reaching and not able to get the proper response from endpoint. WHY? you have an idea?
eg:define a custom skills ,i speak alexa,please turn left,how can i get intent,them i can control my device to turn left,now i get the following json:
{
"directive":{
"header":{
"namespace":"SpeechSynthesizer",
"name":"Speak",
"messageId":"40099ed0-acff-42d4-b398-92f8ae0f1e16",
"dialogRequestId":"dialogRequest-321"
},
"payload":{
"url":"cid:ValidatedSpeakDirective_amzn1.ask.skill.3088929e-d56b-4b22-a246-67d28fe2aaf7_819da5fe-ac4f-40ea-9025-f799536207dd_698848474",
"format":"AUDIO_MPEG",
"token":"amzn1.as-ct.v1.ThirdPartySdkSpeechlet#ACRI#ValidatedSpeakDirective_amzn1.ask.skill.3088929e-d56b-4b22-a246-67d28fe2aaf7_819da5fe-ac4f-40ea-9025-f799536207dd"
}
}
}
i can not get useable field to judge my intent
but when i say set a alarm,i get:
{
"directive":{
"header":{
"namespace":"Alerts",
"name":"SetAlert",
"messageId":"f8c02ddb-b0a3-45f7-bbce-c2725bedb8fb"
},
"payload":{
"type":"ALARM",
"scheduledTime":"2017-07-31T16:00:00+0000",
"token":"amzn1.as-ct.v1.Domain:Application:Notifications#DNID#7f9c588c-64cf-3802-96da-b562cf6b2267"
}
}
}
so we can get the filed like "type".so i can set alarm in my project
so,how can i define a skills let amazon web service respone useable filed to judge my intent
look forward for your replay thanks
Hi,
First of all, this is not an issue on your code but a help request.
I am implementing Alexa in Kotlin. I am able to login properly and I am able to sent voice request and response octet stream is also coming back. I wrote it to an mp3 file but the media player is giving me status failed 0x1 at prepare.
I wrote it to an external director to check the file in PC, there also it didnt work. Do we need to modify the response stream? I am beating my head on this for past 3 days. see my query at
any help appreciated
-anoop
why should we send ping request to amazon every 5 minitus,and before we sendAudioRequst we must openDownChannel,why?
hello raj10071997,
It is my honor to study your project. When i run the app, the mainactivity and the browser take turns showing in front of screen and i just cannot stop them unless i kill the process. It must be wrong somewhere. If i want to run the app, do i only need to register the api_key.txt and the security profile? I guess that i made some mistakes during creating the api key and security profile. For example, i used my own PC's MD5 and SHA256 and changed PRODUCT_ID in mainactivity with my own. What else should i pay attention to? Thanks for your help!
the demo can run in android 6.0,but can not run in 4.4.4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.