1
0
mirror of https://github.com/aidygus/LinVAM.git synced 2024-11-23 09:18:04 +11:00

Merge pull request #1 from flintparrell/master

Removed semicolons in main, typo in readme, centered volume slider
This commit is contained in:
smirgol 2020-06-17 00:13:30 +02:00 committed by GitHub
commit 550c2def0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)