Giter VIP home page Giter VIP logo

alexa-talker's Introduction

Alexa Talker

Alexa Talker is a Python program that uses text to speech to communicate with an Alexa.

Setup and Usage

Before using, you will need to install the text-to-speech module, pyttsx3.

python3 -m pip install pyttsx3

To use Alexa Talker, clone down this repository, navigate into the local repo and run:

python play.py

The program accepts the following commands:

python play.py animal # asks Alexa about a random animal
python play.py location # asks Alexa about a random location
python play.py time # asks Alexa for the time
python play.py weather # askes Alexa about the weather

The program also accepts --silent, which will attempt to lower Alexa's volume before giving a command.

python play.py weather --silent

Why?

It is possible to schedule specific commands using the Alexa app, so why the script?

I wrote this program while thinking about the idea of digital camoflauge - in order to participate in the modern social internet, we have to give up a lot of personal information. Are there ways in which we can participate without providing an accurate picture of ourselves? Is it possible to obscure or directly pollute the information companies are collecting on us?

I understand the convenience of an Alexa, but don't feel great about the idea of a device that is constantly listening in and storing things I or my family say.

I live with an Alexa in my home, but I use this program to talk to Alexa and pollute whatever recordings are being kept. I also find the idea that Alexa has a friend to talk to sort of funny.

This script was written for use on a Raspberry Pi with a small speaker. Chron jobs are set on the RPi to fire off custom Alexa commands at specific times.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.