1
0
mirror of https://github.com/aidygus/LinVAM.git synced 2024-11-26 10:38:06 +11:00
This commit is contained in:
smirgol 2020-06-17 01:01:27 +02:00
commit df8f844f4e
3 changed files with 4 additions and 4 deletions

View File

@ -77,5 +77,5 @@ If you own a HCS voicepack, copy the whole voicepack folder (like 'hcspack', 'hc
/voicepacks/hcspack/... /voicepacks/hcspack/...
### Improve voice recognition accuracy ### Improve voice recognition accuracy
Please see this ressource on how to train the acoustic model of pocketsphinx to match your voice: Please see this resource on how to train the acoustic model of pocketsphinx to match your voice:
https://cmusphinx.github.io/wiki/tutorialadapt/ https://cmusphinx.github.io/wiki/tutorialadapt/

View File

@ -306,8 +306,8 @@ class MainWnd(QWidget):
try: try:
args = shlex.split('xdotool search --name "\(CLIENT\)"') args = shlex.split('xdotool search --name "\(CLIENT\)"')
window_id = str(subprocess.check_output(args)) window_id = str(subprocess.check_output(args))
window_id = window_id.replace('b\'', ''); window_id = window_id.replace('b\'', '')
window_id = window_id.replace('\\n\'',''); window_id = window_id.replace('\\n\'','')
except subprocess.CalledProcessError: except subprocess.CalledProcessError:
window_id = None window_id = None
pass pass

View File

@ -30,7 +30,7 @@ class Ui_MainWidget(object):
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem) self.horizontalLayout_2.addItem(spacerItem)
self.groupBox = QtWidgets.QGroupBox(MainWidget) self.groupBox = QtWidgets.QGroupBox(MainWidget)
self.groupBox.setMinimumSize(QtCore.QSize(200, 0)) self.groupBox.setMinimumSize(QtCore.QSize(200, 42))
self.groupBox.setAlignment(QtCore.Qt.AlignCenter) self.groupBox.setAlignment(QtCore.Qt.AlignCenter)
self.groupBox.setObjectName("groupBox") self.groupBox.setObjectName("groupBox")
self.sliderVolume = QtWidgets.QSlider(self.groupBox) self.sliderVolume = QtWidgets.QSlider(self.groupBox)