- Install Python 3.6 from the official Python downloads website on your machine
- Install
pipenvby runningpip install pipenv - Open up command line in the directory on this project.
- Run
pipenv install
python ajax.py <config-file-name>
Opens up a web browser and searches for <item> in the respective platform. For wiki, will print a summary in the command prompt and read it out.
Reads you a dictionary definition of the word. Works offline and online.
Words in the square brackets are optional. It will search for music on your computer and shuffle play.
Self explanatory
Reads you 5 articles from Straits times. Prints them on the command prompt.
Reads you the weather conditions for the next 12 hrs in 3 hr increments.
Tells you a programming related joke. Only programming nerds can understand.
Self explanatory. Make sure you've ready saved your work.
- Speech Recognition Recognizer documentation
- PyAudio whl file repository for WINDOWS
- Python caching tool
- Rasa Python API
- How to fix - Python 3.6 contains broken python 2 concurrent futures packages
- Downgrade setuptools to 45.2.0
- How to build an event system implementing Observer pattern
- How to read an uncompressed epub file
- 4 principles of config mgmt
- Static
- Use literals not string keys
- Define them close to where they are used
- Early validation
- Indepth python logging tutorial
- Arduino WIFI ESP8266
I have enough information to implement these fixes:
Still need do research to implement them
- Make sound features more OS independent(file system, config and playsound function)
- Sound libraries are OS dependent
- Current sound features are injected into receivers using mixin interfaces. Each sound mixin depends on a
SoundEnginewhich is solely responsible for playing sound. Sound mixins are solely responsible for using theSoundEngine. - Can implement sound features for both windows and OS by modifying the
SoundEngineclass to adapt to the current OS. - Need a library that can play sound asynchronously for linux.
- Modify or extend the SoundEngine class into different versions for different OSes.
- Adjust for ambient noise only when needed. Incorporate with user analytics. Only when needed := Fail to twice in a row := Kena default command twice in a row
- Test code on Linux system. See if feasible and make it OS independent
- If computer is playing audio && wake word is heard, lower computer volume temporarily
- will make it more windows OS oriented tho
- Sort the music into genres
-
Maybe incorporate exrex - A reverse Regex generator
-
User analytics
- To adjust the timeout, phrase timeout, etc
- Pocketsphinx is not supported beyond python 3.6. The python version was downgraded to support pocketsphinx so as to enable offline transcription.
- rasa init fails with import error "composition view" remedy
- Should not move the project if it has an existing virtualenv living in the system. Otherwise need to reset the virtualenv by deleting and re-creating it from the Pipfile
- Pyaudio requires a different dependency on raspberry pi, which in turn depends on portaudio. Install portaudio 1st.