hatnote / listen-to-wikipedia

Live, generative music from Wikipedia edits
http://listen.hatnote.com
Other
818 stars 103 forks source link

creating an Amazon Alexa skill #30

Open jfayre opened 7 years ago

jfayre commented 7 years ago

Hello, I would like to attempt to create an Amazon Alexa skill to listen to this. Can anyone suggest how I might go about doing this? Amazon has an audio API, but it requires a stream over https. I can install the code on my own server, but I'm not sure how to go about getting the audio and sending it out via a stream. Would I be better off re-implimenting the code in something like Python and generating the stream that way. I don't need graphics, just the audio.

mahmoud commented 7 years ago

Hi jfayre! I'm curious what's meant by stream here. Can you link me to some docs? Last time I did streaming audio, pretty sure it was ICE, but I'd be surprised if that's the format these days :)

jfayre commented 7 years ago

Documentation on the Alexa audio interface can be found at: https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/custom-audioplayer-interface-reference

Basically, I would need to convert the audio output of LTW into a mp3, ogg or aac stream.

On 12/7/16, Mahmoud Hashemi notifications@github.com wrote:

Hi jfayre! I'm curious what's meant by stream here. Can you link me to some docs? Last time I did streaming audio, pretty sure it was ICE, but I'd be surprised if that's the format these days :)

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/hatnote/listen-to-wikipedia/issues/30#issuecomment-265593770