1
0
mirror of https://github.com/aidygus/LinVAM.git synced 2024-11-23 01:08:06 +11:00

fixed semicolons in main, and type in readme, centered volume slider

This commit is contained in:
flintparrell 2020-05-22 08:11:13 -07:00
parent 7b4ae4d3e7
commit 85b8445a2c
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)