All Projects → grimlockrocks → alexa-swift3-sample-app

grimlockrocks / alexa-swift3-sample-app

Licence: other
A sample iOS/Swift3 app that brings Alexa Voice Service to your phone.

Programming Languages

objective c
16641 projects - #2 most used programming language
swift
15916 projects
C++
36643 projects - #6 most used programming language
Objective-C++
1391 projects

Projects that are alternatives of or similar to alexa-swift3-sample-app

go-avs
A simple package for communicating with Amazon’s HTTP/2 API for AVS.
Stars: ✭ 25 (-47.92%)
Mutual labels:  alexa, alexa-voice-service
go-snowboy
Go wrapper for Kitt-AI's snowboy audio detection library.
Stars: ✭ 40 (-16.67%)
Mutual labels:  alexa, alexa-voice-service
ad-alexatalkingclock
Alexa (or other Smart Speakers) tell you the time without asking every hour. Please ⭐️if you like my app :)
Stars: ✭ 30 (-37.5%)
Mutual labels:  alexa, alexa-voice-service
alexa-ruby
Ruby toolkit for Amazon Alexa service
Stars: ✭ 17 (-64.58%)
Mutual labels:  alexa, alexa-voice-service
SinricPro Generic
Simple way to control your IOT development boards like ESP8226, ESP32, Arduino SAMD21, Adafruit SAMD21, SAMD51, nRF52, STM32, Teensy, SAM DUE with Amazon Alexa or Google Home
Stars: ✭ 18 (-62.5%)
Mutual labels:  alexa, alexa-voice-service
Alexa
New version is at https://github.com/respeaker/avs
Stars: ✭ 49 (+2.08%)
Mutual labels:  alexa, alexa-voice-service
alexa-spotify-connect
Control Spotify Connect devices with Alexa
Stars: ✭ 92 (+91.67%)
Mutual labels:  alexa
Azure4Alexa
Create and Host Alexa Custom Skills using .NET and Azure
Stars: ✭ 48 (+0%)
Mutual labels:  alexa
lex-bot-tester
AWS Lex Bot Tester
Stars: ✭ 16 (-66.67%)
Mutual labels:  alexa
node-red-contrib-alexa-home
No description or website provided.
Stars: ✭ 31 (-35.42%)
Mutual labels:  alexa
ask-console-chrome-extension
⚡️ Chrome Extension for faster testing in the Alexa Skill Simulator
Stars: ✭ 37 (-22.92%)
Mutual labels:  alexa
voice-landing-page
Free Landing Page Bootstrap Template for Alexa Skills and Google Actions
Stars: ✭ 21 (-56.25%)
Mutual labels:  alexa
codigo-tutoriales-blog
Código de ejemplo para el desarrollo ágil de aplicaciones con Java
Stars: ✭ 16 (-66.67%)
Mutual labels:  alexa
alexa-skill-heytube
Alexa Skills to Play a Single Audio or Multiple Audio from YouTube Videos
Stars: ✭ 26 (-45.83%)
Mutual labels:  alexa
HuntTheYetiAlexa
Play the game Hunt the Yeti on the Amazon Echo
Stars: ✭ 17 (-64.58%)
Mutual labels:  alexa
Alexa-skills-starters
💻 A collection of super cool Amazon Alexa skills for complete newbies. 💻
Stars: ✭ 24 (-50%)
Mutual labels:  alexa
alexa-skill-test-framework
Framework for easy offline black-box testing of Alexa skills.
Stars: ✭ 64 (+33.33%)
Mutual labels:  alexa
alexa-verifier-middleware
An express middleware that verifies HTTP requests sent to an Alexa skill are sent from Amazon.
Stars: ✭ 31 (-35.42%)
Mutual labels:  alexa
serverless-alexa-skills
Manage your Alexa Skills with Serverless Framework
Stars: ✭ 69 (+43.75%)
Mutual labels:  alexa
alexa-skills-kit-golang
GoLang port of the Amazon Alexa Skills Kit
Stars: ✭ 48 (+0%)
Mutual labels:  alexa

alexa-swift3-sample-app

A sample iOS/Swift3 app that brings Alexa Voice Service to your phone.

Disclaimer: This repository is not affiliated with, maintained, authorized, endorsed or sponsored by Amazon or any of its affiliates. Please use it as an example to learn Alexa Voice Service. The code is not production level, rather, a prototype that demonstrates the capability of Alexa. Please refer to the official instructions from the website.

Features:

Instructions:

  • Check-out the code, modify Bundle Identifier to something you like.
  • Register a new product with Alexa Voice Service, select product type: application. Write down your Application Type ID.
  • Create a Security Profile, create a new API key with your new Bundle Identifier under iOS Settings. Write down your Key.
  • Modify the value of APPLICATION_TYPE_ID under "Settings.swift" to use your Application Type ID.
  • Modify the value of APIKey under "info.plist" to use your API key.
  • Modify the entries under "info.plist" -> URL types, replace URL Schemes -> Item 0 and URL identifier with your Bundle Identifier. Note that CFBundleURLSchemes needs to have prefix "amzn-".
  • To change parameters such as ASR Profile, modify the value of AUDIO_EVENT_DATA under "AlexaVoiceServiceClient.swift".

Demo 1 - Ping

  • Run the app.
  • Click "Ping", then you will see "Ping Success!".

Demo 2 - Weather (or any question)

  • Run the app.
  • Click "Push to Talk", then speak: "What's the weather?".
  • Click the button again to stop recording.
  • Wait for Alexa's response.

Demo 3 - Timer (Downchannel)

  • Run the app.
  • Click "Start Downchannel & Synchronize State, wait for "Sync Success!".
  • Click "Push to Talk", then speak: "Set a timer for 10 seconds".
  • Wait for 10 seconds, then you will see "Time is up!".

Demo 4 - Wake Word "Alexa"

  • Run the app.
  • Click "Start Wake Word".
  • Say "Alexa", once the wake word is succesfully detected, you will see "Alexa is listening". Then say "What day is it today?".
  • You will see "Waiting for Alexa to respond...".
  • Finetune the values in Settings.swift, namely: SENSITIVITY for wake word detection; SILENCE_THRESHOLD for when to stop recording and send the audio to Alexa.
  • There are several improvements you can do to improve wake word accuracy, e.g. audio buffer size. This demo is more or less a proof of concept.

See the official AVS GitHub here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].