Browse Source

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

pull/3/head^2^2
flintparrell 1 year ago
parent
commit
85b8445a2c
  1. 2
      README.md
  2. 4
      main.py
  3. 2
      ui_mainwnd.py

2
README.md

@ -77,5 +77,5 @@ If you own a HCS voicepack, copy the whole voicepack folder (like 'hcspack', 'hc
/voicepacks/hcspack/...
### 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/

4
main.py

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

2
ui_mainwnd.py

@ -30,7 +30,7 @@ class Ui_MainWidget(object):
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem)
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.setObjectName("groupBox")
self.sliderVolume = QtWidgets.QSlider(self.groupBox)

Loading…
Cancel
Save