Format volume playback param
This commit is contained in:
parent
ab60d7a1cf
commit
a264ceee51
1 changed files with 1 additions and 0 deletions
|
@ -1823,6 +1823,7 @@ class Story(object):
|
||||||
|
|
||||||
params = message.getParams().copy()
|
params = message.getParams().copy()
|
||||||
params['vol'] = params['vol'] * self.configuration.volume if 'vol' in params else self.configuration.volume
|
params['vol'] = params['vol'] * self.configuration.volume if 'vol' in params else self.configuration.volume
|
||||||
|
params['vol'] = "{:.4f}".format(params['vol'])
|
||||||
|
|
||||||
# self.hugvey.google.pause() # pause STT to avoid text events while decision is made
|
# self.hugvey.google.pause() # pause STT to avoid text events while decision is made
|
||||||
self.hugvey.sendCommand({
|
self.hugvey.sendCommand({
|
||||||
|
|
Loading…
Reference in a new issue