diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-27 13:38:21 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-27 13:38:21 +0200 |
| commit | 16905e89b0e0d15f86df4cdf6536a396e06c49e6 (patch) | |
| tree | 759894d39e631f83e657e02f19dd25ff9db9768c /client/musicmode.py | |
| parent | 9c99faa2a5b25eba9fbb27e344afab3d9f6f12b0 (diff) | |
| parent | 434e94f0f3bfc0e57b4e2120f6fb5522dd0ed229 (diff) | |
| download | jasper-client-16905e89b0e0d15f86df4cdf6536a396e06c49e6.tar.gz jasper-client-16905e89b0e0d15f86df4cdf6536a396e06c49e6.zip | |
Merge pull request #155 from Holzhaus/new-speakers
Cleanup client.speaker and add additional tts speakers
Diffstat (limited to 'client/musicmode.py')
| -rw-r--r-- | client/musicmode.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/musicmode.py b/client/musicmode.py index 334f94c..900c4f1 100644 --- a/client/musicmode.py +++ b/client/musicmode.py @@ -7,7 +7,6 @@ import os from mic import Mic import g2p from music import * -import speaker import stt @@ -42,7 +41,7 @@ class MusicMode: # create a new mic with the new music models self.mic = Mic( - speaker.newSpeaker(), + mic.speaker, stt.PocketSphinxSTT(lmd_music="languagemodel_spotify.lm", dictd_music="dictionary_spotify.dic"), stt.PocketSphinxSTT(lmd_music="languagemodel_spotify.lm", dictd_music="dictionary_spotify.dic") ) |
