import sys  
sys.path = ['', '..'] + sys.path[1:]

import daemon
from assistance_bot import core
from functionality.voice_processing import speaking, listening
from functionality.commands import *

if __name__ == '__main__':
    speaking.setup_assistant_voice(core.ttsEngine, core.assistant)
    while True:
        # start speech recording and speech recognition
        recognized_speech = listening.get_listening_and_recognition_result(
            core.recognizer,
            core.microphone)
        # executing the given command
        execute_command(recognized_speech)

[(10, 'functionality.voice_processing.speaking.setup_assistant_voice', 'speaking.setup_assistant_voice', False, 'from functionality.voice_processing import speaking, listening\n'), (13, 'functionality.voice_processing.listening.get_listening_and_recognition_result', 'listening.get_listening_and_recognition_result', False, 'from functionality.voice_processing import speaking, listening\n')]