Commit Graph

1709 Commits (408f0ef4bc5463d0b052797daa559ca3497814ef)

Author SHA1 Message Date
Isaac Ward 4dd46c4837 added eye reset when listener is created 2016-08-17 13:33:28 -05:00
Arron Atchison 12fdbf4f9d Stating PATH in the same subprocess call 2016-08-17 12:53:49 -05:00
Arron Atchison c7fd729504 added the eye volume event 2016-08-17 11:08:20 -05:00
Arron Atchison b96048a83a Merge pull request #330 from MycroftAI/issue/enclosure-commands-with-sudo-needs-path
Try setting PATH variable before sudo commands...
2016-08-17 10:23:41 -05:00
Arron Atchison 68679a65fe try setting PATH variable before sudo commands 2016-08-17 10:09:50 -05:00
Arron Atchison 6e5dfa10f9 Shortened the variable name 'proportion' to 'prop' to avoid pep8 error 2016-08-17 09:55:38 -05:00
Arron Atchison 6efa21d79a I threw a lot of int casting in to fix type errors. Volume seems to be workign great now. 2016-08-17 09:40:58 -05:00
Arron Atchison 1fff4d05c0 Version bump
Like a mostly sane monkey
2016-08-16 15:51:31 -05:00
Arron Atchison 3993934b4b Merge pull request #328 from ethanaward/feature/issues-303
Add configurable volume levels (Fixes #303)
2016-08-16 15:35:41 -05:00
Arron Atchison 76eae6341d Merge pull request #327 from ethanaward/feature/issues-321
Add checks for wifi connection (Fixes #321)
2016-08-16 15:27:51 -05:00
Ethan Ward 75c80c2d98 Issues #321 - fix pep8 2016-08-16 15:15:07 -05:00
Ethan Ward 6e633127a3 Issues #321 - Add second DNS server 2016-08-16 15:12:57 -05:00
Ethan Ward b3f89f483d Issues #321 - pep8 2016-08-16 15:12:57 -05:00
Ethan Ward 2aa54abbac Issues #321 - Integrate connection test 2016-08-16 15:12:57 -05:00
Ethan Ward 85befc16b4 Issues #321 - Add basic connectivity test 2016-08-16 15:12:57 -05:00
Arron Atchison 39116c4770 Merge pull request #325 from MycroftAI/feature/break-TTS-into-smaller-chunks
Feature/break tts into smaller chunks
2016-08-16 14:45:53 -05:00
Ethan Ward 27bc4d255e Merge branch 'master' into feature/issues-303 2016-08-16 13:57:46 -05:00
isaacnward 45bd268c66 Added support for power control through unit menu mode (#324)
* added subprocess control for unit shutdown and restart

* shell=True

* p e p 8

* added message for wifi client
2016-08-16 13:16:14 -05:00
Arron Atchison 9c2e47af8f Merge branch 'master' into feature/break-TTS-into-smaller-chunks 2016-08-16 11:05:01 -05:00
Arron Atchison 2c0e9903f6 Merge pull request #311 from MycroftAI/features/eye-volume
Features/eye volume
2016-08-16 09:47:01 -05:00
Arron Atchison 8bd2e1c4dc added regex to the speech handler instead 2016-08-15 10:09:14 -05:00
Arron Atchison 8a4145782c fixed regex to handle sentences better 2016-08-15 09:46:30 -05:00
Arron Atchison ac1b2324dd fixed pep8 error 2016-08-15 09:17:46 -05:00
Arron Atchison e761ac5a0b mimic_tts.py now splits Mimic imput into sentences, speaks them one a time. 2016-08-13 17:14:04 -05:00
Arron Atchison d55f785c55 mimic_tts.py now splits Mimic imput into sentences, speaks them one a time. 2016-08-13 17:08:23 -05:00
Arron Atchison 036b4fc226 Merge pull request #314 from MycroftAI/issue/dont-compile-pocketsphinx
Issue/dont compile pocketsphinx
2016-08-01 10:38:25 -05:00
Matthew D. Scholefield 9e0fdd0b5a Removed white space on newline to fix PEP8 2016-07-30 13:27:54 -05:00
Arron Atchison a201743ac5 added a little more verbosity to self test feature 2016-07-30 13:01:37 -05:00
Matthew D. Scholefield c95f31c371 Added white noise to hardware test (#312)
Added white noise and dialog to hardware test.
2016-07-29 18:07:15 -05:00
Arron Atchison 62a9649680 Some modifications to dev_setup, build_host_setup, and local_recognizer.py. It seems that on debian systems we can install python-pocketsphinx for the python binding. 2016-07-29 10:27:44 -05:00
Isaac Ward 90843ef113 changed variable 2016-07-28 15:57:50 -05:00
Matthew D. Scholefield 1febf1d81e Updated version number in enclosure client 2016-07-28 15:40:59 -05:00
Isaac Ward 0f69e3bdb8 added volume communication with enclosure 2016-07-28 15:23:24 -05:00
isaacnward 9d615cf21c Added enclosure functionality for IP skill (#309)
* added ip address display

* added ip address display

* added sleep for timing

* altered timing

* further increased sleep time

* altered logic

* pep8

* changed delay duration to depend on ip length

* updated sleep time

* updated sleep time

* updated sleep time

* pep8
2016-07-28 13:35:10 -05:00
Ethan Ward b7965564e1 Replace outdated mustache library (#307)
* Change mustache library to Pystache

* Remove unneeded import
2016-07-28 10:15:43 -05:00
Ethan Ward 524c5e0956 Issues #56 - Move TTS process killing to speech client (#308)
* Issues #56 - Move stop functionality into speech client

* Fix pep8

* Issues #56 - Remove old kill
2016-07-28 10:13:14 -05:00
Ethan Ward 49d644ff25 Issues #194 - Clean up Wolfram syntax (#302)
* Issues #194 - Clean up Wolfam syntax

* Issues #194 - Localize regex

* Issues #194 - fix pep8

* Issues #194 - Address feedback
2016-07-28 10:08:41 -05:00
Wolfgange3311999 ca4b189638 Fixed enclosure hardware test issue 2016-07-27 16:37:52 -05:00
Matthew D. Scholefield fde0f32863 Hardware test (#305)
* Added mic test to enclosure

* Added system.test enclosure commands

This also improves the audio test method; it now uses its own voice to make the test faster to perform

* Added set function to mycroft configuration
This allows setting config values to a particular section in the user config

* Added upload and test on first boot features

* Added mute test to enclosure
2016-07-27 15:25:31 -05:00
Wolfgange3311999 b648492331 Added min and max volumes read from config 2016-07-26 10:12:14 -05:00
Arron Atchison 96d2ad5e3e version bump 2016-07-21 14:30:47 -05:00
Arron Atchison b5dce51175 Merge pull request #300 from Wolfgange3311999/bugfix/issues-299
The volume knob now plays a noise for feedback
2016-07-21 13:15:59 -05:00
Arron Atchison 549d5fa98d Enclosure version bump 2016-07-21 12:21:12 -05:00
Wolfgange3311999 06d810903c Added different behavior when the volume is at max
Now it aknowledges the when you ask it to increase and it is at max.
When playing a noise, no noise is played
2016-07-21 11:15:55 -05:00
Wolfgange3311999 d81cc07573 Moved volume wav file and added to manifest 2016-07-21 10:07:49 -05:00
Wolfgange3311999 6fd22902a1 The volume knob now plays a noise for feedback
Before it would speak the response and degrade the UX
2016-07-20 21:22:16 -05:00
Ethan Ward b60bd99e79 Fix unused imports (#296) 2016-07-18 15:45:11 -05:00
Ethan Ward 743c430996 Update test coverage to include loading vocab (#294)
* Issues #226 - Add tests for adding vocab

* pep8

* Issues 226 - Update tests

* Issues #226 - Remove debug lines
2016-07-18 15:44:36 -05:00
Arron Atchison 30c8be28fb Merge pull request #290 from MycroftAI/feature/use-compiled-ap-voice
Feature/use compiled ap voice
2016-07-15 12:08:48 -05:00
Arron Atchison 993fe22ac6 Merge pull request #292 from Wolfgange3311999/bugfix/temp-file
Temp dict files now have generated names in /tmp/
2016-07-15 12:08:27 -05:00
Wolfgange3311999 11cdc72184 Temp dict files now have generated names in /tmp/
This prevent permission errors associated with storing things in the
/tmp/mycroft directory and with reusing files.
2016-07-15 11:40:59 -05:00
isaacnward 35ce974f14 fixed bug causing weather to occasionally not display (#291) 2016-07-15 11:26:33 -05:00
Arron Atchison 7f323c352d Merge branch 'master' into feature/use-compiled-ap-voice 2016-07-15 11:03:43 -05:00
Matthew D. Scholefield f846b83ed8 Merge pull request #287 from Wolfgange3311999/master
Moved generated dicts to temporary directory
2016-07-14 17:06:32 -05:00
Wolfgange3311999 da804d3ead Moved generated dicts to temporary directory 2016-07-14 15:50:58 -05:00
Ethan Ward c08cf8b6c1 Issues #273 - Add case for when verb is 's (#283)
* Issues #273 - Add case for when vern is 's

* Issues #273 - Remove debug lines
2016-07-14 15:36:43 -05:00
Arron Atchison 592b291116 Merge branch 'master' into feature/use-compiled-ap-voice 2016-07-14 13:34:18 -05:00
isaacnward a7fb9d2fe5 Issues/234: Weather display on faceplate (#255)
* i really need to fork

* Added weather functionality

* pep8

* uncommented line

* removed variable default values

* changed enclosure version

* edited metadata syntax
2016-07-12 10:26:18 -05:00
Ethan Ward eed3dd3af8 Update load_data_files to load regex files (Fixes #256) (#271)
* Issues 256 - Change loading all files to load regex

* Issues 256 - Readd regex call
2016-07-08 18:11:18 -05:00
Ethan Ward 44e6016d3f Issues 274 - Add base media skill to blacklisted skills (#275) 2016-07-08 18:01:50 -04:00
Åke b78988bdfa Add media base class (#267)
* Add media base class

* Clean up media base vocabulary keywords

* Rename header for common MediaSkill settings to "MediaSkill"

* Stop procedure cleaned up

* mycroft.media.stop now contains information of the message origin, this is used by the handler to make sure the calling skill doesn't stop itself.
* the play() method was renamed before_play() for clarity

* Rename _set_sink to something understandable.
2016-07-08 15:06:57 -04:00
Ethan Ward 0d8567c9c1 Revert "Feature/use compiled ap voice" (#270) 2016-07-07 18:44:06 -05:00
Matthew D. Scholefield a43b7b3ace Add new listener config options- Fixes #260 (#266)
* Added new listener config options

* Fixed audio unit tests
This adds a cleareraudio file for the wakeup test and changesto the new LocalRecognizer constructor

* Added .dict files to .gitignore
This is because they are now auto-generated on startup rather than stored permanently

* Fixed audio accuracy test for new LocalRecognizer constructor

* Added support for spaces in wake word config
In the phonemes a new word is indicated by a period character. The separating of the words actually changes the way pocketsphinx interprets the sound of it and in this case improves it

* Fixed unit test
2016-07-07 18:24:52 -05:00
Arron Atchison 58e81b04f7 removed Alan's voice from mycroft core in preperation for a mimic release with the precompiled voice (#269) 2016-07-07 16:37:21 -05:00
isaacnward c021bcbbb0 Features/mouth stocks (#261)
* added mouth stock display

* changed sleep length

* pep8
2016-07-07 13:25:19 -05:00
aatchison 21800bdc7b Merge branch 'master' into feature/user-compiled-ap-voice 2016-07-07 10:18:11 -05:00
Matthew D. Scholefield 9405dce4d9 Decreased "wake up" false positives - Fixes #189 (#252)
* Increased kws threshold for the wakeup_recognizer

* Fixed pep8 in listener

* Fixed unit tests
2016-06-30 14:22:53 -05:00
Matthew D. Scholefield 08ad57cee8 Decreased false positives (Fixes #200) (#202)
* Changed keyword to 'hey mycroft' and increased threshold
The threshold increase is necessary since the keyphrase is now more syllables

* Fixed pocketsphinxnot loading and pep8
Previously I tried using a new word called 'hey-mycroft' (with the appropriate phoenetic version in the .dict) however it worked just as well as how it is now as separate words

* Increased threshold further
2016-06-29 15:24:30 -04:00
Åke 3969a5624b Make skill directory a positional argument (#248)
this eliminates the need of always supplying --dir before the argument
that will basically always be needed.
2016-06-29 10:12:35 -05:00
Ethan Ward 90905d526c Issues 108 - Change regex to be localized (#222)
* Issues 108 - Add load_regex_files

* Issues 108 - Update weather skill with new regex syntax

* Issues 108 - Update stock skill with new regex syntax

* Issues 108 - Add stock regex file

* Issues 108 - Update time skill to use new regex syntax

* Issues 108 - Update desktop skill to use new regex syntax

* Issues 108 - Update volume skill to use new regex syntax

* Issues 108 - Update wikipedia skill to use new regex syntax

* Issues 108 - Update spelling skill to use new regex syntax

* Issues 108 - Update sms skill to use new regex syntax

* Issues 108 - Update calling skill to use new regex syntax

* Issues 108 - Remove unused argument

* Issues 108 - Add unit tests

* Issues 108 - Minor changes to fix tests

* Issues 108 - Preserve intended test logic

* Issues 108 - Address feedback

* Issues 108 - Update test formatting

* Issues 108 - Change file location
2016-06-28 16:20:48 -04:00
Matthew D. Scholefield eed03f3036 Added new compiled regex for "what's" in wolfram - Fixes #159 (#235)
* Added new compiled regex for what's
This is for verbs that don't have a space between the question word and verb

* Added support for 'whats' in wolfram

* Added tests for the EnglishQuestionParser
2016-06-28 15:13:30 -05:00
Matthew D. Scholefield d3c49b288c Removed the 'I am searching for' message from Wolfram (Fixes #193) (#206)
* Removed the 'I am searching for' message

* The interpreted question is now read instead of 'Sorry, I did not understand your request'

* Added rephrased question to the other areas where wolfram fails

* Fixed wolfram fail_response error thanks to ethanaward

* Added thinking animation
2016-06-28 15:11:45 -05:00
Arron Atchison 2e847418ac Revert version
Our enclosure builder now refuses to build any release tab beyond 0.1.3  :/
2016-06-27 17:06:51 -05:00
Arron Atchison d994593d47 Bump to current enclosure release 2016-06-27 16:47:01 -05:00
Ethan Ward 0a89a9016c WA skill will now search again if there is one `didyoumean` in the results (#236)
* Issues 192 - WA skill will now search again with top alternative

* Issues 192 - Add tests for new method

* Issues 192 - Fix pep8

* Issues 192 - Update test syntax

* Issues 192 - Change WA skill to use dialog

* Issues 192 - Address feedback
2016-06-27 17:30:45 -04:00
Ethan Ward 2a5e61bf34 Update scheduled skill formatting (Fixed #158) (#231)
* Issues 158 - Update ScheduledSkill time formatting

* Issues 158 - Add unit tests for new method changes

* Issues 158 - Change to not use date-based implementation to fix tests

* Issues 158 - Address feedback
2016-06-24 18:20:31 -04:00
Joshua McDonald 7026e334c2 Issue-212 added check_origin: true to messagebus server to allow browser connections to Mycroft (#215) 2016-06-24 15:25:59 -05:00
Arron Atchison a9c00d69c3 Merge pull request #230 from Wolfgange3311999/feature/issues-224
Added timeout override to listener - fixes #224
2016-06-23 17:27:29 -05:00
Matthew Scholefield d2dc5443ee Fixed pep8 for mic.py 2016-06-23 17:14:49 -05:00
aatchison 74ac80b00a removed Alan's voice from mycroft core in preperation for a mimic release with the precompiled voice 2016-06-23 16:34:24 -05:00
Arron Atchison 8fa6d0a2d9 Merge pull request #228 from jasonehines/speak-skill
Speak skill
2016-06-23 16:13:10 -05:00
Matthew Scholefield 54cf720f8b Added timeout override to listener and fixed bug with it
previously the listner's behavior would be influenced by the buffer size. Now, however, it is not since the noise is increased by a factor of the seconds per buffer.
2016-06-23 16:03:47 -05:00
Jonathan D'Orleans 81be192801 Issues 209 - Keep user configuration by default (#211) 2016-06-23 16:42:46 -04:00
Jason Hines 6b54ff9daf added words to intent. Added second test sample 2016-06-23 14:11:52 -04:00
Jason Hines ce514c9361 Merge remote-tracking branch 'upstream/master' into speak-skill 2016-06-23 13:43:56 -04:00
Arron Atchison 88c74cc541 Enclosure version bump for update tests
0.1.3 -> 0.1.4
2016-06-23 12:36:55 -05:00
Jason Hines a18ee10996 Initial commit of speak_skill 2016-06-23 13:33:56 -04:00
Matthew D. Scholefield 874f521194 Merge pull request #207 from Wolfgange3311999/listener-fixes
Added back session manager behavior from old listener
2016-06-23 09:15:31 -05:00
isaacnward 6b38b7dfd6 Merge pull request #184 from ethanaward/feature/issues-86
Issues 86 - Add basic personal skill
2016-06-22 15:05:59 -05:00
isaacnward 083bda8e03 Issues/122 (#220)
* added mouth spelling

* spell word after talking

* removed speech to test

* test

* re-added speech

* used emitter

* mycroft/skills/spelling/__init__.py

* emitters 102: intermediate emitters

* emitters 103: importing the right method

* trying enclosure methods

* more fixing

* sorry slack

* added brief pause

* added api listener method

* fixed syntax

* further edited syntax

* slightly changed syntax

* added brief pause before listener reactivation

* changed ordering

* testing method

* further tests

* test test test

* logger

* further logger

* altered logic

* i really need to fork

* more debug

* changed boolean logic

* more debug

* fixed it??

* added brief pause again

* final commit

* test

* test

* fixed it

* sleep

* more testing

* stuff

* added constants:

* pep8
2016-06-22 14:36:56 -05:00
Ethan Ward 9cefb4ee5f Issues 187 - Make Wolfram default to pod 2 (#188)
* Issues 187 - Make Wolfram default to pod 2

* Issues 187 - Add tests

* Issues 187 - Add decimal truncating back

* Issues 187 - Rename method

* Issues 187 - Minor bugfix
2016-06-21 16:16:28 -04:00
Ethan Ward 2a2d3044c7 Issues 86 - Fix wording 2016-06-21 14:44:27 -05:00
Ethan Ward ac7fb50de9 Issues 86 - Add additional dialog and vocab 2016-06-21 14:44:27 -05:00
Ethan Ward a39bfce789 Issues 86 - Add personal tests 2016-06-21 14:44:27 -05:00
Ethan Ward 342e8b2e37 Issues 86 - Add personal vocab 2016-06-21 14:44:27 -05:00
Ethan Ward b19f2022c9 Issues 86 - Add personal vocab 2016-06-21 14:44:27 -05:00
Ethan Ward 6dcf5a6f0b Issues 86 - Add personal skill 2016-06-21 14:44:27 -05:00
Matthew Scholefield 7bcdea6604 Added back wakeword handler 2016-06-21 12:26:27 -05:00
Matthew Scholefield e759c8ab33 Added back some SessionManager lines to replicate old behavior more precisely
I'm not quiet sure where the session_id was ever used when emitted in the payload however just to be safe I kept it in there. This is to be sure there are no differences between the old and new listener that could be causing Cerberus problems.
2016-06-21 12:15:58 -05:00
Matthew Scholefield d9905a2d07 Removed unnecessary variable in ResponsiveRecognizer
This was left over from when I was testing with making the class be asynchronous
2016-06-21 11:54:41 -05:00
Ryan Sipes cc07330eaa Merge pull request #197 from ethanaward/feature/issues-180
Issues 180 - Add stock skill
2016-06-20 17:14:26 -05:00
Ethan Ward decd04f626 Issues 198 - fix pairing skill 2016-06-20 16:52:05 -05:00
Ethan Ward a069b6ec1e Issues 180 - Add stock skill 2016-06-20 16:25:42 -05:00
the7erm 11726d7d67 #131 added if for situations where the host is empty (#132)
* #131 added if for situations where the host is empty

* #132 modified mycroft.ini file and added exception.

* #132 modified mycroft.ini file and added exception.

* #132 removed comment

* #131 changed to ValueError, and added checks for ssl, port, host and path

* #131 changed to ValueError, and added checks for ssl, port, host and path

* #131 reverted utils - went another route

* #131 added empty string for ssl detection

* #131 created validate_param

* #131 pep8

* #131 oops missed route
2016-06-20 15:44:42 -04:00
Ethan Ward 77c35eb326 Issues 145 - Add localized naptime dialog (#183)
* Issues 145 - Add dialog file

* Issues 145 - Make naptime skill use dialog files
2016-06-20 14:48:06 -04:00
Eugene R. Miller 4f6b2abb9e #161 removed print that wasn't needed 2016-06-18 13:02:25 -06:00
Eugene R. Miller fbdf3b6e79 #161 refactored user dir 2016-06-18 13:02:25 -06:00
Ryan Sipes 159ece558d Revert "Revert "Listener improvements (Fixes #128)"" 2016-06-18 14:00:07 -05:00
Ryan Sipes 32ce7a492f Revert "Listener improvements (Fixes #128)" 2016-06-18 13:21:21 -05:00
Ryan Sipes 0394bfa01e Merge pull request #172 from Wolfgange3311999/feature/issues-128
Listener improvements (Fixes #128)
2016-06-18 12:19:18 -05:00
Wolfgange3311999 379e5361c5 Fixedbug causing remote STT to fail
It turns out that without giving the keyword 'metrics=' in the metrics argument, something strange would happen causing all remote STT to fail
2016-06-18 10:43:57 -05:00
Matthew D. Scholefield 5df1e5e59b Removed extra import from previous commit 2016-06-17 22:13:26 -05:00
Wolfgange3311999 99d125640a Added a timeout of 30 seconds for recording a phrase 2016-06-17 21:05:28 -05:00
Wolfgange3311999 153cd62abd Changed to using += operator
Previously I thought bytearrays were immutable for some reason (which is not the case)
2016-06-17 20:55:01 -05:00
Jonathan D'Orleans e010499302 Audio Record Skill - Remove unexpected arg during stop() call 2016-06-17 19:06:06 -04:00
Matthew Scholefield 596ea04078 Fixed try_wake_up method 2016-06-17 17:41:01 -05:00
Matthew Scholefield d0cbddc961 Removed unused variable 2016-06-17 17:10:47 -05:00
Wolfgange3311999 b1900c3d81 Rewrote listener 2016-06-17 16:50:41 -05:00
isaacnward 3870e3c9c7 Features/encoder volume (#157)
* added volume control in enclosure.py

* fixed syntax for skill method usage

* addressing a problem with the enclosure service

* trying to use intents

* oops

* fixed pep8

* fixed issue with reversed volume controls

* changed enclosure version number to reflect updated enclosure code
2016-06-17 17:27:09 -04:00
aatchison 47db142980 Merge branch 'master' into issue/flitevox-voice-path 2016-06-17 16:13:39 -05:00
Ethan Ward 8215deaa89 Issues 160 - fix IP formatting 2016-06-17 15:47:55 -05:00
Arron Atchison 0eda59dd9e ok, this works, but not for packaging
I have another approach to try.
2016-06-17 15:06:31 -05:00
aatchison 8ad51a758b removed '.' from mimic voice path 2016-06-17 14:48:04 -05:00
aatchison 2224c95cef Merge pull request #167 from MycroftAI/feature/include-new-voice
Alan Pope voice runs by default, no idea what will happen when I pack…
2016-06-17 14:21:46 -05:00
aatchison 4068636005 Alan Pope voice runs by default, no idea what will happen when I package it 2016-06-17 13:20:11 -05:00
aatchison f319fb37c4 Revert "custom skills #161" 2016-06-17 11:40:21 -05:00
aatchison da04e5a70d Merge pull request #163 from the7erm/feature/issue-161
custom skills #161
2016-06-17 11:27:38 -05:00
Eugene R. Miller e1eedc0908 #161 fixed pep8 2016-06-17 09:50:14 -06:00
Ethan Ward c7f1c81e37 Issue 150 - Add unit tests 2016-06-17 09:44:51 -05:00
Eugene R. Miller 694377faf6 #161 oops fixed typo 2016-06-17 07:47:53 -06:00
Eugene R. Miller 80c8a451f2 #161 fixed pep8 issue and a few typos 2016-06-17 03:07:28 -06:00
Eugene R. Miller f70dc129aa #161 imported proper value 2016-06-17 03:06:51 -06:00
Eugene R. Miller 520c28bae2 #161 fixed pep8 issue 2016-06-17 03:05:22 -06:00
Eugene R. Miller 6efd787945 #161 added custom skills 2016-06-17 03:03:11 -06:00
Ethan Ward 740f35fa60 Issues 150 - Update for pep8 2016-06-15 17:16:22 -05:00
Ethan Ward 6d364c2e1a Issues 150 - Update WA skill output formatting 2016-06-15 17:11:07 -05:00
Ethan Ward 78b917a71f Issues 63 - Ensuring pod.id usage in place of pod.title (#141) 2016-06-14 18:07:24 -04:00
Ethan Ward 30a00d72ca Issues 63 - Add more cases where Wolfram responds (#124)
* Issues 63 - Move result to own method

* Issues 63 - Add first test

* Issues 63 - Update syntax

* Issues 63 - Update syntax

* Issues 63 - Move test file

* Issues 63 - Make __find_value method more consistent

* Issues 63 - Add more extensive tests

* Issues 63 - Comply with pep8 formatting

* Issues 63 - Update test file for pep8

* Issues 63 - Refactor code to reduce size

* Issues 63 - Update for pep8
2016-06-10 17:16:26 -04:00
Ethan Ward 9aca0aec36 Issues 94 - Add remaining intent unit tests (#129)
* Issues 94 - Add Cerberus config intent tests

* Issues 94 - Add tests for pairing skill

* Issues 94 - Add intent tests for stop skill
2016-06-10 16:35:27 -04:00
Jonathan D'Orleans fa5893cddb Issues 96 - Configuration
- Raising exception for invalid configuration
- Adding more unit tests
2016-06-09 18:27:04 -04:00
Jonathan D'Orleans 6b5092c4c8 Issues 96 - Configuration
- Checking RemoteConfiguration config type
- Returning config for convenience
2016-06-09 18:26:20 -04:00
Jonathan D'Orleans e75d51b296 Issues 96 - Adding ConfigurationLoaderTest 2016-06-09 18:26:20 -04:00
Jonathan D'Orleans c46bc43e72 Issues 96 - Moving configuration to init 2016-06-09 18:26:10 -04:00
Jonathan D'Orleans 24232a6b5b Issues 96 - Ensuring ConfigurationManager use instead of RemoteConfiguration 2016-06-09 18:25:50 -04:00
Jonathan D'Orleans efff3dbda6 Issues 96 - Renaming get_config to get only 2016-06-09 18:25:37 -04:00
Jonathan D'Orleans 781c49ecb9 Issues 96 - Loading configuration from args in Skill Container 2016-06-09 18:25:37 -04:00
Ethan Ward d856b11de9 Issues 71 - Clean up unit test output (#95)
* Issues 71 - Update __init__.py to use MycroftSkill variable

* Issues 71 - Update to comply with pep8
2016-06-08 23:33:20 -04:00
Ethan Ward 99a736f04f Issues 94 - Add intent unit tests for most skills (#120)
* Issues 94 - Add unit tests for date/time skill

* Issues 94 - Update desktop launcher intent syntax

* Issues 94 - Add intent tests for desktop launcher skill

* Issues 94 - Add unit tests to Joke skill

* Issues 94 - Add unit tests to naptime skill

* Issues 94 - Add unit tests for spelling skill

* Issues 94 - Remove application-based desktop unit tests
2016-06-08 23:12:02 -04:00
Ethan Ward 5ac4d5c572 Issues 86 - Create tests for Hello World skill 2016-06-07 11:52:13 -05:00
Ethan Ward 1ebeb41ef2 Issues 86 - Fix formatting for pep8 2016-06-07 11:15:47 -05:00
Ethan Ward 61d5ca377e Issues 86 - Rename Welcome to Hello World 2016-06-07 11:09:48 -05:00
Sean Fitzgerald 414b7127e8 Merge pull request #106 from the7erm/feature/issue-89
Feature/issue 89
2016-06-06 23:29:59 -07:00
Eugene R. Miller 843b47fad6 #89 removed randomint() 2016-06-06 16:54:17 -06:00
Eugene R. Miller 9b0715117d #89 oops removed extra files and made 1 file. Sorry I'm new 2016-06-06 16:16:53 -06:00
Eugene R. Miller 743517c261 #89 made the list dynamic so it's future proof - when other languages come into play 2016-06-06 16:00:36 -06:00
Eugene R. Miller a2324352a7 #89 added adittional dialogs for response to 'thanks' 2016-06-06 15:48:16 -06:00
Ryan Sipes 171f811dea Merge pull request #104 from wligtenberg/news-skill-stop
it is nice if the news skill responds with audio to the stop command
2016-06-06 12:55:05 -05:00
wligtenberg 15d78b206c it is nice if the news skill responds with audio to the stop command 2016-06-05 21:42:43 +02:00
Jonathan D'Orleans c3e2a25630 Issues 58 - Fixing Cerberus URL pronunciation
- Ensuring "dot" is spoken for Cerberus URL
- Fixing "AI" pause
2016-06-02 21:17:25 -04:00
Jonathan D'Orleans 2698e14f72 Issues 61 - Adjusting silence threshold
- Prevent short words commands such as 'stop' and 'record' to be ignored
 - Adding unit tests for the new silence threshold
2016-06-02 19:31:29 -04:00
Jonathan D'Orleans 2dc3f854a7 Issues 54 - Removing 'Pairing code' msg from text 2016-06-02 19:30:11 -04:00
Jonathan D'Orleans 45d4026eb8 Issues 54 - Fixing enclosure pep8 issues 2016-06-02 19:30:11 -04:00
Jonathan D'Orleans 57bb62a629 Issues 54 - Displaying pairing code
- Ensuring displaying state is reset
2016-06-02 19:30:11 -04:00
Jonathan D'Orleans 27b1e2b22c Issues 54 - Displaying pairing code only once 2016-06-02 19:30:11 -04:00
Jonathan D'Orleans bd1888c642 Issues 54 - Displaying pairing code
- Ensuring Enclosure do not affect unit display state until paired
2016-06-02 19:30:11 -04:00
Jonathan D'Orleans c22861114e Issues 54 - Displaying pairing code
- Ensuring pairing code is sent to the device after speaking
2016-06-02 19:30:11 -04:00
Jonathan D'Orleans df8f9a7344 Issues-54 - Displaying pairing code
- Ensuring pairing code is displayed after mycroft speaks
2016-06-02 19:30:11 -04:00
Ethan Ward d4d6f8f57f Issues 86 - Add changed vocab file 2016-06-02 17:18:12 -05:00
Ethan Ward 6c5d299e59 Issues 86 - Comply with pep8 standards 2016-06-02 17:01:58 -05:00
Ethan Ward 4ed518ad99 Issues 86 - Add 'thanks' to vocab 2016-06-02 16:23:53 -05:00
Ethan Ward 9d8785588e Issues 86 - Fix formattting 2016-06-02 16:20:23 -05:00
Ethan Ward f81e135941 Issues 86 - Create welcome skill 2016-06-02 16:07:14 -05:00
Ethan Ward a75c5ca26b Issues 86 - Add basics of welcome skill 2016-06-02 15:38:05 -05:00
Ethan Ward 4d6defd126 Issues 76 - Add 'what does wikipedia say about' and remove 'who is/was' in wiki vocab file' 2016-06-01 13:03:24 -05:00
Ethan Ward 3518334b6b Issues 76 - Add 'what does wikipedia say about' and remove 'who is/was' as prefixes 2016-06-01 13:02:38 -05:00
Jonathan D'Orleans 9f713879b0 Issues 64 - Removing undesirable thread from speak function 2016-05-31 20:45:41 -04:00
Sean Fitzgerald 745d4920e1 More gracefully handle unexpected errors in listener, unit test mock class shouldn't generate unexpected errors. 2016-05-28 14:28:12 -07:00
Jonathan D'Orleans 2452c74abd Issues 55 - Stopping skills by voice command 2016-05-27 18:44:04 -04:00
Ryan Sipes 4748a262ef Updated Time Between Alarm and Message
Updated Time between the alarm and the message informing users how to turn off the alarm to avoid Mycroft "stepping on" the alarm.
2016-05-27 13:26:04 -05:00
Ryan Sipes 55dd0260d8 Stop Alarm Dialog Updated
In testing Mycroft very seldom understands "stop alarm" and "end alarm"  so I have removed them from the stop dialog in order to ensure Mycroft advises users as to the best way to disarm an alarm.
2016-05-27 13:24:57 -05:00
Ryan Sipes 93dad37b81 Fix to Alarm Distortion
Tested with new alarm, it sounded distorted. Looked at implementation of other sounds (news skill), and decided to try with MP3. Changed to using MP3 instead. Everything works properly now, tested on multiple devices.
2016-05-27 12:48:37 -05:00
Ryan Sipes fd1f32e076 Pyflakes fixes
Rebased on master, and fixed all Pyflakes (specifically the pocketsphinx import being to liberal in local_recognizer.
2016-05-27 11:49:22 -05:00
Ryan Sipes fac834cf4a Merge remote-tracking branch 'refs/remotes/origin/master'
Conflicts:
	mycroft/client/speech/listener.py
	mycroft/client/speech/wakeword_recognizer.py
2016-05-27 11:40:24 -05:00
Jonathan D'Orleans 1fdeb65d1b Issues 14 - Listener Improvements
- Adding headers
2016-05-26 16:55:40 -04:00
Ryan Sipes 1d3e3f7cb4 Moved Debug
Moved Debug to post only in the event of an error.
2016-05-26 15:28:59 -05:00
Ryan Sipes ffb088ef7b Fixed Pyflakes errors
Fixed Pyflakes errors, had to add exceptions and debugs. May need further work.
2016-05-26 15:28:28 -05:00
Jonathan D'Orleans 08d07360da Issues 14 - Listener Improvements
- Renaming methods name to convey more meaning
- Renaming variable names to disambiguate
- Adding description for word extractor test
2016-05-26 16:21:44 -04:00
Jonathan D'Orleans a8df44199a Issues 14 - Fixing PEP8 line break at 79 2016-05-26 16:21:44 -04:00
Jonathan D'Orleans f63cd5b78e Issues 14 - Fixing PEP8 line break at 80 2016-05-26 16:21:44 -04:00
Jonathan D'Orleans 406e5dcdcd Issues 14 - Fixing PEP8 line break at 80 2016-05-26 16:21:44 -04:00
Jonathan D'Orleans a7361ba14a Issues 14 - Listener Improvements
- Fixing audio test type
2016-05-26 16:21:43 -04:00
Jonathan D'Orleans d947a8ec98 Issues 14 - Listener Improvements
- Word extractor refactoring
2016-05-26 16:21:43 -04:00
Jonathan D'Orleans b9a34a03b5 Issues 14 - Listener Improvements
1. To prevent many of the listener "dead state" (avoiding unwanted exceptions to break the loop)
2. Wake up must work for both "mycroft wake up" and "wake up mycroft"
3. To ensure "mycroft" keyword is always detected when it exists
4. To rely on "mycroft" instead of "hey mycroft"
5. To process "ok", "okay" and "allright" as part of the wake word detection
Some of the possible test cases:

1. wake up mycroft with: "mycroft wake up" and "wake up mycroft"
- it must wake up no matter the position of the "wake up" keyword
- it must always say it's awake at the first time (before, it'd only say it the second time you try to wake up)

2. try "okay mycroft, what's the weather in lawrence" and similar requests with "alright"
- this ensures we ignore "okay" and "alright" on the sentence

3. "mycroft" keyword should be detected as much as possible even if the sentence does not trigger a real skill/action
- that means the wake word detection is working

4. try all of those from close distance to the unit
- this ensures the changes are working

5. try all of those from a far distance to the unit
- to test the auto gain mic (for those who have one)
2016-05-26 16:21:43 -04:00
Ryan Sipes bdcd8582aa Merge pull request #59 from MycroftAI/bugfix/issues-3-fix
Fixed Missing License Headers on All Files.
2016-05-26 13:19:53 -05:00
Ryan Sipes f8de5b92f5 Found and Fixed Remaining PEP8 Issue
Troubleshot with wrong file. Everything now meets the PEP8 standard.
2016-05-26 12:25:56 -05:00
Ryan Sipes 40b5cf0da9 Formatting Fix in Pairing Skill
Blank line at end of file removed.
2016-05-26 11:41:40 -05:00
Ryan Sipes 9c82f21f1a Rebase, and Fix PEP8 Errors
Fixed PEP8 errors in Weather Skill and Pairing skill. also rebased
2016-05-26 11:32:24 -05:00
aatchison 15c448ce40 Merge pull request #47 from forslund/bugfix/issue-46
Add skill directory to path.
2016-05-26 11:20:58 -05:00
Ryan Sipes 8f2c451938 Fixed Missing License Headers on All Files.
GPL LIcense added to the top of each python file.
2016-05-26 11:16:13 -05:00
Arron Atchison 5e8363cfc2 WIP: removing two unused imports. 2016-05-25 09:27:18 -05:00
Åke Forslund c12f2be742 Move new path append together with previous path append. 2016-05-25 08:32:36 +02:00
Åke Forslund 70d42133e8 Add skill directory to path. 2016-05-25 07:41:22 +02:00
Arron Atchison 3f1bb15256 added a blank line to satisfy travis 2016-05-23 17:38:18 -05:00
Arron Atchison c69832f63d removed two unused imports from OWM skill 2016-05-23 17:23:14 -05:00
Ryan Sipes f460cc80d0 Updated Alarm Sound
Donated under Creative Commons by Dana Brett Harris
2016-05-23 15:52:27 -05:00
Arron Atchison e781fc1be9 Use mimic as default TTS, updated mycroft/configuration/default.ini 2016-05-23 15:05:20 -05:00
Leo Arias d618676089 Issues-4 - Fix pep8 errors. 2016-05-23 17:23:47 +00:00
Jonathan D'Orleans 4ab3b39979 Issues 1 - Wolfram Alpha Skill Not Responding
- Using decoded content from response
2016-05-20 15:40:51 -04:00
Arron Atchison 6e42bb1736 In the 1970s computer users had to understand the arcane syntax of the machines they used. They programed their computers using the machine's native language and hardly gave it a thought.
The 1980s birthed a new form of interaction between computers and users.  For the first time computers became capable of understanding the most basic form of human communication - pointing and grunting.  The mouse and the GUI revolutionized computing and made computers accessible to the masses.

We have now entered a third era.  We are rapidly approaching a time when computer systems will understand human language and respond using the most natural form of human communication – speech.

This is an important development.  Some might even call it revolutionary.

Despite its importance, however, the technologies that will underpin this new method of interaction are the property of major tech firms who don't necessarily have the public's best interests at heart.

Not anymore.

Meet Mycroft – the worlds first open source natural language platform.  Mycroft understands human language and responds with speech.  It is being designed to run on anything from a phone to an automobile and will change the way we interact with open source technologies in profound ways.

Our goal here at Mycroft is to improve this technology to the point that when you interact with the software it is impossible to tell if you are talking to a human or a machine.

This initial release of the Mycroft software represents a significant effort by the Mycroft community to give the open source world access to this important technology.  We are all hoping that the software will be useful to the public and will help to usher in a new era of human machine interaction.

Our community welcomes everyone to use Mycroft, improve the software and contribute back to the project.  With your help and support we can truly make Mycroft an AI for everyone.

Joshua W Montgomery – May 17, 2016
2016-05-20 09:16:01 -05:00