Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Commit

Permalink
Handle numeric duration stretch
Browse files Browse the repository at this point in the history
  • Loading branch information
forslund committed Sep 14, 2020
1 parent f40c9cc commit 37e0358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mycroft/tts/mimic_tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def args(self):

stretch = self.config.get('duration_stretch', None)
if stretch:
args += ['--setf', 'duration_stretch=' + stretch]
args += ['--setf', 'duration_stretch={}'.format(stretch)]
return args

def get_tts(self, sentence, wav_file):
Expand Down

0 comments on commit 37e0358

Please sign in to comment.