Skip to content

Commit

Permalink
Documentation; include expression & preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
Stan authored and Stan committed Jan 16, 2017
1 parent 95fb68f commit c4bb75b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/opsoro/expression.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
"""
This module defines the interface for communicating with the expression.
.. autoclass:: _Expression
:members:
:undoc-members:
:show-inheritance:
"""

from __future__ import with_statement

import math
Expand Down
9 changes: 9 additions & 0 deletions src/opsoro/preferences.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
"""
This module defines the interface for communicating with the settings of the robot.
.. autoclass:: _Preferences
:members:
:undoc-members:
:show-inheritance:
"""

from __future__ import division
from __future__ import with_statement

Expand Down
3 changes: 3 additions & 0 deletions src/opsoro/sound/tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@

class _TTS(object):
def __init__(self):
"""
TTS class, used to convert text to speech.
"""
self.engine = "espeak" # "espeak"
self.language = "nl"
self.gender = "f" # "m"
Expand Down

0 comments on commit c4bb75b

Please sign in to comment.